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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c60e6
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 0x63
jne 0x4c5d6a
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004c5620
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004c4b40
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004c4ef0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c53f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x70]
cmp ebx, 0x55
je 0x4c5f57
cmp ebx, 0x76
je 0x4c5f35
xor ebx, ebx
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.004c54d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.00463d10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4c60a2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x74]
add edx, 0xffffffc0
neg edx
lea ebx, [edx - 0x20]
mov ebp, ecx
mov ecx, ebx
mov esi, eax
shl eax, cl
neg ecx
mov dword [esp + 0x40], ecx
shr esi, cl
mov ecx, edx
shl ebp, cl
mov edi, dword [esp + 0x40]
cmp edi, 0x20
sbb edi, edi
mov dword [esp + 0x3c], edi
and esi, edi
cmp ecx, 0x20
sbb edi, edi
and ebp, edi
or esi, ebp
cmp ebx, 0x20
sbb ebp, ebp
and eax, ebp
or esi, eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x28]
shl eax, cl
and eax, edi
shr esi, cl
and esi, edi
shr eax, cl
and eax, edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov edi, edx
shl edx, cl
mov ecx, esi
mov esi, dword [esp + 0x3c]
and edx, esi
or eax, edx
mov edx, ecx
mov ecx, ebx
shr edi, cl
and edi, ebp
or eax, edi
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
setne dl
mov ebp, dword [esp + 0x28]
cmp eax, ebp
setne al
or edx, eax
test dl, dl
jne 0x4c5ebb
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
add esp, 0x68
ret
mov dword [esp], 0
lea eax, [0x7eb165]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x23
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.0043bf20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edx, [0x787c00]
mov dword [esp], edx
call fcn.00409dc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xbc7270]
test eax, eax
jne 0x4c5f27
mov eax, dword [esp + 0x48]
mov dword [edi], eax
jmp 0x4c600e
mov eax, dword [esp + 0x48]
call fcn.0044cc20
jmp 0x4c600e
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004c57e0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
movzx ebx, byte [esp + 0x10]
jmp 0x4c5dba
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x7dc216]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004c4dc0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c5fcf
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x13
mov eax, dword [0xbc7270]
test eax, eax
jne 0x4c5fbf
lea eax, [0x7e1d6a]
mov dword [edi], eax
jmp 0x4c6058
lea eax, [0x7e1d6a]
call fcn.0044cc20
jmp 0x4c6058
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x7dc1fd]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004c4dc0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4c5f8f
xor ebx, ebx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
jmp 0x4c5dba
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x8f8790]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
lea eax, [0x787c60]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.00407470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427510
ud2
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x8f8790]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
lea eax, [0x787c60]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427510
ud2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
lea eax, [0x787c60]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00407470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427510
ud2
call fcn.0044b4c0
jmp fcn.004c5d20