Function at 0x402b20
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x70]
mov dword [eax + 0x38], 0
test edx, edx
je 0x402d50
movzx ebx, byte [eax + 0x78]
movzx ecx, word [eax + 0x58]
mov byte [edx + ecx + 0x2e], bl
mov ebx, dword [eax + 0x38]
mov dword [eax + 0x70], 0
mov edx, dword [eax + 0x1c]
cmp edx, ebx
mov dword [ebp - 0x10], edx
jbe 0x402d45
mov edx, dword [eax + 0x34]
mov dword [eax + 0x74], 0x2e
add edx, ebx
mov dword [eax + 0x70], edx
movzx edi, byte [edx + 3]
movzx ecx, byte [edx + 2]
shl edi, 0x18
shl ecx, 0x10
or ecx, edi
movzx edi, byte [edx]
or edi, ecx
movzx ecx, byte [edx + 1]
mov esi, ecx
shl esi, 8
or edi, esi
mov dword [eax + 0x3c], edi
movzx ecx, byte [edx + 5]
movzx esi, byte [edx + 4]
shl ecx, 8
or ecx, esi
mov word [eax + 0x40], cx
movzx ecx, byte [edx + 7]
movzx esi, byte [edx + 6]
shl ecx, 8
or ecx, esi
mov word [eax + 0x42], cx
movzx ecx, byte [edx + 9]
movzx esi, byte [edx + 8]
shl ecx, 8
or ecx, esi
mov word [eax + 0x44], cx
movzx ecx, byte [edx + 0xb]
movzx esi, byte [edx + 0xa]
shl ecx, 8
or ecx, esi
mov word [eax + 0x46], cx
movzx ecx, byte [edx + 0xd]
movzx esi, byte [edx + 0xc]
shl ecx, 8
or ecx, esi
mov word [eax + 0x48], cx
movzx ecx, byte [edx + 0xf]
movzx esi, byte [edx + 0xe]
shl ecx, 8
or ecx, esi
mov word [eax + 0x4a], cx
movzx edi, byte [edx + 0x13]
movzx ecx, byte [edx + 0x12]
shl edi, 0x18
shl ecx, 0x10
or ecx, edi
movzx edi, byte [edx + 0x10]
or edi, ecx
movzx ecx, byte [edx + 0x11]
mov esi, ecx
shl esi, 8
or edi, esi
mov dword [eax + 0x4c], edi
movzx edi, byte [edx + 0x17]
movzx ecx, byte [edx + 0x16]
shl edi, 0x18
shl ecx, 0x10
or ecx, edi
movzx edi, byte [edx + 0x14]
or edi, ecx
movzx ecx, byte [edx + 0x15]
mov esi, ecx
shl esi, 8
or edi, esi
mov dword [eax + 0x50], edi
movzx edi, byte [edx + 0x1b]
movzx ecx, byte [edx + 0x1a]
shl edi, 0x18
shl ecx, 0x10
or ecx, edi
movzx edi, byte [edx + 0x18]
or edi, ecx
movzx ecx, byte [edx + 0x19]
mov esi, ecx
shl esi, 8
or edi, esi
mov dword [eax + 0x54], edi
movzx ecx, byte [edx + 0x1d]
movzx esi, byte [edx + 0x1c]
shl ecx, 8
or esi, ecx
mov word [eax + 0x58], si
movzx edi, byte [edx + 0x1f]
movzx ecx, byte [edx + 0x1e]
mov word [ebp - 0x12], si
shl edi, 8
or ecx, edi
mov word [eax + 0x5a], cx
mov word [ebp - 0x14], cx
movzx ecx, byte [edx + 0x21]
movzx esi, byte [edx + 0x20]
shl ecx, 8
or ecx, esi
mov word [eax + 0x5c], cx
movzx esi, byte [edx + 0x23]
movzx ecx, cx
movzx edi, byte [edx + 0x22]
shl esi, 8
or esi, edi
mov word [eax + 0x5e], si
movzx esi, byte [edx + 0x25]
movzx edi, byte [edx + 0x24]
shl esi, 8
or esi, edi
mov word [eax + 0x60], si
movzx edi, byte [edx + 0x29]
movzx esi, byte [edx + 0x28]
shl edi, 0x18
shl esi, 0x10
or edi, esi
movzx esi, byte [edx + 0x26]
or edi, esi
movzx esi, byte [edx + 0x27]
shl esi, 8
or esi, edi
mov dword [eax + 0x64], esi
movzx edi, byte [edx + 0x2d]
movzx esi, byte [edx + 0x2c]
shl edi, 0x18
shl esi, 0x10
or edi, esi
movzx esi, byte [edx + 0x2a]
or edi, esi
movzx esi, byte [edx + 0x2b]
shl esi, 8
or esi, edi
movzx edi, word [ebp - 0x14]
mov dword [eax + 0x68], esi
lea esi, [edx + 0x2e]
mov dword [eax + 0x6c], esi
movzx esi, word [ebp - 0x12]
add ecx, edi
add esi, 0x2e
add ecx, esi
mov dword [eax + 0x74], ecx
add ecx, ebx
cmp dword [ebp - 0x10], ecx
jb 0x402d45
add edx, esi
movzx ecx, byte [edx]
mov byte [eax + 0x78], cl
mov byte [edx], 0
mov edx, dword [eax + 0x74]
add dword [eax + 0x38], edx
add esp, 8
pop ebx
add eax, 0x3c
pop esi
pop edi
pop ebp
ret
add esp, 8
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
jmp 0x402b54