Function at 0x418620
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5c53dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10c], eax
movzx eax, word [eax + 0x2ec]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
test ax, ax
je 0x418aab
push edi
push eax
call fcn.0047eaa0
mov edi, eax
add esp, 4
mov dword [ebp - 0x100], edi
test edi, edi
je 0x418aaa
call fcn.00488520
movzx ecx, word [ebx + 0x52a]
push ecx
call fcn.00488570
movzx edx, word [ebx + 0x5a4]
push edx
call fcn.00488570
movzx eax, word [ebx + 0x61e]
push eax
call fcn.00488570
movzx ecx, word [ebx + 0x698]
push ecx
call fcn.00488570
movzx edx, word [ebx + 0x712]
push edx
call fcn.00488570
movzx eax, word [ebx + 0x78c]
push eax
call fcn.00488570
movzx ecx, word [ebx + 0x806]
push ecx
call fcn.00488570
movzx edx, word [ebx + 0x880]
push edx
call fcn.00488570
movzx eax, word [ebx + 0x8fa]
push eax
call fcn.00488570
movzx ecx, word [ebx + 0x974]
push ecx
call fcn.00488570
movzx edx, word [ebx + 0x9ee]
push edx
call fcn.00488570
add esp, 0x2c
cmp byte [esi], 0
je 0x418727
lea edi, [esi - 1]
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418710
mov ax, word [0x5a57f8]
mov word [edi], ax
mov edi, dword [ebp - 0x100]
mov dword [ebp - 0xf8], 0
call fcn.00488510
mov dword [ebp - 0x104], eax
test eax, eax
je 0x41887a
xor ecx, ecx
test eax, eax
jle 0x41887a
mov edi, edi
lea eax, [ecx + 1]
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x108]
push edx
push eax
mov dword [ebp - 0x110], eax
call fcn.00488630
mov eax, dword [ebp - 0x10c]
movzx ecx, word [eax + 0x2ec]
add esp, 0xc
cmp dword [ebp - 0x108], ecx
jne 0x418868
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
cmp eax, 2
jl 0x418868
movzx ecx, word [edi + 6]
cmp eax, ecx
jle 0x4187b4
mov eax, ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], ecx
test byte [ebp + 8], 1
je 0x418868
cmp eax, 2
jl 0x418868
movzx ecx, word [edi + eax*2 + 0x1a]
test ecx, ecx
je 0x4187e9
push ecx
call fcn.0047f7b0
add esp, 4
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x4187f7
mov eax, dword [ebp - 0xfc]
dec eax
mov dword [ebp - 0xfc], eax
cmp eax, 2
jge 0x4187c7
jmp 0x418868
push 0xee
lea edx, [ebp - 0xf4]
push 0
push edx
call fcn.00551e50
add esp, 0xc
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x418810
mov cx, word [0x5a5c44]
mov word [eax], cx
mov dl, byte [0x5a5c46]
push 0
push 0
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x114]
push 0
push 0xf
add eax, 4
push eax
lea ecx, [ebp - 0xf4]
push ecx
push esi
call fcn.00417670
add esp, 0x1c
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418850
mov dx, word [0x5a57f8]
mov word [edi], dx
mov edi, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [ebp - 0x104]
jl 0x418750
cmp byte [esi], 0
je 0x418899
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418882
mov ax, word [0x5a57f8]
mov word [edi], ax
mov edi, dword [ebp - 0x100]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4188a0
movzx ecx, word [edi + 6]
sub eax, edx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x104], eax
movzx eax, word [edi + 4]
push ecx
push edx
push eax
call fcn.00486120
mov ecx, dword [ebp - 0x104]
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 + 0x52a]
movzx eax, word [ebx + 0x5a4]
movzx ecx, word [edi + 8]
push edx
push eax
push ecx
push esi
call fcn.004120d0
movzx edx, word [ebx + 0x52a]
movzx eax, word [ebx + 0x5a4]
movzx ecx, word [edi + 0xc]
push edx
push eax
push ecx
push esi
call fcn.004120d0
movzx edx, word [ebx + 0x806]
movzx eax, word [ebx + 0x78c]
movzx ecx, word [edi + 0x18]
push edx
push eax
push ecx
push esi
call fcn.004120d0
movzx edx, word [ebx + 0x806]
movzx eax, word [ebx + 0x78c]
movzx ecx, word [edi + 0x1a]
add esp, 0x44
push edx
push eax
push ecx
push esi
call fcn.004120d0
movzx edx, word [ebx + 0x61e]
movzx eax, word [edi + 0xa]
push 0
push edx
push eax
push esi
call fcn.004120d0
movzx ecx, word [ebx + 0x8fa]
movzx edx, word [edi + 0xe]
push 0
push ecx
push edx
push esi
call fcn.004120d0
movzx eax, word [ebx + 0x974]
movzx ecx, word [edi + 0x10]
push 0
push eax
push ecx
push esi
call fcn.004120d0
movzx edx, word [ebx + 0x880]
movzx eax, word [edi + 0x12]
add esp, 0x40
push 0
push edx
push eax
push esi
call fcn.004120d0
movzx ecx, word [ebx + 0x698]
push 0
push ecx
movzx edx, word [edi + 0x14]
push edx
push esi
call fcn.004120d0
movzx eax, word [ebx + 0x712]
movzx ecx, word [edi + 0x16]
push 0
push eax
push ecx
push esi
call fcn.004120d0
movzx edx, word [ebx + 0x9ee]
movzx eax, word [edi + 0x1c]
push 0
push edx
push eax
push esi
call fcn.004120d0
add esp, 0x40
test byte [ebp + 8], 1
jne 0x418aaa
movzx eax, word [edi + 6]
cmp dword [ebp - 0xf8], eax
jge 0x418aaa
movzx ecx, word [edi + eax*2 + 0x1a]
push ecx
call fcn.0047f7b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418aaa
lea edi, [esi - 1]
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418a20
mov dx, word [0x5a57f8]
mov eax, esi
mov word [edi], dx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418a37
sub eax, edx
push 0x5f3e
lea edi, [esi + eax]
call fcn.00486120
push eax
push str._1_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
push 0xee
lea eax, [ebp - 0xf4]
push 0
push eax
call fcn.00551e50
add esp, 0x1c
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x418a73
mov cx, word [0x5a5c48]
push 0
push 0
mov word [eax], cx
mov dl, byte [0x5a5c4a]
push 0
push 0xf
mov byte [eax + 2], dl
add ebx, 4
push ebx
lea eax, [ebp - 0xf4]
push eax
push esi
call fcn.00417670
add esp, 0x1c
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00551e40
mov esp, ebp
pop ebp
ret