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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x120], edx
test esi, esi
je 0x45c98e
test edx, edx
je 0x45c98e
mov eax, 0x5a4d
cmp word [esi], ax
je 0x45c99f
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x45c98e
push edi
mov edi, dword [eax + esi + 0x78]
mov dword [ebp - 0x10c], edi
test edi, edi
jne 0x45c9cc
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x114], 0xffffffff
push ebx
mov ebx, dword [eax + esi + 0x7c]
mov dword [ebp - 0x118], ebx
cmp edx, 0xffff
ja 0x45ca18
sub edx, dword [esi + edi + 0x10]
cmp edx, dword [esi + edi + 0x14]
jae 0x45ca05
mov eax, dword [esi + edi + 0x1c]
lea eax, [eax + edx*4]
mov ecx, dword [eax + esi]
test ecx, ecx
jne 0x45cafb
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + edi + 0x18]
test eax, eax
je 0x45cad9
lea ebx, [eax - 1]
xor ecx, ecx
mov eax, dword [esi + edi + 0x20]
add eax, esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x11c], eax
test ebx, ebx
js 0x45cad3
lea edi, [ebx + ecx]
mov ecx, edx
sar edi, 1
mov eax, dword [eax + edi*4]
add eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45ca70
test dl, dl
je 0x45ca6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45ca70
add eax, 2
add ecx, 2
test dl, dl
jne 0x45ca50
xor eax, eax
jmp 0x45ca75
sbb eax, eax
or eax, 1
cmp eax, 0xffffffff
je 0x45cab0
test eax, eax
je 0x45ca8e
mov ecx, dword [ebp - 0x110]
cmp eax, 1
jne 0x45cab9
lea ebx, [edi - 1]
jmp 0x45cab9
lea ecx, [esi + edi*2]
mov edi, dword [ebp - 0x10c]
mov eax, dword [esi + edi + 0x24]
movzx eax, word [ecx + eax]
lea ecx, [ebx + 1]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], ecx
jmp 0x45cabf
lea ecx, [edi + 1]
mov dword [ebp - 0x110], ecx
mov edi, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x11c]
cmp ecx, ebx
jle 0x45ca43
mov ebx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [esi + edi + 0x14]
jae 0x45ca05
mov eax, dword [esi + edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x45ca05
cmp ecx, edi
jb 0x45cbc5
lea eax, [ebx + edi]
cmp ecx, eax
jae 0x45cbc5
lea eax, [esi + ecx]
mov cl, byte [eax]
mov esi, eax
test cl, cl
je 0x45ca05
lea ecx, [ecx]
cmp cl, 0x2e
je 0x45cb40
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x45cb20
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov edi, esi
sub edi, eax
cmp edi, 0x104
jae 0x45ca05
xor ecx, ecx
test edi, edi
je 0x45cb77
lea ebx, [ebp - 0x108]
sub ebx, eax
mov edi, edi
mov dl, byte [eax]
test dl, dl
je 0x45cb6f
mov byte [ebx + eax], dl
inc ecx
inc eax
cmp ecx, edi
jb 0x45cb60
cmp ecx, 0x104
jae 0x45cbd9
lea eax, [ebp - 0x108]
mov byte [ebp + ecx - 0x108], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x45ca05
cmp byte [esi + 1], 0x23
lea edx, [esi + 1]
jne 0x45cbad
lea eax, [esi + 2]
push eax
call fcn.005c0d5c
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.0045c960
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
lea eax, [esi + ecx]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
ret
call fcn.005c0c80
int3