Function at 0x464ca4
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe14
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
mov eax, dword [ebp - 8]
call fcn.00405848
xor eax, eax
push ebp
push 0x464ff1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
push 0
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_OpenFile
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x464fa8
push dword fs:[edx]
mov dword fs:[edx], esp
mov cl, 2
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00425684
mov esi, eax
mov ebx, 0x40
cmp ebx, esi
jge 0x464f92
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00425684
lea edx, [ebp - 0x68]
mov ecx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00423054
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x464d52
cmp eax, dword [esp]
pop edx
pop eax
jne 0x464f92
cmp word [ebp - 0x68], 0x5a4d
jne 0x464f92
mov eax, dword [ebp - 0x2c]
cmp esi, eax
jle 0x464f92
xor ecx, ecx
mov edx, eax
mov eax, dword [ebp - 0x18]
call fcn.00425684
lea edx, [ebp - 0x1e8]
mov ecx, 0xf8
mov eax, dword [ebp - 0x18]
call fcn.00423054
cmp dword [ebp - 0x1e8], 0x4550
jne 0x464f92
mov eax, dword [ebp - 0x1b4]
mov esi, dword [ebp - 0x198]
mov ebx, dword [ebp - 0x194]
push 4
push 0x3000
push esi
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov edi, eax
test edi, edi
jne 0x464f92
push 4
push 0x3000
push esi
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edi, eax
test edi, edi
je 0x464f92
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00425684
mov esi, edi
mov edx, esi
mov ecx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00423054
mov eax, dword [esi + 0x3c]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 6]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x464c84]
call fcn.004068bc
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0xf8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
call fcn.00406708
test eax, eax
jl 0x464efe
inc eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov esi, ebx
add esi, esi
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*8]
mov edx, 8
call fcn.00405ae8
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*8]
call fcn.004058b8
mov edx, eax
lea eax, [ebx + ebx*4]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*8]
mov ecx, 8
call fcn.00403168
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + esi*8]
call fcn.00405858
call fcn.0040a390
mov edx, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*8]
call fcn.00405ae8
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + esi*8 + 8], eax
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 0xc]
add eax, edi
mov edx, dword [ebp - 0x10]
mov dword [edx + esi*8 + 4], eax
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edx + esi*8 + 0xc], eax
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + eax*8 + 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.00425684
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + esi*8 + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [ebp - 0x18]
call fcn.00423054
inc ebx
dec dword [ebp - 0x28]
jne 0x464e44
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x464f85
mov ebx, eax
add ebx, edi
mov eax, dword [ebx + 0x20]
add eax, edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x464c64]
call fcn.004068bc
add esp, 4
mov eax, dword [ebx + 0x18]
dec eax
test eax, eax
jl 0x464f85
inc eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov esi, ebx
add esi, esi
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*8]
mov edx, ebx
add edx, edx
add edx, edx
add edx, dword [ebp - 0x24]
mov edx, dword [edx]
add edx, edi
call fcn.004055c0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*8]
lea edx, [ebp - 0x1ec]
call fcn.004095d0
mov eax, dword [ebp - 0x1ec]
mov edx, dword [ebp - 8]
call fcn.004057f0
jne 0x464f7f
mov byte [ebp - 0x11], 1
jmp 0x464f85
inc ebx
dec dword [ebp - 0x28]
jne 0x464f3c
push 0x8000
push 0
push edi
call sub.kernel32.dll_VirtualFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464faf
mov eax, dword [ebp - 0x18]
call fcn.00425550
ret