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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 8]
mov dword [ebp - 0x18], eax
test al, 1
je 0x4c4a74
mov eax, dword [edi + 0x78]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 1
call fcn.00451ea0
mov esi, eax
mov eax, dword [ebp - 0x18]
test al, 2
je 0x4c4a8b
mov eax, dword [edi + 0x7c]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 2
call fcn.00451ea0
mov esi, eax
lea eax, [edi + 0x10]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0045e2c0
mov ecx, eax
xor eax, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
test ecx, ecx
jle 0x4c4b10
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0045d5e0
mov edi, eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
cmp eax, 0x80
jge 0x4c4af4
mov ecx, dword [ebx]
sub ecx, esi
add ecx, 0xe
cmp ecx, eax
jl 0x4c4af4
push esi
push 0x1a
call fcn.00450f10
mov esi, eax
add esp, 8
mov eax, dword [ebp - 4]
mov byte [esi], al
inc esi
cmp dword [edi + 0x14], 0x10
jb 0x4c4ae4
mov edi, dword [edi]
push eax
push edi
push esi
call fcn.005d2e20
add esp, 0xc
add esi, dword [ebp - 4]
jmp 0x4c4b01
push esi
push edi
push 3
mov ecx, ebx
call fcn.0045af40
mov esi, eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jl 0x4c4aa6
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
test eax, eax
je 0x4c4b68
cmp esi, dword [ebx]
jb 0x4c4b2f
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [edi + 0x2c]
mov edi, dword [ebp - 4]
push esi
push 0x22
mov edi, dword [eax + edi*4 + 4]
call fcn.00450f10
mov edx, dword [edi + 0xc]
push eax
push edx
call fcn.00450f10
add esp, 0x10
mov ecx, edi
push ebx
push eax
call fcn.004c6850
mov edi, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x4c4b21
mov eax, dword [edi + 0x34]
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
test eax, eax
je 0x4c4bc7
nop dword [eax]
cmp esi, dword [ebx]
jb 0x4c4b8e
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [edi + 0x3c]
mov edi, dword [ebp - 4]
push esi
push 0x2a
mov edi, dword [eax + edi*4 + 4]
call fcn.00450f10
mov edx, dword [edi + 0xc]
push eax
push edx
call fcn.00450f10
add esp, 0x10
mov ecx, edi
push ebx
push eax
call fcn.004baff0
mov edi, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x4c4b80
mov eax, dword [edi + 0x44]
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
test eax, eax
je 0x4c4c1f
cmp esi, dword [ebx]
jb 0x4c4be6
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [edi + 0x4c]
mov edi, dword [ebp - 4]
push esi
push 0x32
mov edi, dword [eax + edi*4 + 4]
call fcn.00450f10
mov edx, dword [edi + 0xc]
push eax
push edx
call fcn.00450f10
add esp, 0x10
mov ecx, edi
push ebx
push eax
call fcn.004bc1e0
mov edi, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x4c4bd8
mov eax, dword [edi + 0x54]
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
test eax, eax
je 0x4c4c77
cmp esi, dword [ebx]
jb 0x4c4c3e
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [edi + 0x5c]
mov edi, dword [ebp - 4]
push esi
push 0x3a
mov edi, dword [eax + edi*4 + 4]
call fcn.00450f10
mov edx, dword [edi + 0xc]
push eax
push edx
call fcn.00450f10
add esp, 0x10
mov ecx, edi
push ebx
push eax
call fcn.004b9780
mov edi, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x4c4c30
mov eax, dword [ebp - 0x18]
test al, 8
je 0x4c4cb5
cmp esi, dword [ebx]
jb 0x4c4c8c
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov edi, dword [edi + 0x84]
push esi
push 0x42
call fcn.00450f10
mov edx, dword [edi + 0x18]
push eax
push edx
call fcn.00450f10
add esp, 0x10
mov ecx, edi
push ebx
push eax
call fcn.004bdb40
mov esi, eax
mov eax, dword [ebp - 0x18]
test al, 0x10
je 0x4c4d63
cmp esi, dword [ebx]
jb 0x4c4ccb
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [ebp - 0xc]
push esi
push 0x4a
mov edi, dword [eax + 0x88]
mov dword [ebp - 0x10], edi
call fcn.00450f10
mov ecx, dword [edi + 0x18]
push eax
push ecx
call fcn.00450f10
mov esi, eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 0xc]
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
je 0x4c4d47
nop
cmp esi, dword [ebx]
jb 0x4c4d0e
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [edi + 0x14]
mov edi, dword [ebp - 4]
push esi
push 0xa
mov edi, dword [eax + edi*4 + 4]
call fcn.00450f10
mov edx, dword [edi + 0xc]
push eax
push edx
call fcn.00450f10
add esp, 0x10
mov ecx, edi
push ebx
push eax
call fcn.004c2350
mov edi, dword [ebp - 0x10]
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x4c4d00
test byte [edi + 4], 1
je 0x4c4d63
mov eax, dword [edi + 4]
and eax, 0xfffffffc
push ebx
add eax, 4
push esi
push eax
call fcn.00472840
add esp, 0xc
mov esi, eax
mov edi, dword [ebp - 0xc]
lea eax, [edi + 0x60]
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.0045e2b0
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jle 0x4c4dc4
cmp esi, dword [ebx]
jb 0x4c4d92
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
call fcn.0045d5b0
push esi
push 0x50
mov edi, dword [eax]
call fcn.00450f10
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.0046b460
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x4c4d81
mov edi, dword [ebp - 0xc]
lea eax, [edi + 0x6c]
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.0045e2b0
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jle 0x4c4e23
nop
cmp esi, dword [ebx]
jb 0x4c4df1
push esi
mov ecx, ebx
call fcn.00459870
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
call fcn.0045d5b0
push esi
push 0x58
mov edi, dword [eax]
call fcn.00450f10
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.0046b460
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x4c4de0
mov edi, dword [ebp - 0xc]
test byte [ebp - 0x18], 4
je 0x4c4e3f
mov eax, dword [edi + 0x80]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 0xc
call fcn.00451ea0
mov esi, eax
test byte [edi + 4], 1
je 0x4c4e62
mov eax, dword [edi + 4]
and eax, 0xfffffffc
push ebx
add eax, 4
push esi
push eax
call fcn.00472840
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8