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

Disassembly:
mov ecx, dword [0x14a5898]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5401
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x50], eax
nop
cmp eax, 0x11
je 0x4c5096
cmp eax, 0x17
jne 0x4c53c6
cmp eax, 0x11
jne 0x4c50b9
nop
test ecx, 0x60
jne 0x4c50a9
test ecx, 0x100
jne 0x4c50b9
mov dword [esp], ecx
call fcn.004bed50
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
nop
test ecx, ecx
je 0x4c50c6
test ecx, 0x60
je 0x4c50d6
mov dword [esp], ecx
call fcn.004bec40
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x4c], edx
nop
cmp edx, 0x11
je 0x4c515b
cmp edx, 0x17
je 0x4c515b
cmp edx, 0x18
jne 0x4c514a
mov ebp, dword [esp + 0x60]
movzx esi, byte [ebp + 0xf]
and esi, 0x1f
cmp esi, 0x12
ja 0x4c5117
cmp esi, 0x11
jne 0x4c510d
mov esi, dword [ebp + 0x20]
jmp 0x4c5137
cmp esi, 0x12
jne 0x4c5135
mov esi, dword [ebp + 0x20]
jmp 0x4c5137
cmp esi, 0x15
jne 0x4c5121
mov esi, dword [ebp + 0x24]
jmp 0x4c5137
cmp esi, 0x16
jne 0x4c512b
mov esi, dword [ebp + 0x20]
jmp 0x4c5137
cmp esi, 0x17
jne 0x4c5135
mov esi, dword [ebp + 0x20]
jmp 0x4c5137
xor esi, esi
movzx esi, byte [esi + 0xf]
and esi, 0x1f
cmp esi, 8
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x4c5150
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4c5161
jmp 0x4c538c
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
nop
test ebx, ebx
je 0x4c5174
test ebx, 0x60
je 0x4c5195
mov dword [esp], ebx
call fcn.004bec40
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
movzx esi, byte [esp + 0x23]
movzx edi, byte [ebp + 0xf]
and edi, 0x1f
cmp edi, 0x12
ja 0x4c51b5
cmp edi, 0x11
jne 0x4c51ab
mov edi, dword [ebp + 0x20]
jmp 0x4c51d5
cmp edi, 0x12
jne 0x4c51d3
mov edi, dword [ebp + 0x20]
jmp 0x4c51d5
cmp edi, 0x15
jne 0x4c51bf
mov edi, dword [ebp + 0x24]
jmp 0x4c51d5
cmp edi, 0x16
jne 0x4c51c9
mov edi, dword [ebp + 0x20]
jmp 0x4c51d5
cmp edi, 0x17
jne 0x4c51d3
mov edi, dword [ebp + 0x20]
jmp 0x4c51d5
xor edi, edi
mov dword [esp + 0x54], edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x4c51e7
cmp eax, 0x11
jmp 0x4c52b8
mov esi, dword [esp + 0x6c]
movzx ebx, byte [esi + 0xf]
and ebx, 0x1f
cmp ebx, 0x12
ja 0x4c520b
cmp ebx, 0x11
jne 0x4c5201
mov ebx, dword [esi + 0x20]
jmp 0x4c522b
cmp ebx, 0x12
jne 0x4c5229
mov ebx, dword [esi + 0x20]
jmp 0x4c522b
cmp ebx, 0x15
jne 0x4c5215
mov ebx, dword [esi + 0x24]
jmp 0x4c522b
cmp ebx, 0x16
jne 0x4c521f
mov ebx, dword [esi + 0x20]
jmp 0x4c522b
cmp ebx, 0x17
jne 0x4c5229
mov ebx, dword [esi + 0x20]
jmp 0x4c522b
xor ebx, ebx
test edi, edi
je 0x4c5243
mov dword [esp + 0x3c], eax
lea eax, [0xef7344]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x4c5253
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [esp + 0x44]
test ebx, ebx
je 0x4c5267
mov dword [esp + 0x34], eax
lea eax, [0xef7344]
mov dword [esp + 0x24], eax
jmp 0x4c526f
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
lea eax, [0xd85838]
mov dword [esp], eax
mov dword [esp + 4], 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004c4d50
mov eax, dword [esp + 0x50]
cmp eax, 0x11
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
je 0x4c52cb
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 0x11
jmp 0x4c52fb
nop
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c2fc0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
cmp eax, 0x11
mov edx, eax
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x54]
mov eax, ebp
mov ecx, dword [esp + 0x64]
je 0x4c5321
cmp edx, 0x17
jne 0x4c5310
mov edx, dword [esp + 0x70]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
jmp 0x4c5360
mov edx, eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, edx
mov edx, esi
jmp 0x4c5360
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ecx
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c2fc0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
mov edx, esi
mov ebx, dword [esp + 0x70]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
call fcn.00469a80
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
lea eax, [0xcb61c0]
mov dword [esp], eax
call fcn.0040d3b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0xd85838]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0xc844a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0043b1a0
lea eax, [0xcb61c0]
mov dword [esp], eax
call fcn.0040d3b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0xd85838]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
lea ecx, [0xc844a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0043b1a0
nop
call fcn.0046db70
jmp fcn.004c5060