Function at 0x402bdc
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
sub esp, 0x54
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov eax, dword [0x2a3e044]
mov dword [esp + 0x4c], eax
xor eax, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
movzx eax, ax
add eax, edx
add eax, 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 0
jmp 0x402ddb
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x402cf5
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], 0
jle 0x402dbd
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x34]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
mov esi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x40]
add ebx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x44], 0
jne 0x402cb8
mov eax, 0
jmp 0x402df7
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x402dbd
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00402b80
test eax, eax
jne 0x402d23
mov eax, 0
jmp 0x402df7
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x34]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x3c]
mov esi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x40]
add ebx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x44], 0
jne 0x402d77
mov eax, 0
jmp 0x402df7
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0x14]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], edx
jmp 0x402dbe
nop
mov dword [esp + 4], 1
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00402650
mov dword [esp + 0x38], eax
add dword [esp + 0x3c], 0x28
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [esp + 0x38], eax
jl 0x402c42
mov eax, 1
mov esi, dword [esp + 0x4c]
sub esi, dword [0x2a3e044]
je 0x402e08
call fcn.004016b0
add esp, 0x54
pop ebx
pop esi
ret