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

Disassembly:
push 0xffffffffffffffff
push 0xd451d1
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], esi
call fcn.00c4eab0
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
add esp, 8
cmp edi, eax
je 0xc4a959
mov ecx, eax
sub ecx, eax
sar ecx, 2
lea ebx, [ecx*4]
push ebx
push eax
push edi
call fcn.00cd8cc0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x14], ebx
xor ebp, ebp
cmp dword [esi + 0x30], ebp
je 0xc4b6e7
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
lea eax, [esp + 0x7c]
push eax
push esi
mov dword [esp + 0x150], ebp
call fcn.00c4a470
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0xc4a999
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
jmp 0xc4a99d
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x30]
mov dword [esp + 0x30], edx
mov ebx, 0x8007000e
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x148], 1
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0xc4ab0a
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x148], 2
lea esi, [ecx + 0x64]
cmp ebx, 0x8007000e
jne 0xc4aab1
cmp esi, 0x2710
jae 0xc4aaad
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00cd7a7c
mov ebx, eax
add esp, 4
cmp ebp, ebx
je 0xc4aa45
push ebp
call fcn.00cd9081
mov ebp, ebx
add esp, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x50], 0
movzx eax, byte [edi + 8]
and eax, 1
shl eax, 0x15
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x50], eax
mov word [esp + 0x18], cx
cmp byte [edi + 8], cl
setne dl
and dx, 0x1f
mov word [esp + 0x18], dx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
lea edx, [esp + 0x44]
push edx
push ebp
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x5c]
push edx
sub eax, ecx
lea edx, [esi - 1]
push edx
push eax
mov eax, dword [esp + 0x44]
lea ecx, [eax + ecx*2]
push ecx
call dword [sym.imp.USP10.dll_ScriptItemize]
mov ebx, eax
add esi, esi
cmp ebx, 0x8007000e
je 0xc4aa09
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jle 0xc4aacf
jmp 0xc4aac0
mov edx, dword [edi]
add dword [ebp + eax*8], edx
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
jl 0xc4aac0
mov edx, dword [esp + 0x58]
lea eax, [ebp + ecx*8]
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push ebp
push edx
lea esi, [esp + 0x64]
call fcn.00c4ec60
push ebp
mov byte [esp + 0x14c], 1
call fcn.00cd9081
add esp, 4
add edi, 0xc
dec dword [esp + 0x78]
jne 0xc4a9e6
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x54]
xor esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
cmp ecx, edi
jae 0xc4ab5c
mov edx, ecx
cmp ebx, edx
ja 0xc4ab5c
mov esi, ecx
sub esi, ebx
sar esi, 3
cmp edi, ebp
jne 0xc4ab4a
lea eax, [esp + 0x54]
call fcn.00c4e470
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0xc4ab7e
mov eax, dword [ebx + esi*8]
mov dword [edi], eax
mov ecx, dword [ebx + esi*8 + 4]
mov dword [edi + 4], ecx
jmp 0xc4ab7e
cmp edi, ebp
jne 0xc4ab71
lea eax, [esp + 0x54]
call fcn.00c4e470
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0xc4ab7e
mov edx, dword [esp + 0x1c]
mov dword [edi], edx
mov dword [edi + 4], esi
add edi, 8
mov dword [esp + 0x58], edi
cmp ebx, edi
jne 0xc4ab9f
mov byte [esp + 0x148], 0
test ebx, ebx
je 0xc4b6cb
push ebx
jmp 0xc4b6c3
mov eax, dword [esp + 0x30]
push eax
call fcn.00cd7a7c
mov ebp, dword [esp + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x100]
add esp, 4
cmp eax, esi
je 0xc4abcb
push eax
call fcn.00cd9081
add esp, 4
mov dword [ebp + 0x100], esi
sub edi, ebx
sar edi, 3
lea ebp, [edi - 1]
xor esi, esi
mov dword [esp + 0x30], edi
test ebp, ebp
je 0xc4ac37
mov edi, dword [sym.imp.USP10.dll_ScriptBreak]
mov ebx, dword [esp + 0x2c]
jmp 0xc4abf0
mov edx, dword [esp + 0x54]
mov eax, dword [edx + esi*8]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x100]
add ecx, eax
push ecx
lea ecx, [edx + esi*8 + 4]
mov edx, dword [edx + esi*8 + 8]
push ecx
sub edx, eax
push edx
lea eax, [ebx + eax*2]
push eax
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x100]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + esi*8]
or byte [edx + ecx], 8
lea eax, [edx + ecx]
inc esi
cmp esi, ebp
jb 0xc4abf0
mov edi, dword [esp + 0x30]
xor ebp, ebp
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
xor eax, eax
mov byte [esp + 0x148], 3
mov dword [esp + 0x2c], eax
test edi, edi
je 0xc4addd
mov dword [esp + 0x20], 2
jmp 0xc4ac74
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + eax*8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
cmp eax, esi
jae 0xc4ad3d
mov ecx, eax
cmp ebp, ecx
ja 0xc4ad3d
mov edi, dword [esp + 0x3c]
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, edi
jne 0xc4ad19
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x15555554
ja 0xc4aeba
mov edx, edi
sub edx, ebp
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0xc4ad19
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xc4acff
xor eax, eax
jmp 0xc4ad01
add eax, edx
cmp eax, ecx
jae 0xc4ad07
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00ca8a40
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
lea edx, [ebx + ebx*2]
lea eax, [ebp + edx*4]
test esi, esi
je 0xc4adbf
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
jmp 0xc4adbf
mov edi, dword [esp + 0x3c]
cmp esi, edi
jne 0xc4adab
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x15555554
ja 0xc4aeba
mov edx, edi
sub edx, ebp
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0xc4adab
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xc4ad91
xor eax, eax
jmp 0xc4ad93
add eax, edx
cmp eax, ecx
jae 0xc4ad99
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00ca8a40
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0xc4adbf
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov eax, dword [esp + 0x2c]
inc eax
add esi, 0xc
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jb 0xc4ac70
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x40]
sub ecx, dword [edi + 0x3c]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], 0
je 0xc4b125
mov dword [esp + 0x44], 0
mov eax, dword [edi + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + edx + 0xb4]
sub ecx, dword [eax + edx + 0xb0]
je 0xc4b0f6
mov edi, dword [eax + edx + 0xb0]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
cmp eax, esi
jae 0xc4af03
mov ecx, eax
cmp ebp, ecx
ja 0xc4af03
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, ebx
jne 0xc4aee2
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x15555554
ja 0xc4aeba
mov edx, ebx
sub edx, ebp
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0xc4aee2
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xc4aec4
xor eax, eax
jmp 0xc4aec6
push 0xd688f8
call fcn.00cd79c1
add eax, edx
cmp eax, ecx
jae 0xc4aecc
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00ca8a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
lea edx, [edi + edi*2]
lea eax, [ebp + edx*4]
test esi, esi
je 0xc4af81
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
jmp 0xc4af81
cmp esi, ebx
jne 0xc4af6d
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x15555554
ja 0xc4aeba
mov edx, ebx
sub edx, ebp
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0xc4af6d
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xc4af4f
xor eax, eax
jmp 0xc4af51
add eax, edx
cmp eax, ecx
jae 0xc4af57
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00ca8a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0xc4af81
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x3c]
add eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov edi, dword [eax + 0xb4]
add esi, 0xc
lea edx, [esp + 0x64]
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], ecx
cmp edx, esi
jae 0xc4b069
mov eax, edx
cmp ebp, eax
ja 0xc4b069
mov ecx, edx
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, ebx
jne 0xc4b045
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x15555554
ja 0xc4aeba
mov edx, ebx
sub edx, ebp
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0xc4b045
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xc4b027
xor eax, eax
jmp 0xc4b029
add eax, edx
cmp eax, ecx
jae 0xc4b02f
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00ca8a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
lea ecx, [edi + edi*2]
lea eax, [ebp + ecx*4]
test esi, esi
je 0xc4b0eb
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
jmp 0xc4b0eb
cmp esi, ebx
jne 0xc4b0d7
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x15555554
ja 0xc4aeba
mov edx, ebx
sub edx, ebp
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0xc4b0d7
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xc4b0b9
xor eax, eax
jmp 0xc4b0bb
add eax, edx
cmp eax, ecx
jae 0xc4b0c1
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00ca8a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0xc4b0eb
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov edi, dword [esp + 0x14]
add esi, 0xc
mov dword [esp + 0x38], esi
mov ecx, dword [edi + 0x40]
sub ecx, dword [edi + 0x3c]
inc dword [esp + 0x18]
add dword [esp + 0x44], 0xb8
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0xc4ae10
cmp ebp, esi
je 0xc4b193
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + 1]
cdq
sub eax, edx
xor edi, edi
sar eax, 1
lea edx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
push 0xc4a440
mov eax, edx
push eax
push ecx
push esi
push ebp
mov byte [esp + 0x15c], 4
call fcn.00c4ee00
mov byte [esp + 0x15c], 3
mov eax, dword [esp + 0x78]
add esp, 0x14
cmp eax, edi
je 0xc4b193
push eax
call fcn.00cd8a36
add esp, 4
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x148], 5
call fcn.00c15f20
xor eax, eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x148], 6
mov dword [esp + 0x44], eax
sub esi, ebp
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x78], eax
je 0xc4b60b
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffffc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
cmp dword [eax], edx
jle 0xc4b558
push 0x108
call fcn.00cd8a50
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor edi, edi
mov byte [esp + 0x148], 7
cmp esi, edi
je 0xc4b27d
mov ecx, esi
call fcn.00c15f20
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov byte [esi + 0x100], 0
jmp 0xc4b27f
xor esi, esi
mov byte [esp + 0x148], 6
lea edi, [esp + 0x8c]
mov dword [esp + 0x2c], esi
call fcn.00bfaa00
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 0x50]
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xb0], edx
mov ecx, dword [eax]
mov edx, dword [esp + 0x50]
mov dword [esi + 0xb4], ecx
mov eax, dword [edx]
mov dword [esi + 0xd0], eax
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
test ecx, 0xfffffffc
je 0xc4b305
mov eax, dword [ebx + 0x14]
mov edi, dword [eax - 4]
push esi
call fcn.00c49970
add esp, 4
test al, al
jne 0xc4b305
mov eax, dword [ebx + 0x14]
mov eax, dword [eax - 4]
mov edx, 0x2000
or word [eax + 0xd0], dx
mov eax, 0x1000
or word [esi + 0xd0], ax
mov ecx, dword [esi + 0xa4]
shr ecx, 8
test cl, 1
je 0xc4b318
mov eax, dword [esi + 0x3c]
jmp 0xc4b327
mov eax, dword [esi + 0xa8]
test eax, eax
je 0xc4b372
call fcn.00c182b0
cmp eax, 1
je 0xc4b372
fldz
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x13c]
fst qword [esp + 0x44]
lea edx, [esp + 0x44]
fstp qword [esp + 0x1c]
push edx
lea ebx, [esp + 0x20]
call fcn.00c49cd0
fld qword [esp + 0x20]
or dword [esi + 0xa4], 2
fstp qword [esi + 0x20]
fld qword [esp + 0x48]
add esp, 4
call fcn.00d38790
mov ebx, dword [esp + 0x14]
mov dword [esi + 0xc4], eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0x2c]
cmp ecx, eax
jae 0xc4b478
mov edx, dword [ebx + 0x10]
cmp edx, ecx
ja 0xc4b478
mov esi, ecx
mov ecx, dword [ebx + 0x18]
sub esi, edx
sar esi, 2
mov dword [esp + 0x1c], esi
cmp eax, ecx
jne 0xc4b45a
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xc4aeba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xc4b45a
mov edi, ecx
mov edx, edi
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, edi
jae 0xc4b3d5
xor edi, edi
jmp 0xc4b3d7
add edi, edx
cmp edi, eax
jae 0xc4b3dd
mov edi, eax
cmp edi, 0x3fffffff
ja 0xc4aeba
cmp ecx, edi
jae 0xc4b45a
xor ebx, ebx
test edi, edi
je 0xc4b40d
lea edx, [edi*4]
push edx
call fcn.00cd8a50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0xc4b70f
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
add eax, eax
add eax, eax
push eax
push ecx
push ebx
call fcn.00cd8cc0
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
sub esi, eax
add esp, 0xc
sar esi, 2
test eax, eax
je 0xc4b443
push eax
call fcn.00cd8a36
add esp, 4
mov eax, dword [esp + 0x14]
lea edx, [ebx + esi*4]
mov esi, dword [esp + 0x1c]
lea ecx, [ebx + edi*4]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
lea esi, [eax + esi*4]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0xc4b46f
mov edx, dword [esi]
mov dword [eax], edx
add dword [ecx + 0x14], 4
jmp 0xc4b558
mov ecx, dword [ebx + 0x18]
cmp eax, ecx
jne 0xc4b547
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xc4aeba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xc4b547
mov ebx, ecx
mov edx, ebx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ebx
jae 0xc4b4bd
xor ebx, ebx
jmp 0xc4b4bf
add ebx, edx
cmp ebx, eax
jae 0xc4b4c5
mov ebx, eax
cmp ebx, 0x3fffffff
ja 0xc4aeba
cmp ecx, ebx
jae 0xc4b547
xor ebp, ebp
test ebx, ebx
je 0xc4b4f5
lea eax, [ebx*4]
push eax
call fcn.00cd8a50
mov ebp, eax
add esp, 4
test ebp, ebp
je 0xc4b730
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
push edx
push ecx
push ebp
call fcn.00cd8cc0
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
sub edi, eax
add esp, 0xc
sar edi, 2
test eax, eax
je 0xc4b52e
push eax
call fcn.00cd8a36
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [ebp + ebx*4]
lea edx, [ebp + edi*4]
mov dword [eax + 0x10], ebp
mov ebp, dword [esp + 0x34]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0xc4b554
mov dword [ecx], esi
add dword [eax + 0x14], 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, 0
mov dword [esp + 0x44], ecx
je 0xc4b5bb
dec eax
je 0xc4b577
dec eax
jne 0xc4b5eb
add dword [esp + 0x50], 8
jmp 0xc4b5eb
mov ebx, dword [esp + 0x68]
lea edi, [ebx - 0xb0]
lea esi, [esp + 0x8c]
call fcn.00bfaa00
cmp dword [esp + 0x64], ebx
je 0xc4b5eb
cmp dword [edi + 0x14], 0x10
jb 0xc4b5a4
mov eax, dword [edi]
push eax
call fcn.00cd8a36
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov dword [esp + 0x68], edi
jmp 0xc4b5eb
lea ecx, [esp + 0x8c]
lea ebx, [esp + 0x64]
call fcn.00c4e280
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 8]
mov eax, dword [esp + 0x14]
imul edi, edi, 0xb8
add edi, dword [eax + 0x3c]
lea esi, [esp + 0x8c]
call fcn.00c16a20
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], 0xc
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x78]
jb 0xc4b1f4
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x148], 5
cmp dword [esp + 0xa0], 0x10
mov byte [ecx + 0x138], 0
jb 0xc4b638
mov edx, dword [esp + 0x8c]
push edx
call fcn.00cd8a36
add esp, 4
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
mov byte [esp + 0x148], 3
test ebx, ebx
je 0xc4b69d
mov esi, ebx
cmp ebx, edi
je 0xc4b694
cmp dword [esi + 0x14], 0x10
jb 0xc4b679
mov eax, dword [esi]
push eax
call fcn.00cd8a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0xb0
cmp esi, edi
jne 0xc4b668
push ebx
call fcn.00cd8a36
add esp, 4
mov byte [esp + 0x148], 1
test ebp, ebp
je 0xc4b6b2
push ebp
call fcn.00cd8a36
add esp, 4
mov byte [esp + 0x148], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0xc4b6cb
push eax
call fcn.00cd8a36
add esp, 4
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x7c]
test eax, eax
je 0xc4b6e7
push eax
call fcn.00cd8a36
add esp, 4
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x138
ret
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 8
call fcn.00b94df0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 9
call fcn.00b94df0
int3