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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c65ad
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 0x63
jne 0x4c619a
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004c5e40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004c5300
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004c5710
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c5c10
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x70]
cmp ebx, 0x55
jne 0x4c646f
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x814167]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004c55b0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c643f
mov eax, 1
test al, al
jne 0x4c63fd
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
call fcn.004c5cf0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.00458d10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4c6568
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x74]
add edx, 0xffffffc0
neg edx
mov dword [esp + 0x50], edx
cmp edx, 0x20
sbb ebx, ebx
lea ebp, [edx - 0x20]
mov dword [esp + 0x4c], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x48], ebp
cmp ebp, 0x20
sbb edi, edi
mov dword [esp + 0x44], edi
cmp edx, 0x20
sbb edi, edi
mov dword [esp + 0x40], edi
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x3c], edi
shr edx, 5
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
shl edx, cl
mov ecx, esi
shl eax, cl
and edx, ebx
mov ecx, ebp
mov esi, dword [esp + 0x28]
shr esi, cl
mov ebp, dword [esp + 0x44]
and esi, ebp
or esi, edx
and eax, edi
or esi, eax
mov eax, dword [esp + 0x40]
not eax
mov edx, dword [esp + 0x50]
or eax, edx
mov ecx, eax
mov eax, esi
sar esi, cl
mov edi, dword [esp + 0x2c]
cmp esi, edi
xchg esi, ebx
setne bl
xchg esi, ebx
mov ecx, edx
mov edi, dword [esp + 0x28]
shl edi, cl
and edi, ebx
shr edi, cl
and edi, ebx
mov ecx, dword [esp + 0x48]
mov edx, eax
shl eax, cl
and eax, ebp
or edi, eax
mov ecx, dword [esp + 0x3c]
not ecx
mov eax, dword [esp + 0x4c]
or ecx, eax
sar edx, cl
mov eax, dword [esp + 0x38]
xor eax, 0xffffffff
and eax, edx
or eax, edi
mov edx, dword [esp + 0x28]
cmp eax, edx
setne al
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4c6381
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov dword [esp], 0
lea eax, [0x81ef4d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.0043dbd0
nop
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x4c63ef
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x4c64d4
mov eax, dword [esp + 0x58]
call fcn.0044f0d0
jmp 0x4c64d4
nop
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x13
mov eax, dword [0xb91180]
test eax, eax
jne 0x4c642f
lea eax, [0x81a461]
mov dword [edi], eax
jmp 0x4c651e
lea eax, [0x81a461]
call fcn.0044f0d0
jmp 0x4c651e
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x81414d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004c55b0
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x4c6220
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x8141ac]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov byte [esp + 0xc], 1
call fcn.004c55b0
mov eax, dword [esp + 0x70]
cmp eax, 0x76
je 0x4c64b5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
xor edx, edx
mov ebx, dword [esp + 0x34]
mov ebp, eax
mov eax, edx
mov edx, ebp
jmp 0x4c6236
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004c6030
mov ebx, dword [esp + 4]
movzx edx, byte [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x4c64aa
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x8b3870]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
lea eax, [0x7c3540]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.004077f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429580
ud2
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x8b3870]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
lea eax, [0x7c3540]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.004077f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429580
ud2
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
lea eax, [0x7c3540]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.004077f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.0044d880
jmp fcn.004c6150