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

Disassembly:
sub esp, 0x9a0
push ebx
push ebp
mov ebx, ecx
mov ebp, dword [esp + 0x9bc]
push esi
lea eax, [edx + 1]
mov dword [esp + 0x84], edx
sar eax, 1
xorps xmm0, xmm0
movzx esi, byte [ebx + 0x318]
add eax, ebx
push edi
push 8
pop ecx
movzx eax, byte [eax + esi*4 + 0xc9a1]
lea edi, [esp + 0x1b0]
mov dword [esp + 0x20], eax
mov eax, edx
shl eax, 7
add eax, 0xcd48
mov dword [esp + 0x28], ebx
add eax, ebx
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x74], eax
xor eax, eax
push 0x40
rep stosd dword es:[edi], eax
pop ecx
push 0x3f
mov dword [esp + 0xa0], eax
mov dword [esp + 0xb4], eax
pop eax
cmp ebp, eax
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x98], 1
cmovg ebp, eax
mov dword [esp + 0x9c4], ebp
test ebp, ebp
jle 0x463187
mov eax, dword [ebx + 0xcfac]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x9b8]
mov esi, dword [esp + 0x9c0]
movsx eax, word [eax + ebp*2]
mov edx, eax
shr edx, 0x1f
neg edx
mov dword [esp + 0x40], edx
lea edi, [edx + eax]
movzx eax, byte [ebp + 0x4bf850]
xor edi, edx
mov dword [esp + 0x30], edi
movsx esi, word [esi + eax*2]
mov dword [esp + 0x48], esi
cmp edi, 1
jg 0x462ae3
test edi, edi
jne 0x462445
cmp ebp, 1
jle 0x462441
mov eax, dword [esp + 0x9b8]
lea eax, [eax + ebp*2]
add eax, 0xfffffffe
xor edx, edx
cmp word [eax], dx
jne 0x462441
dec ebp
sub eax, 2
cmp ebp, 1
jg 0x462433
xor eax, eax
jmp 0x462452
add esi, edx
xor esi, edx
mov eax, esi
mov dword [esp + 0x48], esi
imul eax, esi
mov esi, ecx
and ecx, 0x3f
sub esi, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x78], esi
mov edx, dword [esp + ecx*4 + 0xb0]
add edx, eax
mov dword [esp + 0x8c], edx
mov dword [esp + ebp*4 + 0xb0], edx
mov edx, dword [esp + 0x74]
movzx eax, word [edx + ebp*2]
test eax, eax
je 0x4624a1
mov ecx, eax
call fcn.00461fb6
mov edx, dword [esp + 0x20]
mov ecx, ebx
push eax
push ebp
call fcn.00461eb9
mov ecx, dword [esp + 0x1c]
add esp, 8
jmp 0x4624a3
xor eax, eax
mov dword [esp + 0x70], eax
lea eax, [ebp + 0x3e]
sar eax, 6
or dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
call fcn.004a7a70
xor ecx, ecx
and eax, 1
and edx, ecx
or eax, edx
je 0x46286f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
shl eax, 5
mov dword [esp + 0x64], eax
movzx eax, byte [esp + eax + 0x1c0]
mov ecx, eax
mov dword [esp + 0x44], eax
shr eax, 1
and ecx, 1
mov dword [esp + 0xac], eax
lea eax, [esi + 0x37]
sar eax, 6
add eax, 7
mov dword [esp + 0xa8], ecx
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x68], eax
call fcn.00461eb9
add eax, dword [esp + 0x78]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
imul eax, dword [ebx + 0xcfac]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + edx*4 + 0xb0]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + ebx + 0x1c4]
add ecx, eax
sub ecx, dword [esp + edx*4 + 0xb0]
add ecx, dword [esp + 0x8c]
cmp ecx, dword [esp + 0x2c]
ja 0x46259c
mov ebx, dword [esp + ebx + 0x1c8]
lea eax, [edx*2 + 1]
add ebx, dword [esp + 0x5c]
dec esi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x94], eax
jmp 0x4625a4
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x78]
add eax, 0x10
cmp ecx, eax
jge 0x462847
mov eax, dword [esp + 0x9b8]
movzx eax, word [eax + edx*2]
mov edi, eax
shr edi, 0xf
neg edi
mov dword [esp + 0x34], edi
movsx edi, ax
mov eax, dword [esp + 0x34]
add edi, eax
xor edi, eax
mov dword [esp + 0x64], edi
cmp edi, 2
mov edi, dword [esp + 0x30]
jg 0x462700
push 6
pop esi
cmp ecx, esi
jge 0x462602
add ecx, 0x16
neg eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
jmp 0x46262f
lea edx, [ecx + 0x36]
sar edx, 6
lea ecx, [edx + 0x1c]
mov dword [esp + 0x5c], ecx
lea ecx, [edx + 2]
shl eax, cl
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov eax, edx
mov edx, dword [esp + 0x14]
shl eax, 2
sub ecx, eax
sub ecx, esi
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x5c]
movzx eax, byte [edx + 0x4bf850]
mov esi, dword [esp + 0x9c0]
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
movsx esi, word [esi + eax*2]
mov eax, dword [esp + 0x9c4]
add esi, dword [esp + 0x3c]
xor esi, dword [esp + 0x3c]
movzx eax, word [eax + edx*2]
mov edx, dword [esp + 0x28]
sub esi, eax
call fcn.00461eb9
mov ecx, dword [esp + 0xb4]
add esp, 8
mov edx, dword [esp + 0xa8]
add eax, dword [esp + 0x70]
imul esi, esi
mov dword [esp + 0x68], eax
imul eax, dword [esp + 0x84]
lea edx, [edx + ecx*2]
mov ecx, dword [esp + 0x28]
shl edx, 4
mov dword [esp + 0x4c], edx
mov edx, dword [esp + edx + 0x1b4]
add edx, esi
add edx, eax
sub edx, dword [esp + 0xa0]
add edx, dword [esp + 0x8c]
cmp edx, dword [esp + 0x2c]
ja 0x4626fa
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + ebx + 0x1b8]
add ebx, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
lea edx, [eax + 1]
mov dword [esp + 0x18], esi
xor edx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
jmp 0x462704
mov esi, dword [esp + 0x18]
jmp 0x462704
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x78]
add eax, 2
cmp edx, eax
jge 0x462847
mov eax, dword [esp + 0x64]
add eax, 0xfffffffe
cmp eax, 2
ja 0x462847
mov eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
mov dword [esp + 0x60], eax
add eax, 0x1e
push eax
push ebp
mov dword [esp + 0x64], eax
call fcn.00461eb9
add eax, dword [esp + 0x78]
xor ecx, ecx
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x34]
xor eax, dword [esp + 0x34]
cmp eax, 2
setg cl
mov dword [esp + 0x38], ecx
lea eax, [ecx + 2]
mov ecx, dword [esp + 0x9c0]
mov dword [esp + 0x64], eax
movzx eax, byte [edx + 0x4bf850]
movsx ecx, word [ecx + eax*2]
mov eax, dword [esp + 0x9bc]
add ecx, dword [esp + 0x34]
xor ecx, dword [esp + 0x34]
movzx eax, word [eax + edx*2]
imul eax, dword [esp + 0x64]
mov edx, dword [esp + 0xac]
sub ecx, eax
mov eax, dword [esp + 0xa8]
imul ecx, ecx
lea eax, [eax + edx*2]
shl eax, 4
mov dword [esp + 0x4c], eax
mov edx, dword [esp + eax + 0x1b4]
add edx, ecx
mov ecx, dword [esp + 0x68]
mov eax, ecx
imul eax, dword [esp + 0x84]
add edx, eax
sub edx, dword [esp + 0xa0]
add edx, dword [esp + 0x8c]
cmp edx, dword [esp + 0x2c]
ja 0x462847
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + ebx + 0x1b8]
add ebx, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
mov eax, edx
mov dword [esp + 0x24], ebx
lea ecx, [ecx + 1]
shl eax, cl
mov ecx, dword [esp + 0x60]
shl esi, cl
sub esi, eax
mov eax, dword [esp + 0x78]
lea eax, [eax - 1]
sar eax, 1
add esi, eax
mov eax, dword [esp + 0x64]
add eax, edx
mov dword [esp + 0x18], esi
xor eax, edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
call fcn.004a7a70
xor ecx, ecx
and eax, 1
and edx, ecx
or eax, edx
je 0x462952
jmp 0x462877
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
xor edx, edx
shl ecx, 5
movzx eax, byte [esp + ecx + 0x1b0]
shr eax, 1
mov dword [esp + 0x14], eax
xor eax, eax
cmp dword [esp + ecx + 0x1bc], edx
mov ecx, dword [esp + 0x14]
setne al
sub ecx, eax
and ecx, 0x3f
mov dword [esp + 0x14], ecx
je 0x4628ba
mov ebx, dword [esp + 0x28]
mov esi, ecx
sub esi, ebp
mov dword [esp + 0x78], esi
jmp 0x4624b9
mov ecx, dword [esp + 0x74]
movzx eax, word [ecx + ebp*2]
cmp eax, 0xfff
jae 0x4628e9
lea ecx, [eax + 1]
call fcn.00461fb6
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
push ebp
call fcn.00461eb9
add esp, 8
sub eax, dword [esp + 0x70]
jmp 0x4628fb
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push ebp
call fcn.00461eb9
add esp, 8
mov dword [esp + 0x44], eax
imul eax, dword [ecx + 0xcfac]
add eax, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x2c]
jbe 0x46292c
mov edx, dword [esp + 0x1c]
cmp edx, 8
jg 0x462956
lea eax, [esi + ebp]
cmp eax, 0x3f
jne 0x462956
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
xor edx, edx
mov esi, edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov eax, ebp
shl eax, 5
mov dword [esp + 0x44], eax
mov byte [esp + eax + 0x1b1], dl
mov edx, dword [esp + 0x2c]
mov byte [esp + eax + 0x1b0], cl
xor ecx, ecx
mov dword [esp + eax + 0x1b4], edx
mov edx, dword [esp + 0x94]
mov dword [esp + eax + 0x1b8], ebx
xor ebx, ebx
mov dword [esp + eax + 0x1bc], edx
xor edx, edx
mov word [esp + eax + 0x1b2], si
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x28]
bts edx, eax
cmp eax, 0x20
cmovae ebx, edx
xor edx, ebx
cmp eax, 0x40
mov dword [esp + 0x68], edx
cmovae ebx, edx
or dword [esp + 0x98], edx
or dword [esp + 0x9c], ebx
mov dword [esp + 0x4c], ebx
test edi, edi
je 0x462de2
mov eax, dword [esp + 0x9bc]
mov edx, dword [esp + 0x20]
push 9
movzx edi, word [eax + ebp*2]
sub edi, dword [esp + 0x4c]
pop eax
sub eax, dword [esp + 0x40]
push eax
push ebp
mov dword [esp + 0x40], eax
call fcn.00461eb9
mov edx, dword [esp + 0x58]
lea ebx, [ebp + 1]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x58]
and ebx, 0x3f
add esi, dword [esp + 0x70]
mov ecx, ebx
call fcn.004a7a70
mov edx, dword [esp + 0x44]
mov ecx, eax
and ecx, 1
mov al, bl
add al, al
add al, cl
mov byte [esp + edx + 0x1c0], al
mov eax, dword [esp + 0x38]
mov byte [esp + edx + 0x1c1], al
xor eax, eax
mov word [esp + edx + 0x1c2], ax
lea edx, [ecx + ebx*2]
add edx, edx
cmp ebp, dword [esp + 0x9cc]
cmovge eax, dword [esp + 0x84]
imul eax, esi
imul edi, edi
add eax, dword [esp + edx*8 + 0x1b4]
lea ecx, [eax + edi]
mov edi, dword [esp + 0x44]
mov dword [esp + edi + 0x1c4], ecx
mov eax, dword [esp + edx*8 + 0x1b8]
mov edx, dword [esp + 0x40]
add eax, esi
mov esi, dword [esp + 0x80]
or esi, dword [esp + 0x4c]
mov dword [esp + edi + 0x1c8], eax
lea eax, [edx + 1]
mov dword [esp + 0x80], esi
xor eax, edx
mov dword [esp + edi + 0x1cc], eax
mov edi, dword [esp + 0x7c]
or edi, dword [esp + 0x68]
mov dword [esp + 0x7c], edi
cmp ecx, dword [esp + 0x2c]
jae 0x462ac2
xor eax, eax
inc eax
xor ecx, ecx
mov edx, ecx
jmp 0x462ad3
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, ebp
call fcn.00435830
or dword [esp + 0x58], eax
jmp 0x462dde
mov eax, dword [esp + 0x74]
xor ebx, ebx
cmp ebp, dword [esp + 0x9cc]
cmovge ebx, dword [esp + 0x84]
movzx ecx, word [eax + ebp*2]
lea eax, [esi + edx]
mov esi, dword [esp + 0x9bc]
xor eax, edx
and dword [esp + ebp*4 + 0xb0], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
movzx esi, word [esi + ebp*2]
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x462b49
call fcn.00461fb6
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
push ebp
call fcn.00461eb9
mov edx, dword [esp + 0x48]
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
jmp 0x462b53
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
cmp edi, 2
jg 0x462bf0
push 0xb
add esi, esi
sub esi, eax
pop eax
sub eax, edx
mov edx, dword [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x70], eax
call fcn.00461eb9
mov dword [esp + 0x54], eax
mov ecx, ebx
add eax, dword [esp + 0x1c]
imul ecx, eax
mov eax, esi
imul eax, esi
sub esi, dword [esp + 0x34]
push 9
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], eax
pop eax
sub eax, dword [esp + 0x48]
push eax
push ebp
mov dword [esp + 0x2c], eax
call fcn.00461eb9
mov edx, dword [esp + 0x24]
add esp, 0x10
imul esi, esi
lea edi, [eax + edx]
imul edi, ebx
mov ebx, dword [esp + 0x38]
add edi, esi
cmp edi, ebx
ja 0x462bc4
dec dword [esp + 0x30]
xor ecx, ecx
cmp edi, ebx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
cmova ecx, dword [esp + 0x68]
cmova eax, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x18], esi
cmp edi, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
cmova edi, ebx
jmp 0x462d40
cmp edi, 3
jg 0x462c9b
imul esi, esi, 3
push 0xd
pop edi
push edi
push ebp
sub esi, eax
mov dword [esp + 0x24], edi
mov eax, edx
mov edx, dword [esp + 0x28]
neg eax
mov dword [esp + 0x50], eax
call fcn.00461eb9
mov ecx, dword [esp + 0x1c]
mov edx, ebx
add ecx, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
imul edx, ecx
add eax, 0xb
mov ecx, esi
mov dword [esp + 0x70], eax
imul ecx, esi
sub esi, dword [esp + 0x34]
push eax
push ebp
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
call fcn.00461eb9
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x48]
add esp, 0x10
imul esi, esi
lea edi, [ecx + edx]
imul edi, ebx
add edi, esi
cmp edi, eax
ja 0x462c7a
mov esi, dword [esp + 0x68]
dec dword [esp + 0x30]
cmp edi, eax
mov dword [esp + 0x1c], esi
cmova ecx, dword [esp + 0x4c]
add ecx, edx
cmp eax, edi
mov dword [esp + 0x24], ecx
sbb esi, esi
and esi, dword [esp + 0x48]
cmp edi, eax
mov dword [esp + 0x18], esi
cmova edi, eax
jmp 0x462d40
imul esi, edi
sub esi, eax
cmp edi, 6
jg 0x462e01
lea eax, [edi + 0xa]
mov ecx, edx
mov edx, dword [esp + 0x20]
neg ecx
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
push ebp
mov dword [esp + 0x50], eax
call fcn.00461eb9
mov ecx, dword [esp + 0x1c]
mov edx, ebx
add ecx, eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
imul edx, ecx
mov ecx, esi
imul ecx, esi
sub esi, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x28]
dec eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
push eax
push ebp
mov dword [esp + 0x2c], eax
call fcn.00461eb9
mov edx, dword [esp + 0x24]
mov ecx, eax
imul esi, esi
add esp, 0x10
lea edi, [ecx + edx]
imul edi, ebx
mov ebx, dword [esp + 0x38]
add edi, esi
cmp edi, ebx
ja 0x462d1f
dec dword [esp + 0x30]
cmp edi, ebx
mov eax, dword [esp + 0x1c]
cmova eax, dword [esp + 0x48]
cmova ecx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x1c], eax
cmp edi, ebx
mov dword [esp + 0x24], ecx
cmova edi, ebx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
lea ebx, [ebp + 1]
mov edx, dword [esp + 0x50]
and ebx, 0x3f
mov ecx, ebx
call fcn.004a7a70
and eax, 1
mov edx, ebp
shl edx, 5
mov cl, bl
add cl, cl
add cl, al
mov byte [esp + edx + 0x1c0], cl
mov ecx, dword [esp + 0x1c]
mov byte [esp + edx + 0x1c1], cl
lea ecx, [eax + ebx*2]
add ecx, ecx
mov word [esp + edx + 0x1c2], si
mov eax, dword [esp + ecx*8 + 0x1b4]
add eax, edi
mov dword [esp + edx + 0x1c4], eax
mov eax, dword [esp + ecx*8 + 0x1b8]
xor ecx, ecx
add eax, dword [esp + 0x24]
mov dword [esp + edx + 0x1c8], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x40]
xor eax, dword [esp + 0x40]
mov dword [esp + edx + 0x1cc], eax
lea eax, [ecx + ebp]
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [esp + 0x7c], ecx
or dword [esp + 0x80], edx
or dword [esp + 0x58], ecx
or dword [esp + 0x50], edx
mov ebx, dword [esp + 0x28]
mov ecx, ebp
dec ebp
mov dword [esp + 0x9c4], ebp
test ebp, ebp
jg 0x4623dd
mov ebp, dword [esp + 0x58]
jmp 0x463193
cmp edi, 8
jg 0x462eb2
lea eax, [edx + edx]
mov ebp, edi
mov edx, dword [esp + 0x20]
sub ebp, eax
push 0x11
push dword [esp + 0x9c8]
sub ebp, 7
call fcn.00461eb9
mov ecx, dword [esp + 0x1c]
mov edi, eax
add ecx, edi
imul esi, esi
imul ebx, ecx
mov ecx, dword [esp + 0x30]
push 0x10
push dword [esp + 0x9d0]
add ebx, esi
imul esi, dword [esp + 0x3c], 6
sub esi, dword [esp + 0x44]
call fcn.00461eb9
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x24]
add esp, 0x10
add eax, ecx
imul esi, esi
imul eax, dword [esp + 0x38]
push 6
add eax, esi
cmp eax, ebx
mov dword [esp + 0x3c], eax
pop esi
cmovbe edx, esi
cmova ecx, edi
add ecx, dword [esp + 0x14]
mov edi, eax
mov esi, dword [esp + 0x40]
cmp ebx, edi
mov dword [esp + 0x30], edx
sbb eax, eax
mov dword [esp + 0x24], ecx
neg eax
neg esi
add eax, 0x10
cmp edi, ebx
mov dword [esp + 0x1c], eax
cmova esi, ebp
cmova edi, ebx
mov ebp, dword [esp + 0x9c4]
mov dword [esp + 0x18], esi
jmp 0x462d40
mov eax, edx
mov edx, dword [esp + 0x20]
cmp edi, 0xc
jg 0x462f4c
shl eax, 2
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x1c], 0x12
sub ecx, 9
push 0x12
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
push ebp
call fcn.00461eb9
add eax, dword [esp + 0x1c]
mov edi, ebx
imul esi, esi
imul edi, eax
push 0x11
push ebp
mov dword [esp + 0x34], eax
add edi, esi
mov esi, dword [esp + 0x3c]
shl esi, 3
sub esi, dword [esp + 0x44]
call fcn.00461eb9
mov ecx, eax
imul esi, esi
add ecx, dword [esp + 0x24]
add esp, 0x10
imul ebx, ecx
add ebx, esi
cmp ebx, edi
ja 0x462d3c
mov edx, dword [esp + 0x40]
xor esi, esi
inc esi
mov dword [esp + 0x1c], 0x11
mov dword [esp + 0x24], ecx
mov edi, ebx
mov dword [esp + 0x30], 8
lea eax, [edx + edx]
sub esi, eax
mov dword [esp + 0x18], esi
jmp 0x462d40
push 0x14
pop ecx
cmp edi, ecx
jg 0x462fe0
shl eax, 3
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x1c], 0x13
sub ecx, 0xd
push 0x13
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
push ebp
call fcn.00461eb9
add eax, dword [esp + 0x1c]
mov edi, ebx
imul esi, esi
imul edi, eax
push 0x12
push ebp
mov dword [esp + 0x34], eax
add edi, esi
imul esi, dword [esp + 0x3c], 0xc
sub esi, dword [esp + 0x44]
call fcn.00461eb9
mov ecx, eax
imul esi, esi
add ecx, dword [esp + 0x24]
add esp, 0x10
imul ebx, ecx
add ebx, esi
cmp ebx, edi
ja 0x462d3c
mov eax, dword [esp + 0x40]
mov edi, ebx
push 3
shl eax, 2
pop esi
sub esi, eax
mov dword [esp + 0x1c], 0x12
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0xc
jmp 0x462d40
cmp edi, 0x24
jg 0x46306e
mov dword [esp + 0x1c], ecx
mov ecx, edi
shl eax, 4
sub ecx, eax
sub ecx, 0x15
push 0x14
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
push ebp
call fcn.00461eb9
add eax, dword [esp + 0x1c]
mov edi, ebx
imul esi, esi
imul edi, eax
push 0x13
push ebp
mov dword [esp + 0x34], eax
add edi, esi
imul esi, dword [esp + 0x3c], 0x14
sub esi, dword [esp + 0x44]
call fcn.00461eb9
mov ecx, eax
imul esi, esi
add ecx, dword [esp + 0x24]
add esp, 0x10
imul ebx, ecx
add ebx, esi
cmp ebx, edi
ja 0x462d3c
mov eax, dword [esp + 0x40]
mov edi, ebx
push 7
shl eax, 3
pop esi
sub esi, eax
mov dword [esp + 0x1c], 0x13
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0x14
jmp 0x462d40
mov ecx, edi
cmp edi, 0x44
jg 0x463100
shl eax, 5
sub ecx, eax
mov dword [esp + 0x1c], 0x15
sub ecx, 0x25
push 0x15
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
push ebp
call fcn.00461eb9
add eax, dword [esp + 0x1c]
mov edi, ebx
imul esi, esi
imul edi, eax
push 0x14
push ebp
mov dword [esp + 0x34], eax
add edi, esi
imul esi, dword [esp + 0x3c], 0x24
sub esi, dword [esp + 0x44]
call fcn.00461eb9
mov ecx, eax
imul esi, esi
add ecx, dword [esp + 0x24]
add esp, 0x10
imul ebx, ecx
add ebx, esi
cmp ebx, edi
jae 0x462d3c
mov eax, dword [esp + 0x40]
mov edi, ebx
push 0xf
shl eax, 4
pop esi
sub esi, eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0x24
jmp 0x462d40
shl eax, 9
sub ecx, eax
mov dword [esp + 0x1c], 0x16
sub ecx, 0x45
push 0x16
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
push ebp
call fcn.00461eb9
add eax, dword [esp + 0x1c]
mov edi, ebx
imul esi, esi
imul edi, eax
push 0x15
push ebp
mov dword [esp + 0x34], eax
add edi, esi
imul esi, dword [esp + 0x3c], 0x44
sub esi, dword [esp + 0x44]
call fcn.00461eb9
mov ecx, eax
imul esi, esi
add ecx, dword [esp + 0x24]
add esp, 0x10
imul ebx, ecx
add ebx, esi
cmp ebx, edi
jae 0x462d3c
mov eax, dword [esp + 0x40]
mov edi, ebx
push 0x1f
shl eax, 5
pop esi
sub esi, eax
mov dword [esp + 0x1c], 0x15
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0x44
jmp 0x462d40
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c8]
xor esi, esi
mov edi, dword [esp + 0x9b8]
inc esi
push 0x20
pop ecx
mov edx, dword [eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
shrd ebp, eax, 1
and ebp, esi
mov eax, ebp
add eax, eax
mov eax, dword [esp + eax*8 + 0x1d8]
mov dword [esp + 0x48], eax
push esi
push dword [esp + 0x8c]
mov ecx, ebx
call fcn.00461e89
mov eax, dword [esp + 0x7c]
lea edi, [esi*2]
add edi, ebp
add edx, 8
add edi, edi
mov dword [esp + 0x4c], edx
pop ecx
movzx eax, word [eax + esi*2]
pop ecx
mov cl, byte [esp + edi*8 + 0x1b1]
cmp cl, 7
jl 0x463299
test eax, eax
je 0x46322f
mov edx, dword [esp + 0x88]
mov ecx, ebx
push eax
push esi
call fcn.00461e03
mov eax, dword [esp + 0x7c]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + esi*2], cx
mov cl, byte [esp + edi*8 + 0x1b1]
movsx eax, word [esp + edi*8 + 0x1b2]
mov edx, dword [esp + 0x88]
push eax
movsx eax, cl
mov ecx, ebx
push eax
push esi
call fcn.00461e3c
movzx ebp, byte [esp + edi*8 + 0x1bc]
add esp, 0xc
mov ecx, dword [esp + 0x9bc]
mov esi, ebp
movsx eax, word [esp + edi*8 + 0x1bc]
and ebp, 1
shr esi, 1
lea edx, [esi - 1]
and edx, 0x3f
movsx ecx, word [ecx + edx*2]
imul ecx, eax
mov eax, dword [esp + 0x38]
movzx eax, byte [eax + edx]
mov edx, dword [esp + 0x9b8]
mov word [edx + eax*2], cx
test esi, esi
je 0x4632d5
mov edx, dword [esp + 0x44]
jmp 0x4631cd
inc eax
cmp eax, 0xfff
jb 0x4632b5
mov edx, dword [esp + 0x88]
mov ecx, ebx
push eax
push esi
call fcn.00461e03
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x74]
mov word [ecx + esi*2], ax
lea ecx, [esi*2]
mov eax, dword [esp + 0x48]
add ecx, ebp
add ecx, ecx
sub eax, dword [esp + ecx*8 + 0x1b8]
jmp 0x4632d9
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x9c8]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0x9a0
ret