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

Disassembly:
push 0xffffffffffffffff
push 0xe21d10
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0xe816ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xe816ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
xor esi, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x80], esi
mov eax, dword [eax + 0x80]
mov edi, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0xca63bd
mov eax, dword [edi + 0x14]
mov dword [esp + 0x14], eax
cmp eax, esi
jne 0xca63c6
mov ecx, dword [edi + 0x5c]
jmp 0xca63e4
lea ecx, [edi + 0x38]
lea ebx, [esp + 0x14]
lea eax, [esp + 0x20]
call fcn.00cb1fa0
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp ecx, dword [edi + 0x3c]
je 0xca63ec
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x4c], ecx
cmp ecx, esi
jne 0xca6405
mov ecx, dword [esp + 0x28]
push 4
mov dword [esp + 0x28], esi
push ecx
mov esi, ebp
mov ecx, edi
call fcn.00c9bdc0
jmp 0xca6891
mov edx, dword [ebp + 0x28]
shr edx, 6
test dl, 1
jne 0xca6444
push 1
push 4
push ecx
mov ecx, dword [esp + 0x50]
push edi
call fcn.00c9bbe0
mov edx, dword [esp + 0x28]
cmp eax, esi
setne al
movzx ecx, al
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], esi
push edx
mov esi, ebp
call fcn.00c9be50
jmp 0xca6891
mov eax, dword [ebp + 0x20]
mov edx, dword [0xe9d70c]
mov ecx, eax
cmp eax, esi
jne 0xca6456
mov ecx, dword [edx + 0x20]
cmp dword [ecx + 0x2c], esi
jne 0xca6480
cmp eax, esi
jne 0xca6462
mov eax, dword [edx + 0x20]
cmp dword [eax + 0x48], esi
jne 0xca6480
mov ecx, dword [esp + 0x28]
push 5
mov dword [esp + 0x28], esi
push ecx
mov esi, ebp
mov ecx, edi
call fcn.00c9bdc0
jmp 0xca6891
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
lea ebx, [esp + 0x14]
xor edi, edi
lea esi, [esp + 0x30]
call fcn.00c9cda0
mov dword [esp + 0x40], edi
mov esi, ebp
mov byte [esp + 0x80], 1
call fcn.00c71160
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x2c]
xor ebp, ebp
mov dword [esp + 0x14], eax
test eax, eax
jle 0xca6584
jmp 0xca64d0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax + ebp*4]
mov edx, dword [esp + 0x2c]
mov esi, dword [edx + 8]
mov dword [esp + 0x20], ecx
lea ecx, [esi + 0x18]
lea ebx, [esp + 0x20]
lea eax, [esp + 0x48]
call fcn.00cb1fa0
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esi + 0x1c]
je 0xca6505
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0xca654a
mov eax, dword [esp + 0x30]
xor ecx, ecx
test edi, edi
je 0xca6537
jns 0xca652a
mov ecx, edi
neg ecx
je 0xca652a
or edx, 0xffffffff
sub edx, edi
shr edx, 5
lea ecx, [edx*4 + 4]
sub eax, ecx
jmp 0xca6532
mov edx, edi
shr edx, 5
lea eax, [eax + edx*4]
and edi, 0x1f
mov ecx, edi
push ecx
push eax
push 0
lea ebx, [esp + 0x64]
lea edi, [esp + 0x3c]
call fcn.00c75170
jmp 0xca6575
cmp ecx, dword [esp + 0x44]
sete al
movzx edx, al
mov eax, dword [esp + 0x4c]
push edx
push 4
push eax
push esi
call fcn.00c9bbe0
test eax, eax
lea eax, [esp + 0x30]
je 0xca656e
push 1
jmp 0xca6570
push 0
call fcn.00c750c0
mov edi, dword [esp + 0x40]
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0xca64d0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
test eax, eax
jle 0xca674b
nop
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x44]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ebx, dword [eax + ecx*4]
mov esi, dword [edx + 8]
push ebx
lea eax, [esi + 0x28]
mov dword [esp + 0x5c], esi
call fcn.00da4740
mov esi, dword [esi + 0x2c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], esi
cmp eax, esi
je 0xca6629
mov ebp, dword [eax + 0x1c]
add eax, 0xc
mov edx, 0x10
cmp dword [eax + 0x14], edx
jb 0xca65e3
mov eax, dword [eax]
mov esi, dword [ebx + 0x10]
mov ecx, esi
cmp ecx, esi
jae 0xca65ec
mov ecx, esi
cmp esi, ebp
jb 0xca65f4
mov ecx, ebp
cmp dword [ebx + 0x14], edx
jb 0xca65fb
mov ebx, dword [ebx]
push ecx
push eax
push ebx
call fcn.00c6a9d0
add esp, 0xc
test eax, eax
jne 0xca661c
cmp esi, ebp
jae 0xca6613
or eax, 0xffffffff
jmp 0xca661a
xor eax, eax
cmp esi, ebp
setne al
test eax, eax
sets al
test al, al
jne 0xca6629
lea eax, [esp + 0x48]
jmp 0xca6635
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [esp + 0x58]
cmp eax, dword [ecx + 0x2c]
je 0xca6647
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0xca668b
mov eax, dword [esp + 0x30]
xor ecx, ecx
test edi, edi
je 0xca6679
jns 0xca666c
mov edx, edi
neg edx
je 0xca666c
or ecx, 0xffffffff
sub ecx, edi
shr ecx, 5
lea edx, [ecx*4 + 4]
sub eax, edx
jmp 0xca6674
mov ecx, edi
shr ecx, 5
lea eax, [eax + ecx*4]
and edi, 0x1f
mov ecx, edi
push ecx
push eax
push 0
lea eax, [esp + 0x3c]
call fcn.00c751f0
jmp 0xca6734
cmp ecx, dword [esp + 0x44]
sete dl
movzx eax, dl
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x30]
push 4
push edx
mov edx, dword [eax + 8]
push edx
call fcn.00c9bbe0
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x30]
je 0xca66f7
test edi, edi
je 0xca66ed
jns 0xca66e0
mov ecx, edi
neg ecx
je 0xca66e0
or edx, 0xffffffff
sub edx, edi
shr edx, 5
lea ecx, [edx*4 + 4]
sub eax, ecx
and edi, 0x1f
mov ecx, edi
push ecx
push eax
push 1
lea ebx, [esp + 0x70]
jmp 0xca672b
mov edx, edi
shr edx, 5
and edi, 0x1f
lea eax, [eax + edx*4]
mov ecx, edi
push ecx
push eax
push 1
lea ebx, [esp + 0x70]
jmp 0xca672b
test edi, edi
je 0xca6723
jns 0xca6716
mov ecx, edi
neg ecx
je 0xca6716
or edx, 0xffffffff
sub edx, edi
shr edx, 5
lea ecx, [edx*4 + 4]
sub eax, ecx
jmp 0xca671e
mov edx, edi
shr edx, 5
lea eax, [eax + edx*4]
and edi, 0x1f
mov ecx, edi
push ecx
push eax
push 0
lea ebx, [esp + 0x78]
lea edi, [esp + 0x3c]
call fcn.00c75170
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x14]
jl 0xca65a0
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0xc]
cmp eax, 1
jne 0xca685b
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
or dword [edx + 0x28], 0xe
mov dword [edx + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 0xc], 2
mov dword [edx + 0x10], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
xor esi, esi
test edi, edi
jle 0xca6844
test esi, esi
jns 0xca67a8
mov eax, esi
neg eax
je 0xca67a8
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
sub ecx, esi
shr ecx, 5
lea edx, [ecx*4 + 4]
sub eax, edx
jmp 0xca67b4
mov ecx, dword [esp + 0x30]
mov eax, esi
shr eax, 5
lea eax, [ecx + eax*4]
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x18]
test dword [eax], edx
mov eax, dword [ecx + 0x20]
setne byte [esp + 0x1c]
cmp dword [ecx + 0x1c], eax
jne 0xca6827
mov ecx, dword [ecx + 0x20]
inc eax
mov dword [esp + 0x58], eax
cmp ecx, eax
jge 0xca6827
mov ebp, dword [esp + 0x18]
mov ebx, dword [ebp + 0x18]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x58]
jl 0xca67f8
lea eax, [esp + 0x50]
mov eax, dword [eax]
push eax
mov dword [ebp + 0x20], eax
call fcn.00da7a7c
mov ecx, dword [ebp + 0x1c]
add esp, 4
push ecx
push ebx
push eax
mov dword [ebp + 0x18], eax
call fcn.00dac600
add ebp, 0x24
add esp, 0xc
cmp ebx, ebp
je 0xca6827
push ebx
call fcn.00da9081
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov bl, byte [esp + 0x1c]
mov byte [edx + ecx], bl
inc dword [eax + 0x1c]
inc esi
cmp esi, edi
jl 0xca6787
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [esp + 0x54]
mov edx, dword [edx]
push eax
mov dword [esp + 0x28], 0
call edx
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0xca6874
push eax
call fcn.00da8a36
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0xca688f
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00da8a41
add esp, 0x70
ret 8