Function at 0x4c65e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], 0x4cc3b0
mov dword [esp], eax
mov dword [ebp - 0x20], 0x4ceb52
mov dword [ebp - 0x1c], ebp
mov dword [ebp - 0x18], 0x4c5ca7
mov dword [ebp - 0x14], esp
call fcn.0040d750
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00402a2c
lea edx, [eax + 0x200]
add eax, 0x21b
shr eax, 4
shl eax, 4
call fcn.0040c8d0
sub esp, eax
mov dword [ebp - 0x38], 0xffffffff
lea eax, [esp + 0x1f]
mov dword [esp + 4], edx
and eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov ecx, eax
lea eax, [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [ebp - 0x40], ecx
call fcn.00425f30
mov dword [esp], 8
call fcn.004cbe50
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], eax
mov dword [esp], ecx
mov ecx, eax
call fcn.004879f0
mov eax, dword [ebp - 0x40]
sub esp, 4
mov dword [ebp - 0x38], 0xffffffff
mov dword [esp + 8], 0x487230
mov dword [esp + 4], 0x4da880
mov dword [esp], eax
call fcn.004ccc40
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
mov dword [esp], edx
mov dword [ebp - 0x44], eax
call fcn.004cc2c0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], 0xffffffff
mov dword [esp], eax
call fcn.0040dc10
nop
nop
nop
nop
nop
nop
push ebp
sub esp, 0x68
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 0x4cc3b0
mov dword [esp], eax
mov dword [esp + 0x38], 0x4cee00
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x4c5e1d
mov dword [esp + 0x44], esp
call fcn.0040d750
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x5c]
mov eax, dword [eax]
add edx, dword [eax - 0xc]
mov eax, edx
add eax, 0x6c
mov dword [esp], eax
call fcn.004b11c0
sub esp, 4
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], 1
mov dword [esp], eax
call fcn.004c8000
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], eax
call fcn.004b1360
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov edx, dword [edx + eax + 0x78]
mov dword [esp + 0x14], edx
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jb 0x4c6772
jmp 0x4c67f0
add eax, 1
mov dword [ecx + 8], eax
cmp eax, edx
jae 0x4c67f0
movzx eax, byte [eax]
mov edx, dword [esp + 0x18]
movzx eax, al
mov edx, dword [edx + 0x18]
test byte [edx + eax*2], 0x20
je 0x4c67d1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jb 0x4c6768
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], 0xffffffff
call eax
cmp eax, 0xffffffff
jne 0x4c680e
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
add ecx, dword [eax - 0xc]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x20], 0xffffffff
or eax, 2
mov dword [esp], eax
call fcn.004c32a0
sub esp, 4
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040da20
mov eax, dword [esp + 0x70]
add esp, 0x68
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], 0xffffffff
call eax
cmp eax, 0xffffffff
jne 0x4c6775
jmp 0x4c67ab
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
jmp 0x4c676e