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

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
push ebx
mov ecx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x6c]
push edi
and eax, 4
mov dword [esp + 0x1c], eax
je 0x495910
lea edi, [ecx + 0x124]
lea edx, [ecx + 0x1b4]
mov dword [esp + 0x34], edi
jmp 0x49591c
mov edi, ecx
lea edx, [ecx + 0x194]
mov dword [esp + 0x34], edi
mov ecx, dword [ecx + 0xec]
dec ecx
cmp ecx, 4
ja case.0x49592c.4
jmp dword [ecx*4 + 0x496dcc]
mov edx, dword [esp + 0x68]
mov ebx, dword [edi]
mov ebp, dword [edi + 4]
mov edi, dword [esp + 0x54]
mov edx, dword [edx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
shl edi, 4
mov edx, dword [edx]
mov dword [esp + 0x78], edi
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x60]
shl ecx, 4
mov edx, dword [edx]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
test eax, eax
mov edx, dword [edx]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x58]
mov edx, dword [edx]
mov dword [esp + 0x68], edx
je 0x4959f1
mov eax, ebp
or eax, ebx
test al, 3
je 0x4959c7
push 0
mov eax, edi
mov edi, dword [esp + 0x84]
push esi
push ebp
push ebx
push eax
lea edx, [edi + 0x60]
push ecx
push edx
lea edx, [edi + 0x40]
imul eax, esi
push edx
lea edx, [edi + 0x20]
push edx
mov edx, dword [esp + 0x90]
push edx
mov edx, edi
sub edx, eax
sub edx, ecx
push edx
call fcn.00496ff0
add esp, 0x2c
jmp 0x495a9d
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
imul eax, esi
mov dword [esp + 0x64], eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x64]
mov edi, eax
sar edi, 2
jmp 0x495a93
mov eax, ebx
mov edx, ebp
and eax, 1
and edx, 1
lea eax, [edx + eax*2]
sub eax, 0
je 0x495a76
dec eax
je 0x495a52
dec eax
je 0x495a2e
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x6c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [esp + 0x70]
sar edi, 1
jmp 0x495a97
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x6c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [esp + 0x64]
sar edi, 1
jmp 0x495a97
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x6c], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [esp + 0x4c]
sar edi, 1
jmp 0x495a97
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x64], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov edi, eax
sar edi, 1
mov eax, dword [esp + 0x6c]
add eax, edx
add edi, eax
add edi, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
imul eax, esi
mov edx, dword [esp + 0x7c]
add eax, ecx
mov ecx, dword [esp + 0x74]
push esi
add eax, ecx
push edi
push eax
push edx
mov dword [esp + 0x7c], eax
call dword [0x58e42c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x8c]
lea eax, [edi + 8]
push esi
add ecx, 8
push eax
add edx, 0x80
push ecx
push edx
call dword [0x58e42c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x88]
add eax, 8
lea edx, [edi + esi*8]
imul eax, esi
add eax, ecx
mov ecx, dword [esp + 0x94]
add eax, ecx
push esi
push edx
mov dword [esp + 0x94], eax
push eax
mov eax, dword [esp + 0xa8]
add eax, 0x100
push eax
call dword [0x58e42c]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xac]
lea ecx, [edi + esi*8 + 8]
push esi
add edx, 8
push ecx
add eax, 0x180
push edx
push eax
call dword [0x58e42c]
mov eax, dword [esp + 0x5c]
add esp, 0x40
test eax, eax
je 0x495b63
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov eax, dword [esp + 0x5c]
jmp 0x495da4
mov eax, dword [esp + 0x78]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov edi, dword [esp + 0x54]
mov edx, dword [eax]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
shl edi, 4
shl ecx, 4
test eax, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
je 0x495c2e
mov eax, ebp
or eax, ebx
test al, 3
je 0x495c04
push 0
mov eax, edi
mov edi, dword [esp + 0x84]
push esi
push ebp
push ebx
push eax
lea edx, [edi + 0x60]
push ecx
push edx
lea edx, [edi + 0x40]
imul eax, esi
push edx
lea edx, [edi + 0x20]
push edx
mov edx, dword [esp + 0x80]
push edx
mov edx, edi
sub edx, eax
sub edx, ecx
push edx
call fcn.00496ff0
add esp, 0x2c
jmp 0x495cda
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
imul eax, esi
mov dword [esp + 0x78], eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x78]
mov edi, eax
sar edi, 2
jmp 0x495cd0
mov eax, ebx
mov edx, ebp
and eax, 1
and edx, 1
lea eax, [edx + eax*2]
sub eax, 0
je 0x495cb3
dec eax
je 0x495c8f
dec eax
je 0x495c6b
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x5c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x78]
sar edi, 1
jmp 0x495cd4
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x5c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x74]
sar edi, 1
jmp 0x495cd4
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x5c], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x4c]
sar edi, 1
jmp 0x495cd4
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x78], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
mov edi, eax
sar edi, 1
mov eax, dword [esp + 0x5c]
add eax, edx
add edi, eax
add edi, ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
imul eax, esi
mov edx, dword [esp + 0x7c]
add eax, ecx
mov ecx, dword [esp + 0x64]
push esi
add eax, ecx
push edi
push eax
push edx
mov dword [esp + 0x6c], eax
call dword [0x58e42c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x8c]
lea eax, [edi + 8]
push esi
add ecx, 8
push eax
add edx, 0x80
push ecx
push edx
call dword [0x58e42c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
add eax, 8
lea edx, [edi + esi*8]
imul eax, esi
add eax, ecx
mov ecx, dword [esp + 0x84]
add eax, ecx
push esi
push edx
mov dword [esp + 0x84], eax
push eax
mov eax, dword [esp + 0xa8]
add eax, 0x100
push eax
call dword [0x58e42c]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0xac]
lea ecx, [edi + esi*8 + 8]
push esi
add edx, 8
push ecx
add eax, 0x180
push edx
push eax
call dword [0x58e42c]
mov eax, dword [esp + 0x5c]
add esp, 0x40
test eax, eax
je 0x495da0
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
shr esi, 1
push 0
add ecx, 0x200
push esi
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, ebp
and ecx, 3
push edx
mov eax, dword [esp + 0x6c]
mov edx, dword [ecx*4 + 0x504ac8]
push eax
sar ebp, 1
add ebp, edx
mov edx, ebx
and edx, 3
push ebp
sar ebx, 1
add ebx, dword [edx*4 + 0x504ac8]
push ebx
call fcn.004957b0
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebp, dword [edx]
mov edx, dword [edx + 4]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x1c]
test edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], ebp
je 0x4964a5
mov edx, eax
or edx, ecx
test dl, 3
je 0x496107
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x80]
shl edx, 4
mov edi, edx
mov eax, dword [esp + 0x50]
sub edi, edx
mov dword [esp + 0x68], edx
imul edi, esi
add edi, ebx
mov ebx, dword [esp + 0x10]
shl eax, 4
lea ebx, [ebx + edx*4]
mov edx, dword [esp + 0x5c]
sar ebx, 2
imul ebx, esi
mov dword [esp + 0x60], eax
lea eax, [ecx + eax*4]
sar eax, 2
add ebx, eax
mov eax, dword [edx]
add ebx, eax
mov eax, dword [esp + 0x10]
mov ebp, dword [0x523c1c]
and eax, 3
shl eax, 2
and ecx, 3
or eax, ecx
cmp eax, 0xf
ja case.default.0x495e90
jmp dword [eax*4 + 0x496de0]
push esi
push ebx
push edi
call dword [0x58e430]
lea eax, [ebx + 8]
push esi
lea ecx, [edi + 8]
push eax
push ecx
call dword [0x58e430]
lea edx, [ebx + esi*8]
push esi
lea eax, [edi + esi*8]
push edx
push eax
call dword [0x58e430]
lea ecx, [ebx + esi*8 + 8]
push esi
lea edx, [edi + esi*8 + 8]
push ecx
push edx
call dword [0x58e430]
mov ebp, dword [esp + 0xb0]
add esp, 0x30
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 4]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 8]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 0x10]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 4]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x10]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x10]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 8]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x10]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 0xc]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 4]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0xc]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0xc]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 8]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0xc]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 0x14]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x49614f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 4]
jmp 0x4960ea
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp]
jmp 0x4960ea
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 8]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x14]
add esp, 0x28
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x64], ebp
jmp 0x49614f
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
cdq
and edx, 3
add eax, edx
mov ebp, eax
mov eax, ecx
shl edi, 4
sar ebp, 2
add ebp, edi
mov ecx, dword [esp + 0x5c]
imul ebp, esi
cdq
and edx, 3
mov dword [esp + 0x68], edi
shl ebx, 4
add eax, edx
mov edx, dword [ecx]
mov dword [esp + 0x60], ebx
add ebx, ebp
mov ebp, dword [esp + 0x80]
sar eax, 2
add eax, ebx
add eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, eax
or edx, ecx
test dl, 3
je 0x49643b
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
mov edi, edx
mov ebx, dword [0x523c1c]
sub edi, edx
lea eax, [ecx + eax*4]
imul edi, esi
sar eax, 2
lea edi, [edi + ebp + 0x10]
and ecx, 3
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x4c]
add ebp, 0x20
lea edi, [edi + edx*4]
mov edx, dword [esp + 0x6c]
sar edi, 2
imul edi, esi
add edi, eax
mov eax, dword [edx]
add edi, eax
mov eax, dword [esp + 0x4c]
and eax, 3
shl eax, 2
or eax, ecx
cmp eax, 0xf
ja case.default.0x4961b9
jmp dword [eax*4 + 0x496e20]
mov ebx, dword [esp + 0x68]
push esi
push edi
push ebx
call dword [0x58e430]
lea eax, [edi + 8]
push esi
lea ecx, [ebx + 8]
push eax
push ecx
call dword [0x58e430]
lea edx, [edi + esi*8]
push esi
lea eax, [ebx + esi*8]
push edx
push eax
call dword [0x58e430]
lea ecx, [edi + esi*8 + 8]
push esi
lea edx, [ebx + esi*8 + 8]
push ecx
push edx
call dword [0x58e430]
mov eax, dword [esp + 0xb0]
add esp, 0x30
lea ebx, [eax + 0x10]
jmp 0x49646c
mov eax, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push eax
call dword [ebx + 4]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x49646c
mov ecx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push ecx
call dword [ebx]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x49646c
mov edx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push edx
call dword [ebx + 8]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x49646c
mov eax, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push eax
call dword [ebx + 0x10]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 4]
mov ecx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push ecx
call dword [ebx + 0x10]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx]
mov edx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push edx
call dword [ebx + 0x10]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 8]
mov eax, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push eax
call dword [ebx + 0x10]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
mov ecx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push ecx
call dword [ebx + 0xc]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 4]
mov edx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push edx
call dword [ebx + 0xc]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx]
mov eax, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push eax
call dword [ebx + 0xc]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 8]
mov ecx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push ecx
call dword [ebx + 0xc]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
mov edx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push edx
call dword [ebx + 0x14]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 4]
mov eax, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push eax
call dword [ebx + 0x14]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx]
mov ecx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push ecx
call dword [ebx + 0x14]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x49646c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 8]
mov edx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push edx
call dword [ebx + 0x14]
add esp, 0x28
mov eax, dword [esp + 0x80]
lea ebx, [eax + 0x10]
jmp 0x49646c
cdq
mov ebp, dword [esp + 0x68]
and edx, 3
add eax, edx
mov edi, eax
mov eax, ecx
sar edi, 2
add edi, ebp
mov ecx, dword [esp + 0x6c]
imul edi, esi
cdq
and edx, 3
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x60]
sar ebx, 2
add eax, edi
add ebx, eax
mov eax, dword [ecx]
add ebx, eax
mov eax, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
jmp 0x4965ce
mov ebx, dword [esp + 0x54]
mov edx, ecx
mov edi, eax
and edx, 1
and edi, 1
shl ebx, 4
lea edx, [edi + edx*2]
mov edi, dword [esp + 0x50]
shl edi, 4
sub edx, 0
je 0x496532
dec edx
je 0x496510
dec edx
je 0x4964ee
dec eax
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x64], eax
lea eax, [ecx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x68]
jmp 0x496551
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x68], eax
lea eax, [ecx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x60]
jmp 0x496551
dec eax
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x68], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x64]
jmp 0x496551
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x68], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
add eax, ecx
mov ecx, dword [edx]
add eax, ecx
mov ecx, ebp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov edx, eax
and ecx, 1
and edx, 1
lea ecx, [edx + ecx*2]
sub ecx, 0
je 0x4965ad
dec ecx
je 0x49659c
dec ecx
je 0x49658b
dec eax
cdq
sub eax, edx
mov ecx, eax
lea eax, [ebp - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
jmp 0x4965bb
cdq
sub eax, edx
mov ecx, eax
lea eax, [ebp - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
jmp 0x4965bb
dec eax
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x74]
jmp 0x4965bb
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar ecx, 1
add ecx, ebx
mov ebx, eax
imul ecx, esi
mov eax, dword [edx]
add edi, ecx
sar ebx, 1
add ebx, edi
add ebx, eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x68], edx
lea ecx, [eax + eax]
mov dword [esp + 0x18], ecx
mov ecx, edi
mov edx, edi
sar ecx, 1
mov eax, ecx
and edx, 1
imul eax, esi
add eax, edx
push esi
shl eax, 3
lea ebp, [eax + ebx]
push ebp
mov ebp, dword [esp + 0x6c]
add eax, ebp
mov ebp, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x60]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x24]
imul ecx, esi
add ecx, eax
add ecx, edx
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
lea ecx, [eax + ecx*8]
push ecx
push ebp
call dword [0x58e43c]
add esp, 0x14
inc edi
add ebp, 0x80
cmp edi, 4
mov dword [esp + 0x68], ebp
jl 0x4965e3
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 3
sar eax, 1
add eax, dword [edx*4 + 0x504ac8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 3
sar eax, 1
add eax, dword [ecx*4 + 0x504ac8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov edx, eax
and edx, 3
sar eax, 1
add eax, dword [edx*4 + 0x504ac8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, 3
sar eax, 1
add eax, dword [ecx*4 + 0x504ac8]
jmp 0x496caa
mov eax, dword [esp + 0x50]
xor ebx, ebx
sub edi, edx
mov dword [esp + 0x24], ebx
lea ecx, [eax + eax]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
lea ecx, [edx + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov ebp, dword [edx + ebx*8]
mov ecx, dword [ecx + eax]
mov edi, dword [eax - 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
je 0x496b3a
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add edx, eax
mov eax, ecx
mov dword [esp + 0x14], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add edx, eax
mov eax, edi
mov dword [esp + 0x10], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add edx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add edx, eax
mov eax, ecx
or eax, ebp
mov dword [esp + 0x24], edx
test al, 3
je 0x496a37
mov eax, dword [esp + 0x54]
mov edx, ebx
sar edx, 1
and ebx, 1
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
add edx, ebx
shl eax, 3
mov edi, eax
mov dword [esp + 0x28], ebx
sub edi, eax
lea eax, [ecx + eax*4]
sar eax, 2
imul edi, esi
imul eax, esi
shl edx, 3
mov dword [esp + 0x18], edx
add edi, dword [esp + 0x80]
lea edx, [ebp + edx*4]
mov ebx, dword [0x523c1c]
sar edx, 2
and ecx, 3
add eax, edx
mov edx, dword [esp + 0x5c]
and ebp, 3
shl ecx, 2
add eax, dword [edx]
or ecx, ebp
cmp ecx, 0xf
ja case.default.0x4967ae
jmp dword [ecx*4 + 0x496e60]
push esi
push eax
push edi
call dword [0x58e430]
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
add esp, 0xc
jmp 0x496a8e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x1c]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x496a8e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x18]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x496a8e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x20]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x496a8e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x496a8e
push 0
push esi
push 9
push eax
mov eax, dword [esp + 0x90]
lea ebp, [eax + 0x20]
push ebp
call dword [ebx + 0x1c]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x496a8e
mov ecx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [ecx + 0x20]
push eax
push ebp
call dword [ebx + 0x18]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x496a8e
mov edx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [edx + 0x20]
push eax
push ebp
call dword [ebx + 0x20]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x496a8e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x496a8e
push 0
push esi
push 9
push eax
mov eax, dword [esp + 0x90]
lea ebp, [eax + 0x20]
push ebp
call dword [ebx + 0x1c]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x496a8e
mov ecx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [ecx + 0x20]
push eax
push ebp
call dword [ebx + 0x18]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x496a8e
mov edx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [edx + 0x20]
push eax
push ebp
call dword [ebx + 0x20]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x496a8e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x2c]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x496a8e
push 0
push esi
push 9
push eax
mov eax, dword [esp + 0x90]
lea ebp, [eax + 0x20]
push ebp
call dword [ebx + 0x1c]
jmp 0x496a19
mov ecx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [ecx + 0x20]
push eax
push ebp
call dword [ebx + 0x18]
jmp 0x496a19
mov edx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [edx + 0x20]
push eax
push ebp
call dword [ebx + 0x20]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x2c]
add esp, 0x28
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
jmp 0x496a8e
mov edx, dword [esp + 0x54]
mov eax, ebx
sar eax, 1
lea edi, [eax + edx*2]
mov edx, dword [esp + 0x18]
mov eax, ebx
and eax, 1
mov dword [esp + 0x28], eax
add eax, edx
shl eax, 3
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov ecx, eax
lea eax, [edi*8]
sar ecx, 2
add ecx, eax
mov eax, ebp
imul ecx, esi
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x5c]
sar ebp, 2
add edx, ecx
mov ecx, dword [eax]
add ebp, edx
add ebp, ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ecx, eax
or ecx, edx
test cl, 3
je 0x496b01
push 0
mov ecx, dword [esp + 0x84]
push esi
push eax
mov eax, dword [esp + 0x54]
lea edx, [ecx + 0x10]
push eax
lea eax, [edi*8]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x20]
push eax
mov dword [esp + 0x6c], edx
push edx
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
mov edx, edi
imul edx, esi
push eax
mov eax, dword [esp + 0x78]
neg eax
add eax, eax
sub eax, edx
mov edx, dword [esp + 0x50]
sub eax, edx
lea ecx, [ecx + eax*8 + 0x10]
push ecx
call fcn.004972b0
mov ecx, dword [esp + 0x78]
add esp, 0x2c
jmp 0x496bfa
cdq
and edx, 3
add eax, edx
mov ecx, eax
lea eax, [edi*8]
sar ecx, 2
add ecx, eax
mov eax, dword [esp + 0x48]
imul ecx, esi
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 2
add ecx, eax
mov eax, dword [edx]
add ecx, eax
mov eax, dword [esp + 0x18]
add ecx, eax
jmp 0x496bfa
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add eax, ebp
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
add eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, ebx
add edi, ecx
push esi
sar eax, 1
mov dword [esp + 0x14], edi
push ecx
lea edi, [eax + edx*2]
mov edx, dword [esp + 0x20]
mov eax, ebx
push ebp
and eax, 1
push 8
mov dword [esp + 0x38], eax
add eax, edx
mov edx, dword [esp + 0x74]
push edi
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
mov edx, dword [ecx]
mov ecx, dword [eax]
push edx
push ecx
call fcn.00496ea0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
mov ebp, eax
mov eax, dword [esp + 0x70]
push esi
push edx
mov edx, dword [esp + 0xa8]
push eax
push 8
push edi
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0xb4]
mov edx, dword [ecx]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xb4]
push ecx
mov eax, dword [edx]
push eax
call fcn.00496ea0
add esp, 0x50
mov ecx, eax
imul edi, esi
mov edx, dword [esp + 0x58]
push esi
push ecx
mov ecx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x34]
lea eax, [ecx + ecx]
add edi, eax
mov dword [esp + 0x24], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x3c]
add edi, ebp
lea ecx, [eax + edi*8]
push ecx
push edx
call dword [0x58e43c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 0x14
inc ebx
add edx, 8
add ecx, 0x80
cmp ebx, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
jl 0x4966cb
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xf
sar eax, 3
add eax, dword [ecx*4 + 0x504a68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0xf
sar eax, 3
add eax, dword [edx*4 + 0x504a68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xf
sar eax, 3
add eax, dword [ecx*4 + 0x504a68]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov edx, eax
and edx, 0xf
sar eax, 3
add eax, dword [edx*4 + 0x504a68]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x80]
mov edi, esi
imul esi, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
shr edi, 1
lea ebp, [ecx*8]
mov ecx, dword [esp + 0x10]
push edi
push 0
lea ebx, [eax*8]
push edi
lea eax, [edx + 8]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push ebp
mov edx, dword [ecx + 4]
push ebx
shl esi, 3
shr esi, 1
push edx
push eax
add esi, ebx
call fcn.00496f50
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x90]
add esp, 0x20
push eax
mov eax, dword [esp + 0x54]
push 0
push edi
push eax
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [esp + 0x98]
push ebp
push ebx
push eax
push ecx
call fcn.00496f50
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0xa4]
add esp, 0x20
add ecx, 0x200
push eax
mov eax, dword [edx + 4]
add eax, esi
push eax
push ecx
call dword [0x58e43c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
add esp, 0x14
push edi
push 0
push edi
push edx
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x94]
push ebp
push ebx
add eax, 8
push edx
push eax
call fcn.00496f50
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
add esp, 0x20
push eax
mov eax, dword [esp + 0x74]
push 0
push edi
push ecx
push edx
push ebp
push ebx
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xa0]
push ecx
push edx
call fcn.00496f50
add esp, 0x20
mov edx, dword [esp + 0x84]
add edx, 0x280
push eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
add ecx, esi
push ecx
push edx
call dword [0x58e43c]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret