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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cacc5
sub esp, 0x54
mov eax, 0
lea edi, [esp + 0x3c]
call fcn.0045e87a
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
lea ebx, [0x6102a0]
mov dword [esp + 4], ebx
lea ebx, [0x816bf0]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x601400]
cmp eax, edx
je 0x4ca744
xor ecx, ecx
test ecx, ecx
jne 0x4ca753
mov eax, dword [esp + 0x58]
xor ecx, ecx
jmp 0x4ca7e6
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
test edx, edx
je 0x4ca7ab
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
mov eax, dword [edx]
mov ebp, dword [esp + 0x58]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4ca7df
lea edx, [0x656350]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x23], 1
jmp 0x4ca7e3
mov eax, dword [esp + 0x58]
setne cl
mov byte [esp + 0x22], cl
mov edx, dword [eax + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4cab47
mov ebp, dword [ebp + 8]
cmp ebp, 0x103a77be
ja 0x4ca8f2
cmp ebp, 0x3e19b09
jne 0x4ca87e
mov ebp, dword [esp + 0x64]
lea esi, [0x6a2d0c]
cmp ebp, esi
jne 0x4cab47
cmp ebx, esi
je 0x4ca833
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004d9a70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6a58cc]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4ca9c4
cmp ebp, 0x103a77be
jne 0x4ca8e9
mov ebp, dword [esp + 0x64]
lea esi, [0x6a2cdc]
cmp ebp, esi
jne 0x4cab47
cmp ebx, esi
je 0x4ca89e
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004d8460
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6a586c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4ca9c4
mov ebp, dword [esp + 0x64]
jmp 0x4cab47
cmp ebp, 0xd7d15deb
jne 0x4ca95a
mov ebp, dword [esp + 0x64]
lea esi, [0x6a2cf4]
cmp ebp, esi
jne 0x4cab47
cmp ebx, esi
je 0x4ca912
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004d9260
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6a589c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4ca9c4
cmp ebp, 0xff2d2c4c
jne 0x4cab43
mov ebp, dword [esp + 0x64]
lea esi, [0x6a2cc4]
cmp ebp, esi
jne 0x4cab47
cmp ebx, esi
je 0x4ca97e
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004cf700
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6a583c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4caa1d
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4caa19
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004cacd0
add esp, 0x54
ret
lea eax, [0x626fa0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x63c74b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4caa5a
mov dword [eax + 8], edx
jmp 0x4caa68
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4caa82
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4caa92
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4caaac
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
jmp 0x4caabc
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x20], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x4caad6
mov dword [eax + 0x24], ecx
jmp 0x4caae4
lea edi, [eax + 0x24]
mov edx, eax
mov eax, ecx
call fcn.0045e5d0
mov eax, edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x69f578]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4cab3f
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004cacd0
add esp, 0x54
ret
mov ebp, dword [esp + 0x64]
lea eax, [0x61ac20]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0x17
lea ecx, [0x643781]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x4cab88
mov dword [eax + 8], edx
jmp 0x4cab92
lea edi, [eax + 8]
mov eax, edx
call fcn.0045e5d0
lea eax, [0x626fa0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x63c74b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4cabcf
mov dword [eax + 8], edx
jmp 0x4cabdd
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4cabf7
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4cac07
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4cac21
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
jmp 0x4cac31
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045e5d0
mov eax, ecx
lea ecx, [0x69f550]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4cac4d
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
jmp 0x4cac5d
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045e5d0
mov eax, ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x69f578]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4cacb8
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004cacd0
add esp, 0x54
ret
call fcn.0045d190
jmp fcn.004ca6c0