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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x364
mov eax, dword [0x100a1040]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x80], eax
mov ebx, 0x7fffffff
lea eax, [ecx + 0x18]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x70], 0x80000000
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x20], esi
test ecx, ecx
jle 0x1002a4b2
mov ecx, dword [esi + edx*4]
cmp ecx, 0x80000000
je 0x1002a4a5
cmp ebx, ecx
mov eax, ecx
cmovl eax, ebx
cmp dword [esp + 0x70], ecx
mov ebx, eax
cmovg ecx, dword [esp + 0x70]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x4c]
inc edx
cmp edx, ecx
jl 0x1002a484
mov dword [esp + 0x44], ebx
xor ebx, ebx
mov eax, 0x80000000
nop dword [eax]
mov edx, eax
mov eax, ebx
cmp ebx, ecx
jge 0x1002a4de
nop dword [eax + eax]
cmp dword [esi + eax*4], 0x80000000
jne 0x1002a4de
inc eax
cmp eax, ecx
jl 0x1002a4d0
mov ebx, dword [esi + eax*4]
mov edi, eax
inc eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x50], ebx
cmp eax, ecx
jge 0x1002a50e
mov ecx, dword [esi + eax*4]
cmp ecx, 0x80000000
je 0x1002a4ff
cmp ecx, ebx
jne 0x1002a50a
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
jl 0x1002a4f0
jmp 0x1002a50e
mov ecx, dword [esp + 0x4c]
mov ebx, eax
mov dword [esp + 0x58], ebx
cmp eax, ecx
jge 0x1002a521
mov ecx, dword [esi + eax*4]
mov eax, dword [esp + 0x50]
jmp 0x1002a527
mov eax, dword [esp + 0x50]
mov ecx, eax
cmp edx, 0x80000000
cmove edx, eax
mov eax, ecx
cmp edx, ecx
cmovg eax, edx
cmovl ecx, edx
mov edx, dword [esp + 0x50]
cmp eax, edx
cmovg edx, eax
mov dword [esp + 0x3c], edx
jl 0x1002a558
cmp dword [esp + 0x50], ecx
cmovl ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
jmp 0x1002a55e
mov ecx, eax
mov dword [esp + 0x54], eax
cmp edi, dword [esp + 0x4c]
jge 0x1002b143
mov eax, edx
sub eax, ecx
cmp eax, 0x3c
jg 0x1002b143
cmp edx, dword [esp + 0x50]
jle 0x1002a8e1
cmp edi, ebx
jge 0x1002a67f
mov edx, dword [esp + 0x68]
mov ecx, esi
sub ecx, edx
mov dword [esp + 0x5c], ecx
lea eax, [edx + edi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
lea eax, [eax + edi*4]
add eax, 0x1ec0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x278]
mov esi, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, ebx
mov ebx, dword [esp + 0x1c]
sub eax, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x10], eax
nop dword [eax + eax]
cmp dword [ebx + ecx], 0x80000000
je 0x1002a660
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0x2aaaaac0
mov eax, dword [esp + 0x14]
imul dword [esp + 0x1c]
shl edx, 1
mov dword [esp + 0x14], edx
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0x2aaaaac0
mov eax, dword [esp + 0x18]
imul dword [esp + 0x1c]
shl edx, 1
mov dword [esp + 0x18], edx
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], 0x2aaaaac0
mov eax, dword [esp + 0x34]
imul dword [esp + 0x1c]
shl edx, 1
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov edx, dword [esi + 0x1e0]
mov ecx, dword [esi]
sub edx, 0x13ee7b47
cmp eax, edx
cmovg edx, eax
mov eax, dword [esp + 0x10]
cmp edx, ecx
cmovl ecx, edx
mov dword [ebx + edi], ecx
mov ecx, dword [esp + 0x5c]
add ebx, 4
add esi, 4
sub eax, 1
mov dword [esp + 0x10], eax
jne 0x1002a5d0
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, dword [esi + edi*4]
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x3c]
jg 0x1002a8e1
lea eax, [edi*4]
lea ecx, [esi + 0xec]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x98]
cmp eax, ecx
ja 0x1002a6b4
lea eax, [esp + 0x184]
mov ecx, 0x3c
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
mov eax, edi
cmp edi, ebx
jge 0x1002a6e9
nop dword [eax]
cmp dword [esp + eax*4 + 0x98], 0x80000000
je 0x1002a6e4
mov dword [esp + eax*4 + 0x98], edx
inc eax
cmp eax, ebx
jl 0x1002a6d0
push ebx
push edi
push dword [esp + 0x54]
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x30]
call fcn.1002c250
push ebx
push edi
push dword [esp + 0x9c]
mov esi, eax
lea eax, [esp + 0xb8]
push dword [esp + 0xa4]
push dword [esp + 0xac]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x78]
push dword [esp + 0xc0]
call fcn.1002c0d0
add esp, 0x38
lea ecx, [esi + eax]
add ecx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
jns 0x1002a8bc
mov dword [esp + 0x28], 1
mov eax, edi
mov dword [esp + 0x14], edi
cmp edi, ebx
jge 0x1002a809
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x188]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x98]
sub edx, edi
sub ecx, edi
mov dword [esp + 0x2c], edx
add esi, edi
lea edx, [esp + 0x278]
mov dword [esp + 0x5c], ecx
sub edx, edi
mov dword [esp + 0x40], edx
cmp dword [ecx + esi], 0x80000000
je 0x1002a7da
push dword [ebp + 0x18]
mov ecx, dword [esi]
push dword [esp + 0x1c]
mov eax, dword [esi + 4]
sub eax, ecx
push eax
mov eax, dword [esp + 0x78]
lea eax, [eax + ecx*2]
push eax
mov eax, dword [esp + 0x58]
lea eax, [eax + ecx*4]
push eax
call fcn.100233d0
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x2c]
mov dword [eax + esi], ecx
mov eax, dword [esp + 0x40]
cmp ecx, dword [eax + esi]
mov eax, dword [esp + 0x14]
jg 0x1002a7e8
mov ecx, dword [esp + 0x5c]
inc eax
add esi, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x1002a790
jmp 0x1002a801
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], 0
cmp ecx, dword [edx + eax*4 + 0x20a0]
je 0x1002a8d9
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
je 0x1002a8bc
mov dword [esp + 0x64], ecx
cmp edi, ebx
jge 0x1002a8bc
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x188]
mov ecx, dword [esp + 0x68]
lea esi, [edi*4]
add esi, dword [esp + 0x30]
sub ecx, eax
sub edx, eax
mov dword [esp + 0x2c], ecx
mov ecx, eax
mov dword [esp + 0x10], edx
sub ecx, dword [esp + 0x30]
mov eax, ebx
mov ebx, dword [esp + 0x6c]
sub eax, edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], eax
nop dword [eax]
add ecx, esi
cmp dword [ecx], 0x80000000
je 0x1002a8aa
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ecx + edx]
mov edx, dword [esp + 0x2c]
mov dword [ecx + edx], eax
xor eax, eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
test ecx, ecx
jle 0x1002a8a6
mov edi, dword [esp + 0x74]
nop dword [eax + eax]
add edx, eax
inc eax
mov cx, word [ebx + edx*2]
mov word [edi + edx*2], cx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
cmp eax, ecx
jl 0x1002a890
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
add esi, 4
sub dword [esp + 0x28], 1
jne 0x1002a860
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
inc edx
mov dword [esp + 0x18], edx
lea ecx, [esi + 0xec]
cmp edx, dword [esp + 0x3c]
jle 0x1002a6a2
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
cmp eax, dword [esi + edi*4]
jne 0x1002ad62
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x54], eax
jge 0x1002ad66
mov eax, dword [esp + 0x70]
sub eax, ecx
cmp eax, 0x3c
jg 0x1002ad66
lea eax, [esi + 0xec]
xor edx, edx
lea ecx, [esp + 0x98]
cmp ecx, eax
ja 0x1002a925
lea eax, [esp + 0x184]
mov ecx, 0x3c
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
mov eax, edi
cmp edi, ebx
jge 0x1002a974
mov edi, dword [esp + 0x54]
cmp dword [esp + eax*4 + 0x98], 0x80000000
je 0x1002a963
mov ecx, dword [ebp + 0x20]
mov dword [esp + eax*4 + 0x98], edi
cmp edi, dword [ecx + eax*4]
mov ecx, 1
cmovl edx, ecx
inc eax
cmp eax, ebx
jl 0x1002a941
mov edi, dword [esp + 0x24]
test edx, edx
jne 0x1002ad5e
push ebx
push edi
push dword [esp + 0x54]
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x30]
call fcn.1002c250
push ebx
push edi
push dword [esp + 0x9c]
mov esi, eax
lea eax, [esp + 0xb8]
push dword [esp + 0xa4]
push dword [esp + 0xac]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x78]
push dword [esp + 0xc0]
call fcn.1002c0d0
add eax, esi
add esp, 0x38
add eax, dword [esp + 0x64]
mov dword [esp + 0x38], eax
jns 0x1002ad5e
xor esi, esi
mov dword [esp + 0x3c], edi
xor ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
cmp edi, ebx
jge 0x1002ac83
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
add edx, 0x1ec0
lea eax, [ecx + edi*4]
mov dword [esp + 0x34], eax
lea esi, [edx + edi*4]
mov edx, dword [esp + 0x68]
lea edi, [esp + 0x98]
mov dword [esp + 0x28], esi
sub edi, edx
sub edx, ecx
lea ecx, [esp + 0x188]
mov dword [esp + 0x78], edi
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
add edx, eax
cmp dword [edx + edi], 0x80000000
je 0x1002ac52
mov ebx, dword [edx]
mov eax, ebx
sar eax, 0x19
neg eax
mov dword [esp + 0x1c], 0x16302f
test ebx, ebx
lea edi, [eax + 0x1f]
cmovle edi, eax
mov eax, ebx
sar eax, 0x14
xor esi, esi
and eax, 0x1f
cmp ebx, 0xc2000000
cmovge esi, dword [eax*4 + 0x1006fbb8]
mov eax, ebx
sar eax, 0xf
and eax, 0x1f
mov eax, dword [eax*4 + 0x1006fc38]
mov dword [esp + 0x2c], eax
mov eax, ebx
sar eax, 0xa
and eax, 0x1f
mov ecx, dword [eax*4 + 0x1006fcb8]
mov eax, ebx
and eax, 0x3ff
shl eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x2c]
shl edx, 1
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x1c]
shl edx, 1
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x34]
cmp edi, 0x1f
push dword [ebp + 0x18]
mov eax, 0x1f
cmovg edi, eax
mov eax, dword [esp + 0x18]
push dword [esp + 0x58]
mov ecx, edi
mov edi, dword [esp + 0x74]
lea edx, [eax*8]
shr edx, cl
xor ecx, ecx
cmp ebx, 0x3e000000
setge cl
xor eax, eax
test ebx, ebx
sete al
or ecx, eax
mov eax, 0x7fffffff
mov ecx, dword [esi]
cmovne edx, eax
lea eax, [esi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [eax]
sub eax, ecx
sar edx, 3
add dword [esp + 0x20], edx
push eax
lea eax, [edi + ecx*2]
push eax
mov eax, dword [esp + 0x58]
lea eax, [eax + ecx*4]
push eax
call fcn.100233d0
mov ebx, eax
add esp, 0x14
mov eax, dword [esp + 0x40]
mov dword [esi + eax], ebx
mov eax, dword [esp + 0x28]
cmp ebx, dword [eax]
jg 0x1002ac72
mov ecx, ebx
mov dword [esp + 0x1c], 0x16302f
sar ecx, 0x19
mov eax, ebx
neg ecx
test ebx, ebx
lea edi, [ecx + 0x1f]
cmovle edi, ecx
sar eax, 0x14
and eax, 0x1f
xor esi, esi
cmp ebx, 0xc2000000
cmovge esi, dword [eax*4 + 0x1006fbb8]
mov eax, ebx
sar eax, 0xf
and eax, 0x1f
mov eax, dword [eax*4 + 0x1006fc38]
mov dword [esp + 0x2c], eax
mov eax, ebx
sar eax, 0xa
and eax, 0x1f
mov ecx, dword [eax*4 + 0x1006fcb8]
mov eax, ebx
and eax, 0x3ff
shl eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x2c]
shl edx, 1
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x1c]
shl edx, 1
mov dword [esp + 0x14], edx
cmp edi, 0x1f
mov esi, dword [esp + 0x28]
mov eax, 0x1f
cmovg edi, eax
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x78]
lea edx, [eax*8]
shr edx, cl
xor ecx, ecx
cmp ebx, 0x3e000000
setge cl
xor eax, eax
test ebx, ebx
mov ebx, dword [esp + 0x58]
sete al
or ecx, eax
mov eax, 0x7fffffff
mov ecx, dword [esp + 0x3c]
cmovne edx, eax
mov eax, dword [esp + 0x5c]
sar edx, 3
add dword [esp + 0x10], edx
jmp 0x1002ac55
add eax, 4
inc ecx
mov dword [esp + 0x34], eax
add esi, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], esi
cmp ecx, ebx
jge 0x1002ac7f
mov edx, dword [esp + 0x60]
jmp 0x1002aa31
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
lea esi, [ecx + ecx]
jmp 0x1002ac87
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x10], 0x66666680
mov eax, dword [esp + 0x10]
imul dword [esp + 0x18]
shl edx, 1
mov dword [esp + 0x10], edx
cmp esi, dword [esp + 0x10]
jge 0x1002ad5e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
jge 0x1002ad5e
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x188]
lea esi, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
sub edx, ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
sub edx, ecx
mov dword [esp + 0x60], edx
mov edx, ecx
sub edx, dword [esp + 0x30]
mov ecx, ebx
mov ebx, dword [esp + 0x74]
sub ecx, eax
mov dword [esp + 0x10], edx
mov eax, ecx
mov dword [esp + 0x18], ecx
nop word [eax + eax]
cmp dword [esi + edx], 0x80000000
lea ecx, [esi + edx]
je 0x1002ad4e
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov eax, dword [ecx + eax]
mov dword [ecx + edx], eax
xor edx, edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
test eax, eax
jle 0x1002ad46
nop dword [eax]
add ecx, edx
inc edx
mov ax, word [edi + ecx*2]
mov word [ebx + ecx*2], ax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
cmp edx, eax
jl 0x1002ad30
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add esi, 4
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x1002ad00
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x70]
sub eax, ecx
cmp eax, 0x39
jg 0x1002b143
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x1002ad88
mov ecx, edx
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 3
lea esi, [edi*4]
mov dword [esp + 0x18], esi
nop
mov ecx, dword [esp + edi*4 + 0x98]
mov eax, edi
dec ecx
mov dword [esp + 0x2c], ecx
cmp edi, ebx
jge 0x1002adcb
cmp dword [esp + eax*4 + 0x98], 0x80000000
je 0x1002adc6
mov dword [esp + eax*4 + 0x98], ecx
inc eax
cmp eax, ebx
jl 0x1002adb2
push ebx
push edi
push edx
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x30]
call fcn.1002c250
add eax, dword [esp + 0x78]
add esp, 0x14
mov dword [esp + 0x7c], eax
test eax, eax
jg 0x1002b134
xor ecx, ecx
mov dword [esp + 0x94], 1
xor eax, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], eax
mov ecx, edi
mov dword [esp + 0x40], ecx
cmp edi, ebx
jge 0x1002b134
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x98]
add esi, dword [esp + 0x30]
sub edx, dword [esp + 0x30]
mov dword [esp + 0x3c], esi
lea eax, [eax + edi*4]
mov dword [esp + 0x78], edx
mov edi, dword [esp + 0x68]
add eax, 0x20a0
sub edi, dword [esp + 0x30]
mov dword [esp + 0x5c], edi
lea edi, [esp + 0x188]
sub edi, dword [esp + 0x30]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
nop dword [eax]
cmp dword [esi + edx], 0x80000000
je 0x1002b0aa
mov eax, dword [esp + 0x28]
mov ecx, dword [esi]
add eax, esi
push eax
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x34]
mov eax, dword [esi + 4]
sub eax, ecx
push eax
mov eax, dword [esp + 0x84]
lea eax, [eax + ecx*2]
push eax
mov eax, dword [esp + 0x5c]
lea eax, [eax + ecx*4]
push eax
call fcn.10023520
mov ebx, dword [edi + esi]
add esp, 0x18
mov eax, ebx
mov dword [esp + 0x38], 0x16302f
sar eax, 0x19
neg eax
test ebx, ebx
lea edi, [eax + 0x1f]
cmovle edi, eax
mov eax, ebx
sar eax, 0x14
xor esi, esi
and eax, 0x1f
cmp ebx, 0xc2000000
cmovge esi, dword [eax*4 + 0x1006fbb8]
mov eax, ebx
sar eax, 0xf
and eax, 0x1f
mov eax, dword [eax*4 + 0x1006fc38]
mov dword [esp + 0x60], eax
mov eax, ebx
sar eax, 0xa
and eax, 0x1f
mov ecx, dword [eax*4 + 0x1006fcb8]
mov eax, ebx
and eax, 0x3ff
shl eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x60]
shl edx, 1
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x38]
shl edx, 1
mov dword [esp + 0x10], edx
cmp edi, 0x1f
mov eax, 0x1f
cmovg edi, eax
mov eax, dword [esp + 0x10]
mov ecx, edi
lea edx, [eax*8]
shr edx, cl
xor ecx, ecx
cmp ebx, 0x3e000000
setge cl
xor eax, eax
test ebx, ebx
mov ebx, dword [esp + 0x3c]
sete al
or ecx, eax
mov eax, 0x7fffffff
cmovne edx, eax
mov eax, dword [esp + 0x28]
sar edx, 3
add dword [esp + 0x54], edx
mov ebx, dword [ebx + eax]
mov eax, ebx
sar eax, 0x19
neg eax
test ebx, ebx
lea edi, [eax + 0x1f]
cmovle edi, eax
mov eax, ebx
mov dword [esp + 0x38], 0x16302f
sar eax, 0x14
xor esi, esi
and eax, 0x1f
cmp ebx, 0xc2000000
cmovge esi, dword [eax*4 + 0x1006fbb8]
mov eax, ebx
sar eax, 0xf
and eax, 0x1f
mov eax, dword [eax*4 + 0x1006fc38]
mov dword [esp + 0x60], eax
mov eax, ebx
sar eax, 0xa
and eax, 0x1f
mov ecx, dword [eax*4 + 0x1006fcb8]
mov eax, ebx
and eax, 0x3ff
shl eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x60]
shl edx, 1
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x38]
shl edx, 1
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x3c]
cmp edi, 0x1f
mov eax, 0x1f
cmovg edi, eax
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edi, dword [esp + 0x5c]
lea edx, [eax*8]
shr edx, cl
xor ecx, ecx
cmp ebx, 0x3e000000
setge cl
xor eax, eax
test ebx, ebx
sete al
or ecx, eax
mov eax, 0x7fffffff
mov ecx, dword [esp + 0x28]
cmovne edx, eax
mov eax, dword [edi + esi]
sar edx, 3
add eax, 0x55077b
add dword [esp + 0x34], edx
cmp dword [esi + ecx], eax
jg 0x1002b16c
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
sub eax, 0xff2bfe
cmp dword [esp + 0x90], eax
jl 0x1002b16c
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
inc ecx
add esi, 4
add eax, 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], eax
cmp ecx, ebx
jl 0x1002ae60
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x54]
jge 0x1002b12c
test edx, edx
je 0x1002b12c
mov eax, dword [esp + 0x7c]
lea esi, [esp + 0x188]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
sub edx, eax
mov dword [esp + 0x7c], edx
add ecx, eax
mov edi, dword [esp + 0x7c]
mov edx, ebx
mov ebx, dword [esp + 0x2c]
sub esi, eax
sub edx, dword [esp + 0x24]
nop dword [eax]
cmp dword [ecx], 0x80000000
je 0x1002b120
mov eax, dword [ecx + esi]
mov dword [ecx], ebx
mov dword [edi + ecx], eax
add ecx, 4
sub edx, 1
jne 0x1002b110
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
sub dword [esp + 0x1c], 1
mov edx, dword [esp + 0x4c]
jne 0x1002ada0
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
cmp ebx, ecx
jle 0x1002a4c0
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b025
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x58]
xor edx, edx
jmp 0x1002b0cc