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

Disassembly:
push 0xffffffffffffffff
push 0xfc51d1
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10316ec]
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.00eceab0
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
add esp, 8
cmp edi, eax
je 0xeca959
mov ecx, eax
sub ecx, eax
sar ecx, 2
lea ebx, [ecx*4]
push ebx
push eax
push edi
call fcn.00f58cc0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x14], ebx
xor ebp, ebp
cmp dword [esi + 0x30], ebp
je 0xecb6e7
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.00eca470
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0xeca999
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
jmp 0xeca99d
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 0xecab0a
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 0xecaab1
cmp esi, 0x2710
jae 0xecaaad
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00f57a7c
mov ebx, eax
add esp, 4
cmp ebp, ebx
je 0xecaa45
push ebp
call fcn.00f59081
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 0xecaa09
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jle 0xecaacf
jmp 0xecaac0
mov edx, dword [edi]
add dword [ebp + eax*8], edx
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
jl 0xecaac0
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.00ecec60
push ebp
mov byte [esp + 0x14c], 1
call fcn.00f59081
add esp, 4
add edi, 0xc
dec dword [esp + 0x78]
jne 0xeca9e6
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 0xecab5c
mov edx, ecx
cmp ebx, edx
ja 0xecab5c
mov esi, ecx
sub esi, ebx
sar esi, 3
cmp edi, ebp
jne 0xecab4a
lea eax, [esp + 0x54]
call fcn.00ece470
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0xecab7e
mov eax, dword [ebx + esi*8]
mov dword [edi], eax
mov ecx, dword [ebx + esi*8 + 4]
mov dword [edi + 4], ecx
jmp 0xecab7e
cmp edi, ebp
jne 0xecab71
lea eax, [esp + 0x54]
call fcn.00ece470
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0xecab7e
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 0xecab9f
mov byte [esp + 0x148], 0
test ebx, ebx
je 0xecb6cb
push ebx
jmp 0xecb6c3
mov eax, dword [esp + 0x30]
push eax
call fcn.00f57a7c
mov ebp, dword [esp + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x100]
add esp, 4
cmp eax, esi
je 0xecabcb
push eax
call fcn.00f59081
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 0xecac37
mov edi, dword [sym.imp.USP10.dll_ScriptBreak]
mov ebx, dword [esp + 0x2c]
jmp 0xecabf0
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 0xecabf0
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 0xecaddd
mov dword [esp + 0x20], 2
jmp 0xecac74
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 0xecad3d
mov ecx, eax
cmp ebp, ecx
ja 0xecad3d
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 0xecad19
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 0xecaeba
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 0xecad19
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xecacff
xor eax, eax
jmp 0xecad01
add eax, edx
cmp eax, ecx
jae 0xecad07
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00f28a40
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
lea edx, [ebx + ebx*2]
lea eax, [ebp + edx*4]
test esi, esi
je 0xecadbf
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 0xecadbf
mov edi, dword [esp + 0x3c]
cmp esi, edi
jne 0xecadab
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 0xecaeba
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 0xecadab
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xecad91
xor eax, eax
jmp 0xecad93
add eax, edx
cmp eax, ecx
jae 0xecad99
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00f28a40
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0xecadbf
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 0xecac70
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 0xecb125
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 0xecb0f6
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 0xecaf03
mov ecx, eax
cmp ebp, ecx
ja 0xecaf03
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, ebx
jne 0xecaee2
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 0xecaeba
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 0xecaee2
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xecaec4
xor eax, eax
jmp 0xecaec6
push 0xfe88f8
call fcn.00f579c1
add eax, edx
cmp eax, ecx
jae 0xecaecc
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00f28a40
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 0xecaf81
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 0xecaf81
cmp esi, ebx
jne 0xecaf6d
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 0xecaeba
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 0xecaf6d
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xecaf4f
xor eax, eax
jmp 0xecaf51
add eax, edx
cmp eax, ecx
jae 0xecaf57
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00f28a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0xecaf81
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 0xecb069
mov eax, edx
cmp ebp, eax
ja 0xecb069
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 0xecb045
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 0xecaeba
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 0xecb045
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xecb027
xor eax, eax
jmp 0xecb029
add eax, edx
cmp eax, ecx
jae 0xecb02f
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00f28a40
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 0xecb0eb
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 0xecb0eb
cmp esi, ebx
jne 0xecb0d7
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 0xecaeba
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 0xecb0d7
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0xecb0b9
xor eax, eax
jmp 0xecb0bb
add eax, edx
cmp eax, ecx
jae 0xecb0c1
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00f28a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0xecb0eb
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 0xecae10
cmp ebp, esi
je 0xecb193
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 0xeca440
mov eax, edx
push eax
push ecx
push esi
push ebp
mov byte [esp + 0x15c], 4
call fcn.00ecee00
mov byte [esp + 0x15c], 3
mov eax, dword [esp + 0x78]
add esp, 0x14
cmp eax, edi
je 0xecb193
push eax
call fcn.00f58a36
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.00e95f20
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 0xecb60b
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 0xecb558
push 0x108
call fcn.00f58a50
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor edi, edi
mov byte [esp + 0x148], 7
cmp esi, edi
je 0xecb27d
mov ecx, esi
call fcn.00e95f20
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 0xecb27f
xor esi, esi
mov byte [esp + 0x148], 6
lea edi, [esp + 0x8c]
mov dword [esp + 0x2c], esi
call fcn.00e7aa00
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 0xecb305
mov eax, dword [ebx + 0x14]
mov edi, dword [eax - 4]
push esi
call fcn.00ec9970
add esp, 4
test al, al
jne 0xecb305
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 0xecb318
mov eax, dword [esi + 0x3c]
jmp 0xecb327
mov eax, dword [esi + 0xa8]
test eax, eax
je 0xecb372
call fcn.00e982b0
cmp eax, 1
je 0xecb372
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.00ec9cd0
fld qword [esp + 0x20]
or dword [esi + 0xa4], 2
fstp qword [esi + 0x20]
fld qword [esp + 0x48]
add esp, 4
call fcn.00fb8790
mov ebx, dword [esp + 0x14]
mov dword [esi + 0xc4], eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0x2c]
cmp ecx, eax
jae 0xecb478
mov edx, dword [ebx + 0x10]
cmp edx, ecx
ja 0xecb478
mov esi, ecx
mov ecx, dword [ebx + 0x18]
sub esi, edx
sar esi, 2
mov dword [esp + 0x1c], esi
cmp eax, ecx
jne 0xecb45a
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xecaeba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xecb45a
mov edi, ecx
mov edx, edi
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, edi
jae 0xecb3d5
xor edi, edi
jmp 0xecb3d7
add edi, edx
cmp edi, eax
jae 0xecb3dd
mov edi, eax
cmp edi, 0x3fffffff
ja 0xecaeba
cmp ecx, edi
jae 0xecb45a
xor ebx, ebx
test edi, edi
je 0xecb40d
lea edx, [edi*4]
push edx
call fcn.00f58a50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0xecb70f
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.00f58cc0
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
sub esi, eax
add esp, 0xc
sar esi, 2
test eax, eax
je 0xecb443
push eax
call fcn.00f58a36
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 0xecb46f
mov edx, dword [esi]
mov dword [eax], edx
add dword [ecx + 0x14], 4
jmp 0xecb558
mov ecx, dword [ebx + 0x18]
cmp eax, ecx
jne 0xecb547
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0xecaeba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0xecb547
mov ebx, ecx
mov edx, ebx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ebx
jae 0xecb4bd
xor ebx, ebx
jmp 0xecb4bf
add ebx, edx
cmp ebx, eax
jae 0xecb4c5
mov ebx, eax
cmp ebx, 0x3fffffff
ja 0xecaeba
cmp ecx, ebx
jae 0xecb547
xor ebp, ebp
test ebx, ebx
je 0xecb4f5
lea eax, [ebx*4]
push eax
call fcn.00f58a50
mov ebp, eax
add esp, 4
test ebp, ebp
je 0xecb730
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.00f58cc0
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
sub edi, eax
add esp, 0xc
sar edi, 2
test eax, eax
je 0xecb52e
push eax
call fcn.00f58a36
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 0xecb554
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 0xecb5bb
dec eax
je 0xecb577
dec eax
jne 0xecb5eb
add dword [esp + 0x50], 8
jmp 0xecb5eb
mov ebx, dword [esp + 0x68]
lea edi, [ebx - 0xb0]
lea esi, [esp + 0x8c]
call fcn.00e7aa00
cmp dword [esp + 0x64], ebx
je 0xecb5eb
cmp dword [edi + 0x14], 0x10
jb 0xecb5a4
mov eax, dword [edi]
push eax
call fcn.00f58a36
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov dword [esp + 0x68], edi
jmp 0xecb5eb
lea ecx, [esp + 0x8c]
lea ebx, [esp + 0x64]
call fcn.00ece280
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.00e96a20
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], 0xc
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x78]
jb 0xecb1f4
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 0xecb638
mov edx, dword [esp + 0x8c]
push edx
call fcn.00f58a36
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 0xecb69d
mov esi, ebx
cmp ebx, edi
je 0xecb694
cmp dword [esi + 0x14], 0x10
jb 0xecb679
mov eax, dword [esi]
push eax
call fcn.00f58a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0xb0
cmp esi, edi
jne 0xecb668
push ebx
call fcn.00f58a36
add esp, 4
mov byte [esp + 0x148], 1
test ebp, ebp
je 0xecb6b2
push ebp
call fcn.00f58a36
add esp, 4
mov byte [esp + 0x148], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0xecb6cb
push eax
call fcn.00f58a36
add esp, 4
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x7c]
test eax, eax
je 0xecb6e7
push eax
call fcn.00f58a36
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.00f58a41
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.00e14df0
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.00e14df0
int3