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

Disassembly:
push 0xffffffffffffffff
push 0x1bb5da
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x2316ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov edi, dword [esp + 0x88]
mov esi, dword [edi + 0x3c]
mov ebp, dword [edi + 0x40]
sub ebp, esi
mov eax, 0xb21642c9
imul ebp
add edx, ebp
sar edx, 7
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0xca56c
xor ebp, ebp
jmp 0xca4e0
mov edx, dword [esi + ebp + 0xa4]
shr edx, 0xd
test dl, 1
je 0xca540
mov eax, dword [esi + ebp + 0xb0]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
lea edi, [esp + 0x68]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
call fcn.00128930
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x3c]
mov edx, dword [eax + ebp + 0xb4]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ebx
call fcn.00128930
mov edi, dword [esp + 0x88]
mov esi, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add ebp, 0xb8
xor ecx, ecx
cmp ebx, eax
jb 0xca4e0
mov edx, dword [edi + 0x30]
mov ebx, 2
lea eax, [esp + 0x4c]
lea edi, [esp + 0x68]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
call fcn.00128930
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
cmp ebp, esi
je 0xca5a0
mov edi, ebp
call fcn.000cebc0
mov edi, dword [esp + 0x88]
mov eax, dword [edi + 0xf4]
shr eax, 0xd
test al, 1
je 0xca5c0
mov cl, byte [edi + 0xf0]
mov byte [esp + 0x17], cl
jmp 0xca5da
mov eax, dword [edi + 0xf8]
test eax, eax
je 0xca5d5
call fcn.000980f0
mov byte [esp + 0x17], al
jmp 0xca5da
mov byte [esp + 0x17], 0
xor eax, eax
push 0x14
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], eax
call fcn.00158a50
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0xca8b8
mov dword [esp + 0x5c], eax
mov dword [eax], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 8], eax
mov edx, dword [esp + 0x5c]
mov byte [edx + 0x10], 1
mov eax, dword [esp + 0x5c]
mov byte [eax + 0x11], 1
sub esi, ebp
mov eax, 0x2aaaaaab
imul esi
mov byte [esp + 0x80], bl
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
je 0xca834
add ebp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [esp + 0x18]
cmp edx, ecx
jge 0xca682
mov edi, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov cl, byte [esp + 0x17]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x54], cl
call fcn.000ce1c0
mov edi, dword [esp + 0x88]
mov eax, dword [ebp - 4]
sub eax, 0
mov edx, dword [ebp - 8]
mov dword [esp + 0x18], edx
je 0xca792
dec eax
jne 0xca81c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov eax, ebp
call fcn.000ce740
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea esi, [esp + 0x2c]
lea eax, [esp + 0x60]
call fcn.000b42e0
cmp dword [esp + 0x60], 0
jne 0xca6f3
mov ecx, dword [edi + 0xf4]
shr ecx, 0xd
test cl, 1
je 0xca6e8
mov dl, byte [edi + 0xf0]
mov byte [esp + 0x17], dl
jmp 0xca81c
mov eax, dword [edi + 0xf8]
jmp 0xca776
mov ecx, dword [esp + 0x5c]
cmp byte [ecx + 0x11], 0
je 0xca702
mov ecx, dword [ecx + 8]
jmp 0xca747
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
jne 0xca722
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x11], 0
jne 0xca747
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x11], 0
je 0xca715
jmp 0xca747
mov eax, dword [ecx + 4]
cmp byte [eax + 0x11], 0
jne 0xca73f
jmp 0xca730
cmp ecx, dword [eax]
jne 0xca73f
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0xca730
cmp byte [ecx + 0x11], 0
jne 0xca747
mov ecx, eax
mov eax, dword [ecx + 0xc]
imul eax, eax, 0xb8
add eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0xa4]
shr ecx, 0xd
test cl, 1
je 0xca770
mov dl, byte [eax + 0xa0]
mov byte [esp + 0x17], dl
jmp 0xca81c
mov eax, dword [eax + 0xa8]
test eax, eax
je 0xca788
call fcn.000980f0
mov byte [esp + 0x17], al
jmp 0xca81c
mov byte [esp + 0x17], 0
jmp 0xca81c
mov eax, dword [ebp]
imul eax, eax, 0xb8
add eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0xa4]
shr ecx, 0xd
test cl, 1
je 0xca7b8
mov dl, byte [eax + 0xa0]
mov byte [esp + 0x17], dl
jmp 0xca7d2
mov eax, dword [eax + 0xa8]
test eax, eax
je 0xca7cd
call fcn.000980f0
mov byte [esp + 0x17], al
jmp 0xca7d2
mov byte [esp + 0x17], 0
push 0x14
call fcn.00158a50
add esp, 4
test eax, eax
je 0xca897
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
lea ecx, [eax + 0xc]
mov word [eax + 0x10], 0
test ecx, ecx
je 0xca80a
mov edx, dword [ebp]
mov dword [ecx], edx
push eax
lea esi, [esp + 0x44]
lea ebx, [esp + 0x5c]
call fcn.000ceaf0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc eax
add ebp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, ebx
jb 0xca646
mov ebp, dword [esp + 0x68]
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
push ecx
push eax
lea esi, [esp + 0x90]
lea eax, [esp + 0x60]
call fcn.000b42e0
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x5c]
push eax
call fcn.00158a36
add esp, 4
mov dword [esp + 0x80], 0xffffffff
test ebp, ebp
je 0xca881
push ebp
call fcn.00158a36
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 3
call fcn.00014df0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 1
call fcn.00014df0
int3