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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cdb73
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.004ccc90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x4cdacf
test edx, edx
jne 0x4cd9df
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x44], ebx
nop
nop
mov eax, ebx
and ebx, 0x1f
cmp ebx, 0x11
jne 0x4cd7e4
mov dword [esp + 0x40], ebx
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004cc7e0
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x10], 8
je 0x4cd7db
mov ecx, dword [esp + 0x40]
cmp ecx, 0x17
je 0x4cd619
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.004868e0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x4cd5d2
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00486140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004cca00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4cd5c3
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x10], 9
je 0x4cd5aa
mov ecx, dword [esp + 0x34]
inc ecx
mov edx, dword [eax + 0x10]
cmp edx, 8
je 0x4cd3c2
cmp edx, 7
je 0x4cd2e4
jmp 0x4cdb4a
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.004868e0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x4cd4e4
mov ecx, dword [esp + 0x40]
cmp ecx, 0x11
jne 0x4cd581
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00488ff0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x34]
jmp 0x4cd4b6
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00486140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
call fcn.004875d0
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.004868e0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x4cd45b
test eax, eax
jne 0x4cd4f1
mov eax, dword [esp + 0x40]
cmp eax, 0x17
je 0x4cd508
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00488db0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004875d0
jmp 0x4cd4f1
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00487be0
mov eax, dword [esp + 0x34]
jmp 0x4cd4e4
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004cc7e0
mov eax, dword [esp + 0x6c]
jmp 0x4cd3a7
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004cca00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x4cd399
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x68
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00485b20
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x4cd695
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.004868e0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x4cd317
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
lea ebp, [eax + 1]
mov dword [esp + 0xc], ebp
call fcn.00487be0
mov eax, dword [esp + 0x34]
jmp 0x4cd317
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00485b20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.00485b20
mov eax, dword [esp + 0xc]
mov ecx, eax
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov ecx, dword [esp + 0x38]
add eax, ecx
cmp eax, 4
jge 0x4cd6f2
mov eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
call fcn.004868e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.00488db0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], esi
call fcn.00488a70
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.004875d0
jmp 0x4cd63f
mov ecx, dword [esp + 0x34]
jmp 0x4cd3c2
cmp ebx, 0x14
je 0x4cd8da
cmp ebx, 0x17
je 0x4cd2de
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00488490
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x5d53c0]
mov dword [esp], edx
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x5eb9d2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4cd8c5
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4cd885
mov dword [esp], ecx
call fcn.004cc6c0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp], ecx
lea edx, [0x639f18]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004cc5a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4cd8bb
mov dword [edx + 0x50], eax
mov ecx, edx
jmp 0x4cd866
lea edi, [edx + 0x50]
call fcn.0045df70
jmp 0x4cd8b7
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045df70
mov eax, ecx
jmp 0x4cd84f
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00487300
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4cd903
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
jmp 0x4cd7f6
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004d2370
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004091c0
mov eax, dword [esp + 0xc]
nop
movzx ecx, byte [0x753128]
test cl, cl
je 0x4cd9d4
lea ecx, [0x5b6de0]
mov dword [0x75312c], ecx
mov edx, dword [0x770e60]
test edx, edx
jne 0x4cd9c7
mov dword [0x753130], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4cd9bf
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4cd980
or edx, 0x80
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004875d0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x4cd980
lea edi, [0x753130]
call fcn.0045df70
jmp 0x4cd95b
lea ecx, [0x5b6de0]
jmp 0x4cd95b
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00488490
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edx, [0x5d53c0]
mov dword [esp], edx
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x5eb9d2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4cdaba
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4cda7a
mov dword [esp], ecx
call fcn.004cc6c0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp], ecx
lea edx, [0x639f18]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004cc5a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4cdab0
mov dword [edx + 0x50], eax
mov ecx, edx
jmp 0x4cda5b
lea edi, [edx + 0x50]
call fcn.0045df70
jmp 0x4cdaac
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045df70
mov eax, ecx
jmp 0x4cda44
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ecx
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp], eax
call fcn.004cc6c0
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, edx
ja 0x4cdb6b
mov ebx, dword [esp + 0x38]
lea ebp, [ebx - 1]
cmp ebp, eax
ja 0x4cdb62
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 0x10]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
sub edx, ebx
inc edx
mov edi, edx
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, ebp
mov dword [esp + 4], ecx
sub eax, ebx
inc eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
lea eax, [0x5beac0]
mov dword [esp], eax
lea eax, [0x637b78]
mov dword [esp + 4], eax
call fcn.00431a00
mov ecx, eax
mov eax, ebp
call fcn.0045e050
mov ecx, eax
call fcn.0045e030
nop
call fcn.0045ca10
jmp fcn.004cd260