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

Disassembly:
push 0xffffffffffffffff
push 0x3a51d1
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4116ec]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4116ec]
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.002aeab0
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
add esp, 8
cmp edi, eax
je 0x2aa959
mov ecx, eax
sub ecx, eax
sar ecx, 2
lea ebx, [ecx*4]
push ebx
push eax
push edi
call fcn.00338cc0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x14], ebx
xor ebp, ebp
cmp dword [esi + 0x30], ebp
je 0x2ab6e7
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.002aa470
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x2aa999
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
jmp 0x2aa99d
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 0x2aab0a
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 0x2aaab1
cmp esi, 0x2710
jae 0x2aaaad
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00337a7c
mov ebx, eax
add esp, 4
cmp ebp, ebx
je 0x2aaa45
push ebp
call fcn.00339081
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 0x2aaa09
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jle 0x2aaacf
jmp 0x2aaac0
mov edx, dword [edi]
add dword [ebp + eax*8], edx
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
jl 0x2aaac0
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.002aec60
push ebp
mov byte [esp + 0x14c], 1
call fcn.00339081
add esp, 4
add edi, 0xc
dec dword [esp + 0x78]
jne 0x2aa9e6
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 0x2aab5c
mov edx, ecx
cmp ebx, edx
ja 0x2aab5c
mov esi, ecx
sub esi, ebx
sar esi, 3
cmp edi, ebp
jne 0x2aab4a
lea eax, [esp + 0x54]
call fcn.002ae470
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0x2aab7e
mov eax, dword [ebx + esi*8]
mov dword [edi], eax
mov ecx, dword [ebx + esi*8 + 4]
mov dword [edi + 4], ecx
jmp 0x2aab7e
cmp edi, ebp
jne 0x2aab71
lea eax, [esp + 0x54]
call fcn.002ae470
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0x2aab7e
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 0x2aab9f
mov byte [esp + 0x148], 0
test ebx, ebx
je 0x2ab6cb
push ebx
jmp 0x2ab6c3
mov eax, dword [esp + 0x30]
push eax
call fcn.00337a7c
mov ebp, dword [esp + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x100]
add esp, 4
cmp eax, esi
je 0x2aabcb
push eax
call fcn.00339081
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 0x2aac37
mov edi, dword [sym.imp.USP10.dll_ScriptBreak]
mov ebx, dword [esp + 0x2c]
jmp 0x2aabf0
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 0x2aabf0
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 0x2aaddd
mov dword [esp + 0x20], 2
jmp 0x2aac74
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 0x2aad3d
mov ecx, eax
cmp ebp, ecx
ja 0x2aad3d
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 0x2aad19
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 0x2aaeba
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 0x2aad19
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0x2aacff
xor eax, eax
jmp 0x2aad01
add eax, edx
cmp eax, ecx
jae 0x2aad07
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00308a40
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
lea edx, [ebx + ebx*2]
lea eax, [ebp + edx*4]
test esi, esi
je 0x2aadbf
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 0x2aadbf
mov edi, dword [esp + 0x3c]
cmp esi, edi
jne 0x2aadab
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 0x2aaeba
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 0x2aadab
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0x2aad91
xor eax, eax
jmp 0x2aad93
add eax, edx
cmp eax, ecx
jae 0x2aad99
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00308a40
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0x2aadbf
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 0x2aac70
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 0x2ab125
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 0x2ab0f6
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 0x2aaf03
mov ecx, eax
cmp ebp, ecx
ja 0x2aaf03
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, ebx
jne 0x2aaee2
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 0x2aaeba
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 0x2aaee2
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0x2aaec4
xor eax, eax
jmp 0x2aaec6
push 0x3c88f8
call fcn.003379c1
add eax, edx
cmp eax, ecx
jae 0x2aaecc
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00308a40
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 0x2aaf81
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 0x2aaf81
cmp esi, ebx
jne 0x2aaf6d
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 0x2aaeba
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 0x2aaf6d
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0x2aaf4f
xor eax, eax
jmp 0x2aaf51
add eax, edx
cmp eax, ecx
jae 0x2aaf57
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00308a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0x2aaf81
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 0x2ab069
mov eax, edx
cmp ebp, eax
ja 0x2ab069
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 0x2ab045
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 0x2aaeba
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 0x2ab045
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0x2ab027
xor eax, eax
jmp 0x2ab029
add eax, edx
cmp eax, ecx
jae 0x2ab02f
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00308a40
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 0x2ab0eb
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 0x2ab0eb
cmp esi, ebx
jne 0x2ab0d7
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 0x2aaeba
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 0x2ab0d7
mov edx, eax
shr edx, 1
mov esi, 0x15555555
sub esi, edx
cmp esi, eax
jae 0x2ab0b9
xor eax, eax
jmp 0x2ab0bb
add eax, edx
cmp eax, ecx
jae 0x2ab0c1
mov eax, ecx
push eax
lea esi, [esp + 0x38]
call fcn.00308a40
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test esi, esi
je 0x2ab0eb
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 0x2aae10
cmp ebp, esi
je 0x2ab193
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 0x2aa440
mov eax, edx
push eax
push ecx
push esi
push ebp
mov byte [esp + 0x15c], 4
call fcn.002aee00
mov byte [esp + 0x15c], 3
mov eax, dword [esp + 0x78]
add esp, 0x14
cmp eax, edi
je 0x2ab193
push eax
call fcn.00338a36
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.00275f20
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 0x2ab60b
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 0x2ab558
push 0x108
call fcn.00338a50
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor edi, edi
mov byte [esp + 0x148], 7
cmp esi, edi
je 0x2ab27d
mov ecx, esi
call fcn.00275f20
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 0x2ab27f
xor esi, esi
mov byte [esp + 0x148], 6
lea edi, [esp + 0x8c]
mov dword [esp + 0x2c], esi
call fcn.0025aa00
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 0x2ab305
mov eax, dword [ebx + 0x14]
mov edi, dword [eax - 4]
push esi
call fcn.002a9970
add esp, 4
test al, al
jne 0x2ab305
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 0x2ab318
mov eax, dword [esi + 0x3c]
jmp 0x2ab327
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x2ab372
call fcn.002782b0
cmp eax, 1
je 0x2ab372
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.002a9cd0
fld qword [esp + 0x20]
or dword [esi + 0xa4], 2
fstp qword [esi + 0x20]
fld qword [esp + 0x48]
add esp, 4
call fcn.00398790
mov ebx, dword [esp + 0x14]
mov dword [esi + 0xc4], eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0x2c]
cmp ecx, eax
jae 0x2ab478
mov edx, dword [ebx + 0x10]
cmp edx, ecx
ja 0x2ab478
mov esi, ecx
mov ecx, dword [ebx + 0x18]
sub esi, edx
sar esi, 2
mov dword [esp + 0x1c], esi
cmp eax, ecx
jne 0x2ab45a
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x2aaeba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x2ab45a
mov edi, ecx
mov edx, edi
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, edi
jae 0x2ab3d5
xor edi, edi
jmp 0x2ab3d7
add edi, edx
cmp edi, eax
jae 0x2ab3dd
mov edi, eax
cmp edi, 0x3fffffff
ja 0x2aaeba
cmp ecx, edi
jae 0x2ab45a
xor ebx, ebx
test edi, edi
je 0x2ab40d
lea edx, [edi*4]
push edx
call fcn.00338a50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x2ab70f
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.00338cc0
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
sub esi, eax
add esp, 0xc
sar esi, 2
test eax, eax
je 0x2ab443
push eax
call fcn.00338a36
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 0x2ab46f
mov edx, dword [esi]
mov dword [eax], edx
add dword [ecx + 0x14], 4
jmp 0x2ab558
mov ecx, dword [ebx + 0x18]
cmp eax, ecx
jne 0x2ab547
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x2aaeba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x2ab547
mov ebx, ecx
mov edx, ebx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ebx
jae 0x2ab4bd
xor ebx, ebx
jmp 0x2ab4bf
add ebx, edx
cmp ebx, eax
jae 0x2ab4c5
mov ebx, eax
cmp ebx, 0x3fffffff
ja 0x2aaeba
cmp ecx, ebx
jae 0x2ab547
xor ebp, ebp
test ebx, ebx
je 0x2ab4f5
lea eax, [ebx*4]
push eax
call fcn.00338a50
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x2ab730
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.00338cc0
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
sub edi, eax
add esp, 0xc
sar edi, 2
test eax, eax
je 0x2ab52e
push eax
call fcn.00338a36
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 0x2ab554
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 0x2ab5bb
dec eax
je 0x2ab577
dec eax
jne 0x2ab5eb
add dword [esp + 0x50], 8
jmp 0x2ab5eb
mov ebx, dword [esp + 0x68]
lea edi, [ebx - 0xb0]
lea esi, [esp + 0x8c]
call fcn.0025aa00
cmp dword [esp + 0x64], ebx
je 0x2ab5eb
cmp dword [edi + 0x14], 0x10
jb 0x2ab5a4
mov eax, dword [edi]
push eax
call fcn.00338a36
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov dword [esp + 0x68], edi
jmp 0x2ab5eb
lea ecx, [esp + 0x8c]
lea ebx, [esp + 0x64]
call fcn.002ae280
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.00276a20
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], 0xc
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x78]
jb 0x2ab1f4
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 0x2ab638
mov edx, dword [esp + 0x8c]
push edx
call fcn.00338a36
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 0x2ab69d
mov esi, ebx
cmp ebx, edi
je 0x2ab694
cmp dword [esi + 0x14], 0x10
jb 0x2ab679
mov eax, dword [esi]
push eax
call fcn.00338a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0xb0
cmp esi, edi
jne 0x2ab668
push ebx
call fcn.00338a36
add esp, 4
mov byte [esp + 0x148], 1
test ebp, ebp
je 0x2ab6b2
push ebp
call fcn.00338a36
add esp, 4
mov byte [esp + 0x148], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x2ab6cb
push eax
call fcn.00338a36
add esp, 4
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x2ab6e7
push eax
call fcn.00338a36
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.00338a41
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.001f4df0
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.001f4df0
int3