Function at 0x4185f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5bb204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
movzx eax, word [eax + 0x2e8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
test ax, ax
je 0x418a7b
push edi
push eax
call fcn.0047dfb0
mov edi, eax
add esp, 4
mov dword [ebp - 0xfc], edi
test edi, edi
je 0x418a7a
call fcn.00487b40
movzx ecx, word [ebx + 0x4d0]
push ecx
call fcn.00487b90
movzx edx, word [ebx + 0x54a]
push edx
call fcn.00487b90
movzx eax, word [ebx + 0x5c4]
push eax
call fcn.00487b90
movzx ecx, word [ebx + 0x63e]
push ecx
call fcn.00487b90
movzx edx, word [ebx + 0x6b8]
push edx
call fcn.00487b90
movzx eax, word [ebx + 0x732]
push eax
call fcn.00487b90
movzx ecx, word [ebx + 0x7ac]
push ecx
call fcn.00487b90
movzx edx, word [ebx + 0x826]
push edx
call fcn.00487b90
movzx eax, word [ebx + 0x8a0]
push eax
call fcn.00487b90
movzx ecx, word [ebx + 0x91a]
push ecx
call fcn.00487b90
movzx edx, word [ebx + 0x994]
push edx
call fcn.00487b90
add esp, 0x2c
cmp byte [esi], 0
je 0x4186f7
lea edi, [esi - 1]
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4186e0
mov ax, word [0x59c7f8]
mov word [edi], ax
mov edi, dword [ebp - 0xfc]
mov dword [ebp - 0xf4], 0
call fcn.00487b30
mov dword [ebp - 0x100], eax
test eax, eax
je 0x41884a
xor ecx, ecx
test eax, eax
jle 0x41884a
mov edi, edi
lea eax, [ecx + 1]
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x104]
push edx
push eax
mov dword [ebp - 0x10c], eax
call fcn.00487c50
mov eax, dword [ebp - 0x108]
movzx ecx, word [eax + 0x2e8]
add esp, 0xc
cmp dword [ebp - 0x104], ecx
jne 0x418838
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf4], eax
cmp eax, 2
jl 0x418838
movzx ecx, word [edi + 6]
cmp eax, ecx
jle 0x418784
mov eax, ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
test byte [ebp + 8], 1
je 0x418838
cmp eax, 2
jl 0x418838
movzx ecx, word [edi + eax*2 + 0x1a]
test ecx, ecx
je 0x4187b9
push ecx
call fcn.0047ecb0
add esp, 4
mov dword [ebp - 0x110], eax
test eax, eax
jne 0x4187c7
mov eax, dword [ebp - 0xf8]
dec eax
mov dword [ebp - 0xf8], eax
cmp eax, 2
jge 0x418797
jmp 0x418838
push 0xea
lea edx, [ebp - 0xf0]
push 0
push edx
call fcn.00549550
add esp, 0xc
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4187e0
mov cx, word [0x59cc4c]
mov word [eax], cx
mov dl, byte [0x59cc4e]
push 0
push 0
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x110]
push 0
push 0xf
add eax, 4
push eax
lea ecx, [ebp - 0xf0]
push ecx
push esi
call fcn.00417730
add esp, 0x1c
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418820
mov dx, word [0x59c7f8]
mov word [edi], dx
mov edi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [ebp - 0x100]
jl 0x418720
cmp byte [esi], 0
je 0x418869
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418852
mov ax, word [0x59c7f8]
mov word [edi], ax
mov edi, dword [ebp - 0xfc]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418870
movzx ecx, word [edi + 6]
sub eax, edx
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x100], eax
movzx eax, word [edi + 4]
push ecx
push edx
push eax
call fcn.004856b0
mov ecx, dword [ebp - 0x100]
add esp, 4
push eax
add ecx, esi
push str._6_s__d__d__1
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
movzx edx, word [ebx + 0x4d0]
movzx eax, word [ebx + 0x54a]
movzx ecx, word [edi + 8]
push edx
push eax
push ecx
push esi
call fcn.00412190
movzx edx, word [ebx + 0x4d0]
movzx eax, word [ebx + 0x54a]
movzx ecx, word [edi + 0xc]
push edx
push eax
push ecx
push esi
call fcn.00412190
movzx edx, word [ebx + 0x7ac]
movzx eax, word [ebx + 0x732]
movzx ecx, word [edi + 0x18]
push edx
push eax
push ecx
push esi
call fcn.00412190
movzx edx, word [ebx + 0x7ac]
movzx eax, word [ebx + 0x732]
movzx ecx, word [edi + 0x1a]
add esp, 0x44
push edx
push eax
push ecx
push esi
call fcn.00412190
movzx edx, word [ebx + 0x5c4]
movzx eax, word [edi + 0xa]
push 0
push edx
push eax
push esi
call fcn.00412190
movzx ecx, word [ebx + 0x8a0]
movzx edx, word [edi + 0xe]
push 0
push ecx
push edx
push esi
call fcn.00412190
movzx eax, word [ebx + 0x91a]
movzx ecx, word [edi + 0x10]
push 0
push eax
push ecx
push esi
call fcn.00412190
movzx edx, word [ebx + 0x826]
movzx eax, word [edi + 0x12]
add esp, 0x40
push 0
push edx
push eax
push esi
call fcn.00412190
movzx ecx, word [ebx + 0x63e]
push 0
push ecx
movzx edx, word [edi + 0x14]
push edx
push esi
call fcn.00412190
movzx eax, word [ebx + 0x6b8]
movzx ecx, word [edi + 0x16]
push 0
push eax
push ecx
push esi
call fcn.00412190
movzx edx, word [ebx + 0x994]
movzx eax, word [edi + 0x1c]
push 0
push edx
push eax
push esi
call fcn.00412190
add esp, 0x40
test byte [ebp + 8], 1
jne 0x418a7a
movzx eax, word [edi + 6]
cmp dword [ebp - 0xf4], eax
jge 0x418a7a
movzx ecx, word [edi + eax*2 + 0x1a]
push ecx
call fcn.0047ecb0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418a7a
lea edi, [esi - 1]
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4189f0
mov dx, word [0x59c7f8]
mov eax, esi
mov word [edi], dx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418a07
sub eax, edx
push 0x5f3e
lea edi, [esi + eax]
call fcn.004856b0
push eax
push str._1_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
push 0xea
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.00549550
add esp, 0x1c
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x418a43
mov cx, word [0x59cc50]
push 0
push 0
mov word [eax], cx
mov dl, byte [0x59cc52]
push 0
push 0xf
mov byte [eax + 2], dl
add ebx, 4
push ebx
lea eax, [ebp - 0xf0]
push eax
push esi
call fcn.00417730
add esp, 0x1c
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00549540
mov esp, ebp
pop ebp
ret