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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x64
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x9c]
mov eax, dword [ebx + 8]
mov dword [esp + 0x50], eax
cmp ebp, 1
je 0x6002fda2
cmp ebp, 2
je 0x6002fd98
cmp ebp, 4
je 0x6002fd8e
mov ebx, 1
mov eax, dword [esp + 0x8c]
shl eax, 6
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x94]
cmp ecx, esi
je 0x6002eed0
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x6002eed0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de0]
test esi, esi
mov dword [esp + 0x3c], esi
je 0x6002e9c0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37c0]
mov dword [esp + 0x48], esi
jmp 0x6002e9cd
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
mov dword [esp + 0x48], esi
cmp ebp, 1
je 0x6002f01e
cmp ebp, 2
je 0x6002ec79
cmp ebp, 4
jne 0x6002eb29
mov al, byte [esp + 0xa0]
test al, al
je 0x6002eac0
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x6002eda7
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x3c]
mov ebp, esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
jmp 0x6002ea31
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x6002ea50
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x6002ea6b
mov eax, dword [esp + 0x80]
mov ebx, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebx + 4]
imul eax, dword [ecx + ebx + 8]
mov ebx, eax
cmp eax, 1
je 0x6002ef70
lea ebx, [eax - 1]
test eax, eax
je 0x6002eaad
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebp
inc ebp
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x50]
dec ebx
cmp ebx, 0xffffffff
jne 0x6002ea90
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x6002ea2b
jmp 0x6002ef2c
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x6002eda7
mov eax, esi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, eax
mov esi, esi
lea edi, [edi]
mov dword [esp], ebx
call dword [ebp + 0x50]
add ebx, 0x80
inc esi
cmp esi, edi
jl 0x6002eb00
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x6002eda7
cmp ebp, 8
jne 0x6002eda7
mov al, byte [esp + 0xa0]
test al, al
je 0x6002ec10
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x6002eda7
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
jmp 0x6002eb7d
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x6002eba0
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x6002ebbb
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebp + 4]
imul eax, dword [ecx + ebp + 8]
mov ebp, eax
cmp eax, 1
je 0x6002ef48
lea ebp, [eax - 1]
test eax, eax
je 0x6002ebfd
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebx
inc ebx
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x54]
dec ebp
cmp ebp, 0xffffffff
jne 0x6002ebe0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x6002eb77
jmp 0x6002efb0
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x6002eda7
mov eax, edi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x8c]
mov esi, esi
lea edi, [edi]
mov dword [esp], esi
call dword [ebp + 0x54]
add esi, 0x80
inc edi
cmp edi, ebx
jl 0x6002ec50
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x6002eda7
mov al, byte [esp + 0xa0]
test al, al
je 0x6002ed50
xor eax, eax
xor esi, esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x40], esi
jle 0x6002eda7
mov dword [esp + 0x30], edx
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
jmp 0x6002ecc2
mov eax, dword [edi + 0x4de0]
test eax, eax
je 0x6002ece0
mov ecx, dword [edi + 0x37cc]
mov edx, esi
shl edx, 4
mov eax, dword [edx + ecx + 4]
imul eax, dword [edx + ecx + 8]
jmp 0x6002ecfb
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x34]
mov edx, esi
shl edx, 4
lea ecx, [edx + esi*8]
mov eax, dword [ecx + ebp + 4]
imul eax, dword [ecx + ebp + 8]
mov ebp, eax
cmp eax, 1
je 0x6002ef90
lea ebp, [eax - 1]
test eax, eax
je 0x6002ed3d
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esi]
mov edx, ebx
inc ebx
shl edx, 6
lea eax, [edi + edx*2]
mov dword [esp], eax
call dword [esi + 0x4c]
dec ebp
cmp ebp, 0xffffffff
jne 0x6002ed20
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
inc esi
mov eax, dword [esp + 0x48]
cmp esi, eax
jl 0x6002ecbc
jmp 0x6002f002
xor esi, esi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x6002eda7
mov eax, esi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, eax
mov dword [esp], ebx
call dword [ebp + 0x4c]
add ebx, 0x80
inc esi
cmp esi, edi
jl 0x6002ed83
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4ddc]
test esi, esi
je 0x6002eed0
xor ebx, ebx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37c0]
test edi, edi
jle 0x6002eff8
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x37cc]
shl ecx, 4
mov esi, dword [esp + 0x94]
mov ebp, esi
shl ebp, 7
mov dword [esp + 0x44], ebp
shl esi, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov ecx, ebx
xor ebp, ebp
mov esi, ecx
shl esi, 4
mov ebx, dword [esi + eax + 8]
test ebx, ebx
jle 0x6002efef
mov edx, dword [esi + eax + 4]
lea edi, [ecx + ecx]
mov dword [esp + 0x24], ecx
xor ecx, ecx
test edx, edx
jle 0x6002efd8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x78]
jmp 0x6002ee48
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + eax + 8]
imul ebx, dword [esp + 0x30]
mov eax, dword [esi + 0x4ddc]
mov ebp, edx
imul ebp, dword [esp + 0x34]
add ebp, dword [eax + edi*2 + 4]
imul edx, dword [esp + 0x44]
add ebx, dword [esp + 0x2c]
imul ebx, edx
add ebp, ebx
mov edx, ecx
shl edx, 4
add ebp, edx
xor ebx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], 0x10
call dword [0x6004fee8]
mov eax, dword [esi + 0x37cc]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + eax + 4]
mov ecx, dword [esp + 0x40]
imul ecx, edx
add ebp, ecx
add edi, 0x10
inc ebx
cmp ebx, 8
jl 0x6002ee81
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
inc ecx
cmp ecx, edx
jl 0x6002ee40
jmp 0x6002efcc
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4de8]
cmp esi, 1
je 0x6002f0a7
cmp ebp, 1
je 0x6002f089
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov dword [esp], ebp
mov al, byte [esp + 0xa0]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], al
call fcn.60004500
xor eax, eax
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x6002eda7
mov edx, ebx
inc ebx
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x50]
jmp 0x6002ebfd
mov edx, ebp
inc ebp
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x4c]
jmp 0x6002eaad
mov edx, ebx
inc ebx
shl edx, 6
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov dword [esp], ecx
call dword [eax + 0x48]
jmp 0x6002ed3d
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x6002eda7
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + eax + 8]
inc ebp
cmp ebp, ebx
jl 0x6002ee19
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov edi, dword [edx + 0x37c0]
inc ecx
cmp ecx, edi
jl 0x6002edfb
xor eax, eax
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x6002eda7
xor edi, edi
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x6002eda7
mov eax, edi
shl eax, 7
mov ebp, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
mov esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x8c]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], esi
call dword [ebp + 0x48]
add esi, 0x80
inc edi
cmp edi, ebx
jl 0x6002f060
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
jmp 0x6002eda7
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x50]
call dword [edx + 0xa0]
jmp 0x6002ef22
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
cmp edi, 2
je 0x6002f9d0
cmp edi, 2
jne 0x6002eee3
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 2
jne 0x6002eee3
cmp ebp, 1
jne 0x6002eeec
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 4]
sar eax, 4
mov dword [esp + 0x58], eax
mov esi, dword [edi + 8]
sar esi, 4
mov dword [esp + 0x5c], esi
mov edi, dword [edi + 0x4dec]
cmp edx, dword [edi + 0x10]
je 0x6002f164
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x44], eax
mov dword [edi], esi
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x98]
cmp edx, eax
jne 0x6002f14d
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4dec]
mov esi, dword [edi + 0xc]
mov dword [edi + 8], esi
mov edi, dword [eax + 0x4dec]
mov esi, dword [esp + 0x44]
mov dword [edi + 0xc], esi
mov edi, dword [eax + 0x4dec]
jmp 0x6002f164
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov edi, dword [edi + 0x4dec]
mov dword [edi + 0x10], edx
mov eax, dword [esp + 0x94]
cmp ecx, eax
je 0x6002f782
mov eax, dword [esp + 0x98]
cmp edx, eax
je 0x6002f782
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
mov dword [esp + 0x60], esi
jne 0x6002f2a7
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x6002f297
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
cdq
idiv esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x6002f27f
xor eax, eax
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x54]
mov dword [esp + 0x2c], eax
test edi, edi
mov dword [esp + 0x48], edi
jle 0x6002f2b5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37cc]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
neg edi
add edi, 8
mov eax, dword [esp + 0x2c]
shl eax, 4
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
lea esi, [eax + ecx]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x6002f804
shl edi, 7
add ecx, 0x10
inc ebx
imul edi, dword [esi + 8]
add edx, edi
mov esi, dword [esp + 0x48]
cmp ebx, esi
jl 0x6002f238
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x6002f2b5
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x6002f8a0
jmp 0x6002f2b5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x6002f2b5
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x98]
lea esi, [eax - 1]
cmp edx, esi
mov dword [esp + 0x48], esi
jne 0x6002f394
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x50]
and eax, 0xf
je 0x6002f394
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
xor edi, edi
cdq
idiv esi
mov edx, dword [esp + 0x78]
mov edx, dword [edx + 0x54]
mov dword [esp + 0x3c], edi
test edx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
jle 0x6002f394
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x37cc]
add eax, eax
mov dword [esp + 0x44], edi
add eax, eax
add eax, eax
mov esi, eax
neg esi
add esi, 0x40
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x3c]
shl esi, 4
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x38], ebx
mov ebx, edi
lea edi, [ebx + ecx]
mov esi, dword [edi + 8]
cmp esi, 1
je 0x6002f93e
mov edi, dword [edi + 4]
shl edi, 7
imul esi, edi
add eax, esi
add ecx, 0x10
inc edx
cmp edx, ebp
jl 0x6002f351
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x54]
lea eax, [esi + esi]
imul eax, ecx
mov dword [esp + 0x2c], eax
lea edi, [esi + esi]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x3c], edi
mov esi, dword [esi + 0x4dec]
mov esi, dword [esi + 8]
mov edi, dword [esp + 0x54]
lea esi, [esi + edi*2]
add esi, eax
lea eax, [edi - 1]
test edi, edi
je 0x6002f3ee
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x24]
mov esi, esi
movzx ebx, word [ebp]
dec eax
add ebp, 2
mov word [esi], bx
add esi, 2
cmp eax, 0xffffffff
jne 0x6002f3d0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x6002f457
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 8]
add esi, 0xe
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
lea eax, [edi - 1]
test edi, edi
je 0x6002f457
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
mov ecx, 7
nop
lea esi, [esi]
movzx ebp, word [ebx]
add ebx, 0x10
dec ecx
mov word [esi], bp
add esi, 0x10
cmp ecx, 0xffffffff
jne 0x6002f430
dec eax
cmp eax, 0xffffffff
jne 0x6002f426
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x6002f4d7
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x4dec]
mov edi, dword [esp + 0x94]
lea edi, [edi + edi]
mov esi, dword [esi + 0x4834]
add esi, 0xe
imul edi, dword [esp + 0x54]
add edi, dword [eax + 8]
add edi, dword [esp + 0x3c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
lea eax, [edi - 1]
test edi, edi
je 0x6002f4d7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
mov ebp, 7
nop
movzx ecx, word [esi]
add esi, 0x10
dec ebp
mov word [ebx], cx
add ebx, 0x10
cmp ebp, 0xffffffff
jne 0x6002f4b0
dec eax
cmp eax, 0xffffffff
jne 0x6002f4aa
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test edx, edx
jne 0x6002f622
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 4]
add esi, dword [esp + 0x3c]
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x8c]
add esi, dword [esp + 0x2c]
lea eax, [eax - 1]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
mov dword [esp + 0x40], eax
je 0x6002f55a
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
add esi, 0x70
mov ebx, 7
nop
lea esi, [esi]
movzx ebp, word [ecx]
add ecx, 2
dec ebx
mov word [esi], bp
add esi, 2
cmp ebx, 0xffffffff
jne 0x6002f530
add ecx, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x6002f523
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x6002f5b4
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 4]
add esi, 0x7e
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x6002f5b4
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x44]
nop
movzx ebx, word [ebp]
add ebp, 0x80
dec eax
mov word [esi], bx
add esi, 0x80
cmp eax, 0xffffffff
jne 0x6002f590
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x6002f622
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4dec]
mov esi, dword [esp + 0x94]
lea esi, [esi + esi]
mov eax, dword [eax + 0x4834]
add eax, 0xe
imul esi, dword [esp + 0x54]
add esi, dword [edi + 4]
mov edi, dword [esp + 0x3c]
lea esi, [esi + edi + 0x70]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x6002f622
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
lea esi, [esi]
movzx ebp, word [eax]
add eax, 0x80
dec ebx
mov word [esi], bp
add esi, 0x80
cmp ebx, 0xffffffff
jne 0x6002f600
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x48]
cmp edx, eax
jne 0x6002f782
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x3c]
mov edi, dword [eax + 0x4834]
mov eax, dword [esp + 0x8c]
add esi, dword [esp + 0x2c]
lea eax, [eax - 1]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x8c]
test edi, edi
mov dword [esp + 0x40], eax
je 0x6002f6aa
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x44]
add ebx, 0x70
mov ebp, 7
lea esi, [esi]
movzx ecx, word [ebx]
add ebx, 2
dec ebp
mov word [esi], cx
add esi, 2
cmp ebp, 0xffffffff
jne 0x6002f680
add esi, 0x70
dec eax
cmp eax, 0xffffffff
jne 0x6002f672
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x6002f713
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x4dec]
mov eax, dword [eax + 0xc]
add eax, 0xe
mov edi, dword [esi + 0x4834]
add edi, 0x70
mov dword [esp + 0x48], edi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x6002f713
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x44]
mov ebp, edi
nop
lea esi, [esi]
movzx ebx, word [ebp]
add ebp, 0x80
dec esi
mov word [eax], bx
add eax, 0x80
cmp esi, 0xffffffff
jne 0x6002f6f0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x6002f782
mov edi, dword [esp + 0x78]
mov esi, dword [edi + 0x4dec]
mov eax, dword [esp + 0x94]
lea eax, [eax + eax]
imul eax, dword [esp + 0x54]
add eax, dword [esi + 0xc]
mov esi, dword [edi + 0x4834]
add esi, 0x7e
add eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x6002f782
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x40]
mov esi, esi
lea edi, [edi]
movzx ebp, word [esi]
add esi, 0x80
dec ebx
mov word [eax], bp
add eax, 0x80
cmp ebx, 0xffffffff
jne 0x6002f760
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x58]
cmp ecx, eax
jle 0x6002eff8
mov eax, dword [esp + 0x5c]
cmp edx, eax
jle 0x6002eff8
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x4dec]
mov eax, dword [esp + 0x54]
lea esi, [eax + eax]
imul esi, ecx
add esi, dword [edi + 4]
test eax, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x4834]
mov dword [esp + 0x44], esi
lea esi, [eax - 1]
je 0x6002f7fd
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea esi, [esi]
lea edi, [edi]
movzx ebp, word [ebx]
dec esi
add ebx, 2
mov word [eax], bp
add eax, 2
cmp esi, 0xffffffff
jne 0x6002f7e0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
dec edx
jmp 0x6002eee3
xor esi, esi
mov eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebp, ecx
cmp ecx, 8
jge 0x6002f86f
cmp ebx, 6
jl 0x6002f860
nop
lea esi, [esi]
movsx edx, word [eax + ebp*2 - 2]
mov word [eax + ebp*2], dx
mov word [eax + ebp*2 + 2], dx
mov word [eax + ebp*2 + 4], dx
mov word [eax + ebp*2 + 6], dx
mov word [eax + ebp*2 + 8], dx
add ebp, 5
cmp ebp, 2
jl 0x6002f830
lea esi, [esi]
lea edi, [edi]
movzx edx, word [eax + ebp*2 - 2]
mov word [eax + ebp*2], dx
inc ebp
cmp ebp, 8
jl 0x6002f860
add eax, 0x10
inc esi
cmp esi, 8
jl 0x6002f81c
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x37cc]
lea esi, [eax + ecx]
mov edi, dword [esi + 4]
jmp 0x6002f247
xor esi, esi
mov eax, dword [esp + 0x40]
neg eax
add eax, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov edx, ebx
cmp ebx, 8
jge 0x6002f90f
cmp eax, 6
jl 0x6002f900
nop
lea esi, [esi]
movsx ebp, word [ecx + edx*2 - 2]
mov word [ecx + edx*2], bp
mov word [ecx + edx*2 + 2], bp
mov word [ecx + edx*2 + 4], bp
mov word [ecx + edx*2 + 6], bp
mov word [ecx + edx*2 + 8], bp
add edx, 5
cmp edx, 2
jl 0x6002f8d0
lea esi, [esi]
lea edi, [edi]
movzx ebp, word [ecx + edx*2 - 2]
mov word [ecx + edx*2], bp
inc edx
cmp edx, 8
jl 0x6002f900
add ecx, 0x10
inc esi
cmp esi, 8
jl 0x6002f8bf
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x24], esi
jmp 0x6002f2b5
xor ebp, ebp
mov ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov eax, ecx
cmp ecx, 0x40
jge 0x6002f9a1
cmp edx, 0x30
jl 0x6002f990
movsx esi, word [ebx + eax*2 - 0x10]
mov word [ebx + eax*2], si
mov word [ebx + eax*2 + 0x10], si
mov word [ebx + eax*2 + 0x20], si
mov word [ebx + eax*2 + 0x30], si
mov word [ebx + eax*2 + 0x40], si
add eax, 0x28
cmp eax, 0x10
jl 0x6002f962
mov esi, esi
lea edi, [edi]
movzx esi, word [ebx + eax*2 - 0x10]
mov word [ebx + eax*2], si
add eax, 8
cmp eax, 0x40
jl 0x6002f990
add ebx, 2
inc ebp
cmp ebp, 8
jl 0x6002f956
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x37cc]
lea edi, [ebx + ecx]
mov esi, dword [edi + 8]
jmp 0x6002f360
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37bc]
cmp esi, 1
jne 0x6002f0ba
mov dword [esp + 0x30], edx
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 4]
lea edi, [ebx + ebx]
cdq
idiv edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
cmp ecx, eax
je 0x6002fbe7
mov eax, dword [esp + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
jne 0x6002fb23
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x4c]
and eax, 0xf
je 0x6002fb13
mov dword [esp + 0x30], edx
lea esi, [ebp + ebp]
lea eax, [eax + ebp*2 - 1]
cdq
idiv esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x4834]
mov dword [esp + 0x2c], edi
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x6002fafb
xor eax, eax
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x54]
mov dword [esp + 0x44], eax
test edi, edi
mov dword [esp + 0x48], edi
jle 0x6002fb31
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x37cc]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
neg edi
add edi, 8
mov eax, dword [esp + 0x44]
shl eax, 4
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov ebx, eax
mov eax, dword [ebx + edi + 4]
cmp eax, 1
je 0x6002fc5d
shl eax, 7
add ecx, eax
add ebx, 0x10
inc ebp
cmp ebp, edx
jl 0x6002fabe
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x6002fb31
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x34]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x6002fcf0
jmp 0x6002fb31
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x6002fb31
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
lea eax, [ecx + ecx]
mov edi, dword [esp + 0x54]
imul eax, edi
add eax, dword [esi + 4]
lea eax, [eax + edi*2]
lea esi, [edi - 1]
test edi, edi
je 0x6002fb7e
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x2c]
lea esi, [esi]
movzx ebx, word [ebp]
dec esi
add ebp, 2
mov word [eax], bx
add eax, 2
cmp esi, 0xffffffff
jne 0x6002fb60
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
test ecx, ecx
jne 0x6002fbe7
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4dec]
mov edi, dword [esi + 4]
lea esi, [edi + ebx*2 - 2]
mov eax, dword [eax + 0x4834]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
lea eax, [edi - 1]
test edi, edi
je 0x6002fbe7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov ebp, 7
lea esi, [esi]
movzx ecx, word [ebx]
add ebx, 0x10
dec ebp
mov word [esi], cx
add esi, 0x10
cmp ebp, 0xffffffff
jne 0x6002fbc0
dec eax
cmp eax, 0xffffffff
jne 0x6002fbb7
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x6002eff8
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x4dec]
lea esi, [ecx + ecx]
mov eax, dword [esp + 0x54]
imul esi, eax
add esi, dword [edi + 4]
test eax, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x4834]
mov dword [esp + 0x3c], esi
lea esi, [eax - 1]
je 0x6002fc4d
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
nop
movzx ebp, word [ebx]
dec esi
add ebx, 2
mov word [eax], bp
add eax, 2
cmp esi, 0xffffffff
jne 0x6002fc30
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
dec ecx
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x37b8]
jmp 0x6002f0ba
xor edx, edx
mov eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x24]
mov ecx, ebp
cmp ebp, 8
jge 0x6002fcbf
cmp ebx, 6
jl 0x6002fcb0
movsx esi, word [eax + ecx*2 - 2]
mov word [eax + ecx*2], si
mov word [eax + ecx*2 + 2], si
mov word [eax + ecx*2 + 4], si
mov word [eax + ecx*2 + 6], si
mov word [eax + ecx*2 + 8], si
add ecx, 5
cmp ecx, 2
jl 0x6002fc81
lea esi, [esi]
lea edi, [edi]
movzx esi, word [eax + ecx*2 - 2]
mov word [eax + ecx*2], si
inc ecx
cmp ecx, 8
jl 0x6002fcb0
add eax, 0x10
inc edx
cmp edx, 8
jl 0x6002fc75
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov edx, dword [esi + 0x54]
mov edi, dword [esi + 0x37cc]
mov eax, dword [ebx + edi + 4]
jmp 0x6002facb
xor esi, esi
mov eax, dword [esp + 0x24]
neg eax
add eax, 8
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebp, ecx
cmp ecx, 8
jge 0x6002fd5f
cmp eax, 6
jl 0x6002fd50
nop
lea esi, [esi]
movsx edx, word [ebx + ebp*2 - 2]
mov word [ebx + ebp*2], dx
mov word [ebx + ebp*2 + 2], dx
mov word [ebx + ebp*2 + 4], dx
mov word [ebx + ebp*2 + 6], dx
mov word [ebx + ebp*2 + 8], dx
add ebp, 5
cmp ebp, 2
jl 0x6002fd20
lea esi, [esi]
lea edi, [edi]
movzx edx, word [ebx + ebp*2 - 2]
mov word [ebx + ebp*2], dx
inc ebp
cmp ebp, 8
jl 0x6002fd50
add ebx, 0x10
inc esi
cmp esi, 8
jl 0x6002fd0f
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x4834]
mov dword [esp + 0x2c], esi
jmp 0x6002fb31
mov ebx, 2
jmp 0x6002e972
mov ebx, 4
jmp 0x6002e972
mov ebx, 8
jmp 0x6002e972