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

Disassembly:
push 0xffffffffffffffff
push 0xd3b5da
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
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 0xc4a56c
xor ebp, ebp
jmp 0xc4a4e0
mov edx, dword [esi + ebp + 0xa4]
shr edx, 0xd
test dl, 1
je 0xc4a540
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.00ca8930
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.00ca8930
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 0xc4a4e0
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.00ca8930
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
cmp ebp, esi
je 0xc4a5a0
mov edi, ebp
call fcn.00c4ebc0
mov edi, dword [esp + 0x88]
mov eax, dword [edi + 0xf4]
shr eax, 0xd
test al, 1
je 0xc4a5c0
mov cl, byte [edi + 0xf0]
mov byte [esp + 0x17], cl
jmp 0xc4a5da
mov eax, dword [edi + 0xf8]
test eax, eax
je 0xc4a5d5
call fcn.00c180f0
mov byte [esp + 0x17], al
jmp 0xc4a5da
mov byte [esp + 0x17], 0
xor eax, eax
push 0x14
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], eax
call fcn.00cd8a50
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0xc4a8b8
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 0xc4a834
add ebp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [esp + 0x18]
cmp edx, ecx
jge 0xc4a682
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.00c4e1c0
mov edi, dword [esp + 0x88]
mov eax, dword [ebp - 4]
sub eax, 0
mov edx, dword [ebp - 8]
mov dword [esp + 0x18], edx
je 0xc4a792
dec eax
jne 0xc4a81c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov eax, ebp
call fcn.00c4e740
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea esi, [esp + 0x2c]
lea eax, [esp + 0x60]
call fcn.00c342e0
cmp dword [esp + 0x60], 0
jne 0xc4a6f3
mov ecx, dword [edi + 0xf4]
shr ecx, 0xd
test cl, 1
je 0xc4a6e8
mov dl, byte [edi + 0xf0]
mov byte [esp + 0x17], dl
jmp 0xc4a81c
mov eax, dword [edi + 0xf8]
jmp 0xc4a776
mov ecx, dword [esp + 0x5c]
cmp byte [ecx + 0x11], 0
je 0xc4a702
mov ecx, dword [ecx + 8]
jmp 0xc4a747
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
jne 0xc4a722
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x11], 0
jne 0xc4a747
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x11], 0
je 0xc4a715
jmp 0xc4a747
mov eax, dword [ecx + 4]
cmp byte [eax + 0x11], 0
jne 0xc4a73f
jmp 0xc4a730
cmp ecx, dword [eax]
jne 0xc4a73f
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0xc4a730
cmp byte [ecx + 0x11], 0
jne 0xc4a747
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 0xc4a770
mov dl, byte [eax + 0xa0]
mov byte [esp + 0x17], dl
jmp 0xc4a81c
mov eax, dword [eax + 0xa8]
test eax, eax
je 0xc4a788
call fcn.00c180f0
mov byte [esp + 0x17], al
jmp 0xc4a81c
mov byte [esp + 0x17], 0
jmp 0xc4a81c
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 0xc4a7b8
mov dl, byte [eax + 0xa0]
mov byte [esp + 0x17], dl
jmp 0xc4a7d2
mov eax, dword [eax + 0xa8]
test eax, eax
je 0xc4a7cd
call fcn.00c180f0
mov byte [esp + 0x17], al
jmp 0xc4a7d2
mov byte [esp + 0x17], 0
push 0x14
call fcn.00cd8a50
add esp, 4
test eax, eax
je 0xc4a897
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 0xc4a80a
mov edx, dword [ebp]
mov dword [ecx], edx
push eax
lea esi, [esp + 0x44]
lea ebx, [esp + 0x5c]
call fcn.00c4eaf0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc eax
add ebp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, ebx
jb 0xc4a646
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.00c342e0
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x5c]
push eax
call fcn.00cd8a36
add esp, 4
mov dword [esp + 0x80], 0xffffffff
test ebp, ebp
je 0xc4a881
push ebp
call fcn.00cd8a36
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.00b94df0
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.00b94df0
int3