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

Disassembly:
push 0xffffffffffffffff
push 0x565438
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004c4870
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x8c], bl
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
push ecx
push eax
push esi
push edx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
push edx
push ecx
push eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], esi
call fcn.004c8320
add esp, 0x24
test al, al
je 0x4c8aa9
and esi, 0x800
mov dword [esp + 0x1c], esi
jmp 0x4c88e4
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x4c8925
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004c4350
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xa4]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x44]
call fcn.004c5960
mov eax, dword [eax]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
mov ecx, esi
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4c8976
lea eax, [esp + 0x7c]
jmp 0x4c8989
cmp eax, ebx
ja 0x4c8987
call fcn.00543ca9
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov eax, edi
mov ebp, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
cmp ebp, 0xfffffffc
je 0x4c89b2
cmp ebp, ebx
je 0x4c89a5
cmp ebp, dword [esp + 0xb0]
je 0x4c89b2
call fcn.00543ca9
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
cmp edx, dword [esp + 0xb4]
je 0x4c8aaf
test dword [esp + 0xc0], 0x1000
jne 0x4c8aaf
mov ecx, esi
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4c89f5
lea eax, [esp + 0x7c]
mov dword [esp + 0x18], eax
jmp 0x4c8a0a
cmp eax, ebx
ja 0x4c8a06
call fcn.00543ca9
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], edi
sub esi, edi
mov eax, 0x66666667
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4c8a25
lea edi, [esp + 0x7c]
jmp 0x4c8a32
cmp eax, ebx
ja 0x4c8a32
call fcn.00543ca9
mov edi, dword [esp + 0x48]
mov eax, dword [edi]
cmp eax, 0xfffffffc
je 0x4c8a4b
cmp eax, ebx
je 0x4c8a46
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 8]
je 0x4c8a4b
call fcn.00543ca9
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x18]
cmp edx, dword [eax + 0xc]
jne 0x4c8a5e
mov eax, 0x2000
jmp 0x4c8a68
xor eax, eax
or dword [esp + 0x14], 0x100
mov ecx, dword [esp + 0x30]
or eax, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
push ecx
push ebp
push eax
push edx
mov edx, dword [esp + 0xc4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0xc4]
push edx
push eax
push ecx
push ebp
call fcn.004c8320
add esp, 0x24
test al, al
jne 0x4c88e0
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x48]
jmp 0x4c8ab6
mov esi, dword [esp + 0xc0]
test esi, 0x800
je 0x4c8ac7
lea eax, [esp + 0xa4]
jmp 0x4c8b04
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x24], bl
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xbc]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.004c4350
mov edi, dword [esp + 0x64]
add esp, 0x1c
lea eax, [esp + 0x24]
mov edx, dword [eax]
mov esi, dword [esp + 0xa0]
mov dword [esi], edx
cmp edi, ebx
je 0x4c8b1c
push edi
call fcn.004ff267
add esp, 4
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004ff267
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret