Function at 0x466cd8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x466ce1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x467203
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
cmp dword [ebp - 0xc], 0
je 0x4671bd
test ebx, ebx
je 0x4671bd
push ebp
push 0x4671b6
push dword fs:[0]
mov dword fs:[0], esp
mov ecx, dword [ebp - 0xc]
cmp word [ecx], 0x5a4d
je 0x466d43
call fcn.0040443c
jmp 0x4671bd
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp dword [eax], 0x4550
je 0x466d6a
call fcn.0040443c
jmp 0x4671bd
cmp dword [eax + 0x78], 0
jne 0x466d7a
call fcn.0040443c
jmp 0x4671bd
add eax, 0x78
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x60], 0x2081d
add edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov edi, dword [eax + 0x1c]
add edi, dword [ebp - 0xc]
mov dword [ebp - 0x28], edi
mov edi, dword [eax + 0x20]
add edi, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edi
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
cmp ebx, 0xffff
ja 0x466de2
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jb 0x466dd8
cmp esi, dword [ebp - 0x34]
jae 0x466de2
call fcn.0040443c
jmp 0x4671bd
xor eax, eax
inc eax
cmp eax, 0x186a1
jne 0x466de4
xor eax, eax
inc eax
cmp eax, 0x186a1
jne 0x466dee
cmp ebx, 0xffff
jbe 0x466ea8
mov byte [ebp - 0x39], 0
mov edi, edx
dec edi
test edi, edi
jb 0x466e64
inc edi
xor esi, esi
mov eax, esi
add eax, eax
add eax, eax
add eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x80]
mov edx, ebx
call fcn.00404b60
mov eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x38]
call fcn.00404b60
mov eax, dword [ebp - 0x84]
pop edx
call fcn.00466a54
test eax, eax
jne 0x466e60
mov eax, esi
add eax, eax
add eax, dword [ebp - 0x30]
movzx eax, word [eax]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x39], 1
jmp 0x466e64
inc esi
dec edi
jne 0x466e10
xor eax, eax
push ebp
push 0x466e89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467220
call fcn.00408e54
mov dword [ebp - 0x60], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466ea8
mov eax, dword [ebp - 0x34]
add eax, eax
add eax, eax
add eax, dword [ebp - 0x28]
mov edx, dword [eax]
cmp edx, dword [ebp - 0x20]
jbe 0x46719c
cmp edx, dword [ebp - 0x24]
ja 0x46719c
xor eax, eax
inc eax
cmp eax, 0x186a1
jne 0x466ec8
xor eax, eax
inc eax
cmp eax, 0x186a1
jne 0x466ed2
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x40], edx
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
push ebp
push 0x466f35
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x64], 0
jbe 0x466f0a
xor ecx, ecx
mov dl, 1
mov eax, dword [0x458578]
call fcn.0045b4a8
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x40]
call fcn.0040525c
mov edx, dword [ebp - 0x88]
mov eax, 0x467234
call fcn.004053c4
mov dword [ebp - 0x44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466f3f
cmp dword [ebp - 0x44], 0
jbe 0x4671a4
xor eax, eax
push ebp
push 0x466f6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467240
call fcn.00408e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466fc5
xor eax, eax
push ebp
push 0x466fe7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467278
call fcn.00408e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46703d
mov byte [ebp - 0x49], 0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x23
jne 0x4670a2
mov byte [ebp - 0x49], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x467064
mov eax, dword [ebp - 0x7c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00404e60
mov eax, dword [ebp - 0xa0]
call fcn.00404df8
mov edx, eax
lea eax, [ebp - 0x9c]
call fcn.00404b60
mov eax, dword [ebp - 0x9c]
call fcn.00408e54
mov word [ebp - 0x48], ax
xor eax, eax
push ebp
push 0x4670c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467290
call fcn.00408e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4670f8
cmp byte [ebp - 0x49], 0
je 0x467107
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x50], eax
jmp 0x467112
mov eax, dword [ebp - 8]
call fcn.00404df8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x6c], 2
xor eax, eax
push ebp
push 0x467139
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x74]
call fcn.00460f8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467143
dec dword [ebp - 0x6c]
jne 0x467119
xor eax, eax
push ebp
push 0x46716a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4672ac
call fcn.00408e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4671a4
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov byte [ebp - 0x11], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4671bd
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46720a
lea eax, [ebp - 0xa0]
mov edx, 6
call fcn.0040498c
lea eax, [ebp - 0x88]
call fcn.00405148
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.0040498c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040498c
ret