Function at 0x418479
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x64], 0x18
mov eax, dword [ebp - 0x64]
mov eax, dword fs:[eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
add edx, 0x34c
mov dword [esp], edx
call eax
sub esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x40]
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
lea edx, [eax + 0x18]
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x14]
movzx eax, ax
add eax, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xc], 0
jmp 0x41855f
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
add eax, 0x344
mov eax, dword [eax]
cmp edx, eax
jne 0x41855b
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x40]
add eax, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax + 8]
shr eax, 2
mov dword [ebp - 0x10], eax
jmp 0x41856e
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0xc]
ja 0x4184f9
mov dword [ebp - 0xc], 0
jmp 0x418621
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041840c
test eax, eax
je 0x418619
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
mov eax, dword [ebp - 0x3c]
lea ecx, [eax + 0x40]
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], ecx
call edx
sub esp, 0xc
test eax, eax
je 0x41861c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xd0]
mov eax, dword [ebp - 0x3c]
add eax, 0x40
mov dword [esp + 8], 1
mov dword [esp + 4], eax
lea eax, [ebp - 0x70]
mov dword [esp], eax
call edx
sub esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xe0]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call edx
sub esp, 8
mov dword [ebp - 0x20], 1
jmp 0x41862d
nop
jmp 0x41861d
nop
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jb 0x41857a
cmp dword [ebp - 0x20], 0
jne 0x41863d
mov eax, 0
jmp 0x418892
mov dword [ebp - 0xc], 0
jmp 0x4186ee
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041840c
test eax, eax
je 0x4186e6
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xcc]
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
lea eax, [ebp - 0x70]
mov dword [esp], eax
call edx
sub esp, 0xc
test eax, eax
je 0x4186e9
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xd0]
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
lea eax, [ebp - 0x70]
mov dword [esp], eax
call edx
sub esp, 0xc
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x14]
add edx, eax
mov dword [esp + 8], 8
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0041a133
jmp 0x4186fa
nop
jmp 0x4186ea
nop
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jb 0x418649
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x41887f
mov eax, dword [ebp + 8]
add eax, 0x36c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xc], 0
jmp 0x41877b
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x77
jne 0x418749
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x70
jne 0x41875f
mov dword [ebp - 0x30], 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x41879f
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x3b
je 0x41879f
cmp dword [ebp - 0xc], 0x7f
jbe 0x418733
cmp dword [ebp - 0xc], 0
je 0x418876
mov eax, dword [ebp - 0xc]
add eax, 1
add dword [ebp - 0x2c], eax
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
lea edx, [ebp - 0xf0]
mov dword [esp + 4], edx
mov dword [esp], eax
call ecx
sub esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x418870
cmp dword [ebp - 0x34], 0
je 0x41882f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], 0
je 0x41880b
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x41871c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x41871c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
mov dword [eax], edx
jmp 0x41871c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x30], 0
je 0x418849
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41871c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
test eax, eax
je 0x41871c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
jmp 0x41871c
nop
jmp 0x41871c
nop
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x418711
mov eax, 1
leave
ret