Function at 0x47b4c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
mov ecx, 0x85133c
push eax
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x20], ebx
call fcn.00405650
mov eax, dword [esp + 0x14]
mov edi, dword [0x85133c]
cmp byte [eax + 0xd], 0
jne 0x47b4fe
cmp ebx, dword [eax + 0x10]
jge 0x47b500
mov eax, edi
cmp eax, edi
jne 0x47b508
xor eax, eax
jmp 0x47b50b
mov eax, dword [eax + 0x14]
mov ebx, dword [esi + 0x10]
mov ecx, 0x85133c
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], ebx
push eax
call fcn.00405650
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xd], 0
jne 0x47b539
cmp ebx, dword [eax + 0x10]
jge 0x47b53b
mov eax, edi
cmp eax, edi
jne 0x47b543
xor eax, eax
jmp 0x47b546
mov eax, dword [eax + 0x14]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov al, byte [esi + 3]
cmp al, 1
jne 0x47b5b4
test ebx, ebx
jne 0x47b55c
mov byte [esi + 8], bl
movzx ecx, word [esi + 6]
xor eax, eax
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
movzx eax, byte [esi + 8]
mov byte [esp + 0x11], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x12], al
lea eax, [esp + 0xc]
push 8
push eax
movzx eax, word [esi + 4]
push eax
mov dword [esp + 0x18], 0x1e608c1
mov byte [esp + 0x1c], 2
mov byte [esp + 0x1f], cl
call fcn.005192f0
mov al, byte [esi + 8]
test al, al
je 0x47b750
cmp al, 0x10
jne 0x47b5d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
jne 0x47b5d3
test ebx, ebx
je 0x47b750
mov al, byte [esi + 8]
test al, al
je 0x47b750
cmp al, 0x10
je 0x47b750
inc dword [ebx + 0x724]
lea edi, [ebx + 0x3a0]
mov dword [ebx + 0x71c], 0
xor esi, esi
nop dword [eax + eax]
cmp byte [ebx + esi + 0x440], 0
jbe 0x47b67f
cmp word [edi], 0
jl 0x47b67f
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x1b7
push eax
lea eax, [esp + 0x20]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [esp + 0x24]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x47b639
cmp dword [eax + 0x10], 0x1b7
jle 0x47b63b
mov eax, ecx
cmp eax, ecx
jne 0x47b65e
push 0x1b7
push str.Could_not_find_message__d_
push 0xa9b7bc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, 0xa9b7bc
jmp 0x47b661
add eax, 0x18
push eax
movsx eax, word [edi]
push 0
push 0
push 0
push 0
push 0
push 1
push eax
push 0xb90558
call fcn.004cdc70
add esp, 0x24
inc esi
add edi, 2
cmp esi, 0x50
jl 0x47b5f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47b750
xor esi, esi
lea edi, [eax + 0x3a0]
cmp byte [eax + esi + 0x440], 0
jbe 0x47b743
cmp word [edi], 0
jl 0x47b743
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x1b8
push eax
lea eax, [esp + 0x20]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [esp + 0x24]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x47b6ed
cmp dword [eax + 0x10], 0x1b8
jle 0x47b6ef
mov eax, ecx
cmp eax, ecx
jne 0x47b712
push 0x1b8
push str.Could_not_find_message__d_
push 0xa9b7bc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, 0xa9b7bc
jmp 0x47b715
lea ecx, [eax + 0x18]
mov eax, dword [esp + 0x18]
add eax, 4
push eax
lea eax, [ebx + 4]
push eax
movsx eax, word [edi]
push ecx
push 0
push 0
push 0
push 0
push 0
push 1
push eax
push 0xb90558
call fcn.004cdc70
mov eax, dword [esp + 0x44]
add esp, 0x2c
inc esi
add edi, 2
cmp esi, 0x50
jl 0x47b6a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret