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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x54
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
test ebx, ebx
mov ecx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp + 0x24], eax
je 0x4a4f06
movzx eax, byte [eax + 8]
mov ecx, eax
and ecx, 4
je 0x4a49dd
cmp eax, 3
je 0x4a4f06
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4a4f06
mov dword [esp + 0x20], eax
test eax, eax
je 0x4a4e9b
cmp eax, 2
je 0x4a4d21
cmp eax, 4
je 0x4a4c0a
cmp eax, 6
jne 0x4a4eca
mov eax, dword [esp + 0x24]
mov al, byte [eax + 9]
cmp al, 8
je 0x4a5118
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a4fc0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4a4fc0
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4a4fc0
xor eax, eax
mov ebx, dword [esp + 4]
mov dword [esp + 8], eax
test ebx, ebx
mov eax, edx
mov ebp, edx
jbe 0x4a4eca
mov edi, dword [esp + 0x94]
mov ebx, eax
nop
movzx ecx, byte [ebx + 6]
movzx eax, byte [ebx + 7]
shl ecx, 8
add ecx, eax
movzx ecx, cx
cmp ecx, 0xffff
je 0x4a4f50
test ecx, ecx
je 0x4a4f0e
movzx eax, byte [ebx + 1]
mov edx, dword [esp + 0x90]
movzx esi, byte [ebx]
mov dword [esp + 0x28], ecx
mov ecx, edi
sar eax, cl
mov ecx, dword [esp + 0x74]
mov eax, dword [edx + eax*4]
movzx eax, word [eax + esi*2]
movzx esi, word [ecx + 2]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
imul eax, ecx
mov dword [esp + 0x30], edx
mov edx, ecx
neg edx
add edx, 0xffff
imul esi, edx
lea eax, [eax + esi + 0x8000]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x34], edx
mov edx, eax
shr edx, 0x10
add eax, edx
shr eax, 0x10
movzx edx, al
sar eax, 8
mov dword [esp + 0x38], ecx
mov ecx, edi
sar edx, cl
mov ecx, edi
mov edx, dword [esi + edx*4]
movzx edx, word [edx + eax*2]
mov byte [ebp + 1], dl
sar edx, 8
mov byte [ebp], dl
movzx eax, byte [ebx + 3]
movzx edx, byte [ebx + 2]
sar eax, cl
mov ecx, edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x30]
mov eax, dword [edi + eax*4]
movzx eax, word [eax + edx*2]
mov edx, dword [esp + 0x38]
imul eax, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x44], edi
movzx edi, word [edx + 4]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x34]
imul edi, edx
lea eax, [eax + edi + 0x8000]
mov edi, eax
shr edi, 0x10
add eax, edi
shr eax, 0x10
mov edi, eax
sar edi, 8
movzx eax, al
sar eax, cl
mov eax, dword [esi + eax*4]
movzx eax, word [eax + edi*2]
mov ecx, eax
sar ecx, 8
mov byte [ebp + 3], al
mov byte [ebp + 2], cl
movzx eax, byte [ebx + 5]
movzx ecx, byte [ebx + 4]
mov edi, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ebx
mov ebx, ecx
sar eax, cl
mov ecx, ebx
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x44]
mov ebx, dword [ebx + eax*4]
movzx ebx, word [ebx + edi*2]
mov eax, dword [esp + 0x40]
imul ebx, eax
mov eax, dword [esp + 0x48]
movzx eax, word [eax + 6]
imul edx, eax
lea ebx, [ebx + edx + 0x8000]
mov eax, ebx
shr eax, 0x10
add ebx, eax
shr ebx, 0x10
mov eax, ebx
movzx eax, al
sar ebx, 8
sar eax, cl
mov esi, dword [esi + eax*4]
movzx esi, word [esi + ebx*2]
mov eax, esi
sar eax, 8
mov byte [ebp + 4], al
mov eax, esi
mov byte [ebp + 5], al
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 8]
add ebp, 6
inc eax
add ebx, 8
mov edx, dword [esp + 4]
mov dword [esp + 8], eax
cmp eax, edx
jb 0x4a4a60
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x24]
mov al, byte [eax + 9]
cmp al, 8
je 0x4a5540
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a5470
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4a5470
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4a5470
mov ebp, edx
mov eax, edx
xor edx, edx
mov ebx, dword [esp + 4]
test ebx, ebx
jbe 0x4a4eca
mov ebx, eax
mov edi, edx
lea esi, [esi]
movzx edx, byte [ebx + 2]
movzx eax, byte [ebx + 3]
shl edx, 8
add edx, eax
movzx edx, dx
cmp edx, 0xffff
je 0x4a5400
test edx, edx
je 0x4a53e0
movzx eax, byte [ebx + 1]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x28], edi
mov edi, ecx
sar eax, cl
movzx ecx, byte [ebx]
mov esi, dword [esi + eax*4]
mov eax, dword [esp + 0x78]
movzx eax, word [eax + 8]
movzx esi, word [esi + ecx*2]
mov ecx, edi
mov edi, dword [esp + 0x8c]
imul esi, edx
neg edx
add edx, 0xffff
imul edx, eax
lea esi, [esi + edx + 0x8000]
mov eax, esi
shr eax, 0x10
add esi, eax
shr esi, 0x10
mov eax, esi
movzx eax, al
sar esi, 8
sar eax, cl
mov edi, dword [edi + eax*4]
movzx edi, word [edi + esi*2]
mov eax, edi
sar eax, 8
mov byte [ebp], al
mov eax, edi
mov byte [ebp + 1], al
mov edi, dword [esp + 0x28]
inc edi
add ebp, 2
add ebx, 4
mov eax, dword [esp + 4]
cmp edi, eax
jb 0x4a4c60
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x24]
mov al, byte [eax + 9]
cmp al, 8
je 0x4a57a9
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a56e0
xor eax, eax
mov ebx, dword [esp + 4]
mov dword [esp + 0x14], eax
test ebx, ebx
mov ebp, edx
jbe 0x4a4eca
movzx ecx, byte [ebp + 2]
movzx esi, byte [ebp + 3]
movzx edi, byte [ebp + 4]
movzx eax, byte [ebp + 5]
mov edx, ecx
shl edx, 8
mov dword [esp + 0x1c], eax
add edx, esi
movzx ebx, byte [ebp + 1]
movzx edx, dx
mov dword [esp + 8], edx
movzx edx, byte [ebp]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
mov esi, edi
shl esi, 8
add esi, eax
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 2]
mov dword [esp + 0x2c], ecx
mov ecx, esi
movzx ecx, cx
mov dword [esp + 0xc], ecx
mov ecx, edx
shl ecx, 8
add ecx, ebx
movzx ecx, cx
cmp ecx, eax
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jne 0x4a4e10
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 8]
movzx eax, word [eax + 4]
cmp ebx, eax
jne 0x4a4e10
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
movzx eax, word [eax + 6]
cmp ebx, eax
jne 0x4a4e10
mov eax, dword [esp + 0x74]
movzx edx, word [eax + 2]
sar edx, 8
mov byte [ebp], dl
movzx edx, word [eax + 2]
mov byte [ebp + 1], dl
movzx edx, word [eax + 4]
sar edx, 8
mov byte [ebp + 2], dl
movzx edx, word [eax + 4]
mov byte [ebp + 3], dl
movzx edx, word [eax + 6]
sar edx, 8
mov byte [ebp + 4], dl
movzx eax, word [eax + 6]
mov byte [ebp + 5], al
jmp 0x4a4e72
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, eax
sar ebx, cl
mov ecx, dword [esp + 0x88]
mov ebx, dword [ecx + ebx*4]
movzx ebx, word [ebx + edx*2]
mov edx, dword [esp + 0x1c]
mov byte [ebp + 1], bl
sar ebx, 8
mov byte [ebp], bl
mov ebx, ecx
mov ecx, eax
sar esi, cl
mov ecx, eax
mov esi, dword [ebx + esi*4]
sar edx, cl
mov ecx, dword [esp + 0x28]
movzx esi, word [esi + ecx*2]
mov eax, esi
sar eax, 8
mov byte [ebp + 2], al
mov eax, esi
mov byte [ebp + 3], al
mov ebx, dword [ebx + edx*4]
movzx ebx, word [ebx + edi*2]
mov eax, ebx
sar eax, 8
mov byte [ebp + 5], bl
mov byte [ebp + 4], al
mov eax, dword [esp + 0x14]
add ebp, 6
inc eax
mov edx, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp eax, edx
jb 0x4a4d53
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x24]
mov al, byte [eax + 9]
cmp al, 1
je 0x4a5e30
cmp al, 2
je 0x4a5c60
cmp al, 4
je 0x4a5a9b
cmp al, 8
je 0x4a59e3
cmp al, 0x10
je 0x4a58c4
test ecx, ecx
je 0x4a4f06
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 4]
movzx ecx, byte [eax + 0xa]
movzx ebx, byte [eax + 9]
dec ecx
mov ebp, dword [esp + 0x20]
mov byte [eax + 0xa], cl
movzx ecx, cl
imul ecx, ebx
movzx ecx, cl
imul edx, ecx
mov byte [eax + 0xb], cl
add edx, 7
shr edx, 3
mov dword [eax + 4], edx
mov edx, ebp
and dl, 0xfb
mov byte [eax + 8], dl
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x74]
movzx edx, word [eax + 2]
sar edx, 8
mov byte [ebp], dl
movzx edx, word [eax + 2]
mov byte [ebp + 1], dl
movzx edx, word [eax + 4]
sar edx, 8
mov byte [ebp + 2], dl
movzx edx, word [eax + 4]
mov byte [ebp + 3], dl
movzx edx, word [eax + 6]
sar edx, 8
mov byte [ebp + 4], dl
movzx eax, word [eax + 6]
mov byte [ebp + 5], al
jmp 0x4a4bdb
movzx eax, byte [ebx + 1]
mov ecx, edi
mov edx, dword [esp + 0x88]
movzx esi, byte [ebx]
sar eax, cl
mov ecx, edi
mov eax, dword [edx + eax*4]
movzx eax, word [eax + esi*2]
mov esi, eax
sar esi, 8
mov byte [ebp + 1], al
mov eax, esi
mov byte [ebp], al
movzx eax, byte [ebx + 3]
movzx esi, byte [ebx + 2]
sar eax, cl
mov ecx, edi
mov eax, dword [edx + eax*4]
movzx eax, word [eax + esi*2]
mov esi, eax
sar esi, 8
mov byte [ebp + 3], al
mov eax, esi
mov byte [ebp + 2], al
movzx eax, byte [ebx + 5]
movzx esi, byte [ebx + 4]
sar eax, cl
mov edx, dword [edx + eax*4]
movzx edx, word [edx + esi*2]
mov eax, edx
sar eax, 8
mov byte [ebp + 5], dl
mov byte [ebp + 4], al
jmp 0x4a4bdb
mov dword [esp + 0x18], edx
xor eax, eax
mov ebx, dword [esp + 4]
mov dword [esp + 0x1c], eax
test ebx, ebx
mov esi, edx
jbe 0x4a4eca
mov ebp, esi
mov esi, eax
mov edi, dword [esp + 0x74]
mov ebx, edx
movzx edx, byte [ebx + 6]
movzx eax, byte [ebx + 7]
shl edx, 8
add edx, eax
movzx edx, dx
cmp edx, 0xffff
je 0x4a50e0
test edx, edx
je 0x4a5430
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
add eax, ecx
movzx ecx, word [edi + 2]
movzx eax, ax
imul eax, edx
mov dword [esp + 0x28], esi
mov esi, edx
neg esi
add esi, 0xffff
imul ecx, esi
lea eax, [eax + ecx + 0x8000]
movzx ecx, byte [ebx + 2]
shl ecx, 8
mov dword [esp + 0x2c], edx
mov edx, eax
shr edx, 0x10
add eax, edx
movzx edx, byte [ebx + 3]
shr eax, 0x10
add ecx, edx
movzx edx, byte [ebx + 4]
movzx ecx, cx
shl edx, 8
mov dword [esp + 0x30], edx
mov edx, eax
sar edx, 8
mov dword [esp + 0x34], ecx
movzx ecx, byte [ebx + 5]
mov byte [ebp], dl
mov byte [ebp + 1], al
movzx eax, word [edi + 4]
imul eax, esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
imul edx, ebx
lea edx, [edx + eax + 0x8000]
mov eax, edx
shr eax, 0x10
add edx, eax
shr edx, 0x10
mov byte [ebp + 3], dl
sar edx, 8
mov byte [ebp + 2], dl
movzx eax, word [edi + 6]
imul esi, eax
mov eax, dword [esp + 0x30]
add eax, ecx
movzx eax, ax
imul eax, ebx
lea eax, [eax + esi + 0x8000]
mov edx, eax
shr edx, 0x10
add eax, edx
shr eax, 0x10
mov byte [ebp + 5], al
sar eax, 8
mov byte [ebp + 4], al
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
jmp 0x4a50f1
mov eax, dword [ebx]
mov dl, byte [ebx + 4]
mov dh, byte [ebx + 5]
mov byte [ebp + 4], dl
mov byte [ebp + 5], dh
mov dword [ebp], eax
inc esi
add ebp, 6
add ebx, 8
mov eax, dword [esp + 4]
cmp esi, eax
jb 0x4a4fe2
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a52c0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4a52c0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4a52c0
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, edx
test eax, eax
mov eax, edx
jbe 0x4a4eca
mov edi, dword [esp + 0x78]
mov ebx, eax
lea esi, [esi]
movzx ecx, byte [ebx + 3]
cmp ecx, 0xff
je 0x4a5274
test ecx, ecx
je 0x4a52a0
movzx eax, byte [ebx]
mov edx, dword [esp + 0x84]
movzx eax, byte [eax + edx]
imul eax, ecx
mov dword [esp + 0x28], esi
movzx esi, word [edi + 2]
mov dword [esp + 0x2c], edi
mov edi, ecx
neg edi
add edi, 0xff
mov dword [esp + 0x30], ecx
mov ecx, edi
movzx ecx, cx
mov edi, dword [esp + 0x80]
imul esi, ecx
lea esi, [esi + eax + 0x80]
mov eax, esi
movzx eax, ax
mov esi, eax
sar esi, 8
add eax, esi
sar eax, 8
movzx eax, al
mov al, byte [eax + edi]
mov byte [ebp], al
movzx eax, byte [ebx + 1]
movzx eax, byte [eax + edx]
mov esi, dword [esp + 0x30]
imul eax, esi
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
movzx edx, word [esi + 4]
imul edx, ecx
lea edx, [edx + eax + 0x80]
movzx edx, dx
mov eax, edx
sar eax, 8
add edx, eax
sar edx, 8
movzx edx, dl
mov dl, byte [edx + edi]
mov byte [ebp + 1], dl
movzx eax, byte [ebx + 2]
movzx edx, word [esi + 6]
imul edx, ecx
mov ecx, dword [esp + 0x38]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x34]
imul eax, ecx
lea edx, [edx + eax + 0x80]
movzx edx, dx
mov eax, edx
sar eax, 8
add edx, eax
sar edx, 8
movzx edx, dl
mov dl, byte [edx + edi]
mov byte [ebp + 2], dl
mov edi, esi
mov esi, dword [esp + 0x28]
inc esi
add ebp, 3
add ebx, 4
mov eax, dword [esp + 4]
cmp esi, eax
jb 0x4a5160
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
movzx eax, byte [ebx]
mov edx, dword [esp + 0x7c]
mov al, byte [eax + edx]
mov byte [ebp], al
movzx eax, byte [ebx + 1]
mov al, byte [eax + edx]
mov byte [ebp + 1], al
movzx eax, byte [ebx + 2]
mov al, byte [eax + edx]
mov byte [ebp + 2], al
jmp 0x4a524d
mov eax, dword [esp + 0x74]
movzx edx, word [eax + 2]
mov byte [ebp], dl
movzx edx, word [eax + 4]
mov byte [ebp + 1], dl
movzx eax, word [eax + 6]
mov byte [ebp + 2], al
jmp 0x4a524d
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, edx
test eax, eax
mov eax, edx
jbe 0x4a4eca
mov edi, dword [esp + 0x74]
mov ebx, eax
nop
lea esi, [esi]
movzx edx, byte [ebx + 3]
cmp edx, 0xff
je 0x4a53ac
test edx, edx
je 0x4a53c0
movzx eax, word [edi + 2]
movzx ecx, byte [ebx]
imul ecx, edx
mov dword [esp + 0x28], esi
mov esi, edx
neg esi
add esi, 0xff
mov dword [esp + 0x2c], edx
mov edx, esi
movzx edx, dx
imul eax, edx
lea eax, [eax + ecx + 0x80]
movzx eax, ax
mov ecx, eax
sar ecx, 8
add eax, ecx
sar eax, 8
mov byte [ebp], al
movzx eax, word [edi + 4]
movzx ecx, byte [ebx + 1]
imul eax, edx
mov esi, dword [esp + 0x2c]
imul ecx, esi
lea eax, [eax + ecx + 0x80]
movzx eax, ax
mov ecx, eax
sar ecx, 8
add eax, ecx
sar eax, 8
mov byte [ebp + 1], al
movzx eax, word [edi + 6]
movzx ecx, byte [ebx + 2]
imul eax, edx
imul ecx, esi
lea eax, [eax + ecx + 0x80]
movzx eax, ax
mov edx, eax
sar edx, 8
add eax, edx
sar eax, 8
mov byte [ebp + 2], al
mov esi, dword [esp + 0x28]
inc esi
add ebp, 3
add ebx, 4
mov eax, dword [esp + 4]
cmp esi, eax
jb 0x4a52e0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov al, byte [ebx]
mov byte [ebp], al
mov al, byte [ebx + 1]
mov byte [ebp + 1], al
mov al, byte [ebx + 2]
mov byte [ebp + 2], al
jmp 0x4a5385
movzx eax, word [edi + 2]
mov byte [ebp], al
movzx eax, word [edi + 4]
mov byte [ebp + 1], al
movzx eax, word [edi + 6]
mov byte [ebp + 2], al
jmp 0x4a5385
mov eax, dword [esp + 0x74]
movzx edx, word [eax + 8]
sar edx, 8
mov byte [ebp], dl
movzx eax, word [eax + 8]
mov byte [ebp + 1], al
jmp 0x4a4cfa
movzx eax, byte [ebx + 1]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x88]
movzx esi, byte [ebx]
sar eax, cl
mov edx, dword [edx + eax*4]
movzx edx, word [edx + esi*2]
mov eax, edx
sar eax, 8
mov byte [ebp + 1], dl
mov byte [ebp], al
jmp 0x4a4cfa
movzx eax, word [edi + 2]
sar eax, 8
mov byte [ebp], al
movzx eax, word [edi + 2]
mov byte [ebp + 1], al
movzx eax, word [edi + 4]
sar eax, 8
mov byte [ebp + 2], al
movzx eax, word [edi + 4]
mov byte [ebp + 3], al
movzx eax, word [edi + 6]
sar eax, 8
mov byte [ebp + 4], al
movzx eax, word [edi + 6]
mov byte [ebp + 5], al
jmp 0x4a50f1
mov dword [esp + 0x1c], edx
xor eax, eax
mov ebx, dword [esp + 4]
mov dword [esp + 8], eax
test ebx, ebx
mov esi, edx
jbe 0x4a4eca
mov ebp, ebx
mov edi, dword [esp + 0x78]
mov ebx, edx
movzx eax, byte [ebx + 2]
movzx edx, byte [ebx + 3]
shl eax, 8
add eax, edx
movzx eax, ax
cmp eax, 0xffff
je 0x4a54f0
test eax, eax
je 0x4a5521
movzx edx, byte [ebx]
movzx ecx, byte [ebx + 1]
shl edx, 8
add edx, ecx
movzx ecx, word [edi + 8]
movzx edx, dx
imul edx, eax
neg eax
add eax, 0xffff
imul eax, ecx
lea edx, [edx + eax + 0x8000]
mov eax, edx
shr eax, 0x10
add edx, eax
shr edx, 0x10
mov byte [esi + 1], dl
sar edx, 8
mov byte [esi], dl
jmp 0x4a54fa
mov al, byte [ebx]
mov ah, byte [ebx + 1]
mov byte [esi], al
mov byte [esi + 1], ah
mov eax, dword [esp + 8]
add esi, 2
inc eax
add ebx, 4
cmp eax, ebp
mov dword [esp + 8], eax
jb 0x4a5490
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x74]
movzx edx, word [eax + 8]
sar edx, 8
mov byte [esi], dl
movzx eax, word [eax + 8]
mov byte [esi + 1], al
jmp 0x4a54fa
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a5630
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4a5630
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4a5630
xor eax, eax
mov ebx, dword [esp + 4]
mov dword [esp + 8], eax
test ebx, ebx
mov eax, edx
mov esi, edx
jbe 0x4a4eca
mov ebp, ebx
mov edi, dword [esp + 0x78]
mov ebx, eax
nop
lea esi, [esi]
movzx eax, byte [ebx + 1]
cmp eax, 0xff
je 0x4a560d
test eax, eax
je 0x4a5620
movzx edx, byte [ebx]
mov ecx, dword [esp + 0x84]
movzx edx, byte [edx + ecx]
movzx ecx, word [edi + 8]
imul edx, eax
neg eax
add eax, 0xff
movzx eax, ax
imul ecx, eax
mov eax, dword [esp + 0x80]
lea ecx, [ecx + edx + 0x80]
movzx ecx, cx
mov edx, ecx
sar edx, 8
add ecx, edx
sar ecx, 8
movzx ecx, cl
mov cl, byte [ecx + eax]
mov byte [esi], cl
mov eax, dword [esp + 8]
inc esi
inc eax
add ebx, 2
cmp eax, ebp
mov dword [esp + 8], eax
jb 0x4a5590
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
movzx eax, byte [ebx]
mov edx, dword [esp + 0x7c]
mov al, byte [eax + edx]
mov byte [esi], al
jmp 0x4a55e8
mov eax, dword [esp + 0x74]
movzx eax, word [eax + 8]
mov byte [esi], al
jmp 0x4a55e8
mov eax, edx
xor esi, esi
mov ebx, dword [esp + 4]
test ebx, ebx
jbe 0x4a4eca
mov ebp, ebx
mov edi, dword [esp + 0x78]
mov ecx, eax
mov ebx, edx
lea esi, [esi]
movzx eax, byte [ecx + 1]
cmp eax, 0xff
je 0x4a56be
test eax, eax
je 0x4a56d0
movzx edx, word [edi + 8]
mov dword [esp + 0x28], edi
mov edi, eax
neg edi
add edi, 0xff
mov dword [esp + 0x2c], ebx
mov ebx, edi
movzx ebx, bx
movzx edi, byte [ecx]
imul edx, ebx
imul edi, eax
lea edx, [edx + edi + 0x80]
movzx edx, dx
mov eax, edx
sar eax, 8
add edx, eax
sar edx, 8
mov ebx, dword [esp + 0x2c]
mov byte [ebx], dl
mov edi, dword [esp + 0x28]
inc esi
inc ebx
add ecx, 2
cmp esi, ebp
jb 0x4a5650
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov al, byte [ecx]
mov byte [ebx], al
jmp 0x4a56a1
mov eax, dword [esp + 0x74]
movzx eax, word [eax + 8]
mov byte [ebx], al
jmp 0x4a56a1
xor eax, eax
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], eax
test ebx, ebx
jbe 0x4a4eca
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x74]
mov ebp, ebx
lea esi, [esi]
movzx eax, byte [edx + 4]
movzx ebx, byte [edx + 5]
shl eax, 8
movzx esi, byte [edx + 2]
add eax, ebx
shl esi, 8
movzx eax, ax
movzx ebx, byte [edx + 3]
mov dword [esp + 8], eax
add ebx, esi
movzx eax, byte [edx]
movzx ebx, bx
movzx esi, byte [edx + 1]
shl eax, 8
add eax, esi
movzx esi, word [ecx + 2]
movzx eax, ax
cmp eax, esi
jne 0x4a5781
movzx eax, word [ecx + 4]
cmp ebx, eax
jne 0x4a5781
movzx eax, word [ecx + 6]
mov ebx, dword [esp + 8]
cmp ebx, eax
jne 0x4a5781
movzx eax, word [edi + 2]
sar eax, 8
mov byte [edx], al
movzx eax, word [edi + 2]
mov byte [edx + 1], al
movzx eax, word [edi + 4]
sar eax, 8
mov byte [edx + 2], al
movzx eax, word [edi + 4]
mov byte [edx + 3], al
movzx eax, word [edi + 6]
sar eax, 8
mov byte [edx + 4], al
movzx eax, word [edi + 6]
mov byte [edx + 5], al
mov eax, dword [esp + 0xc]
add edx, 6
inc eax
cmp eax, ebp
mov dword [esp + 0xc], eax
jb 0x4a5700
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4a5855
xor edi, edi
mov eax, dword [esp + 4]
test eax, eax
mov eax, edx
jbe 0x4a4eca
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x7c]
movzx ebx, byte [eax]
movzx edx, word [ecx + 2]
cmp ebx, edx
jne 0x4a5820
movzx edx, byte [eax + 1]
mov dword [esp + 0x28], edi
movzx edi, word [ecx + 4]
cmp edx, edi
mov edi, dword [esp + 0x28]
jne 0x4a5820
movzx edx, byte [eax + 2]
mov dword [esp + 0x28], edi
movzx edi, word [ecx + 6]
cmp edx, edi
mov edi, dword [esp + 0x28]
jne 0x4a5820
mov edx, dword [esp + 0x74]
movzx ebx, word [edx + 2]
mov byte [eax], bl
movzx ebx, word [edx + 4]
mov byte [eax + 1], bl
movzx edx, word [edx + 6]
mov byte [eax + 2], dl
jmp 0x4a5839
movzx edx, byte [eax + 1]
mov bl, byte [esi + ebx]
mov byte [eax], bl
movzx ebx, byte [eax + 2]
mov dl, byte [edx + esi]
mov byte [eax + 1], dl
mov bl, byte [ebx + esi]
mov byte [eax + 2], bl
inc edi
add eax, 3
cmp edi, ebp
jb 0x4a57d1
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, edx
xor edx, edx
mov ebx, dword [esp + 4]
test ebx, ebx
jbe 0x4a4eca
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x74]
mov ebp, ebx
mov ebx, edx
movzx edx, byte [eax]
movzx esi, word [ecx + 2]
cmp edx, esi
jne 0x4a58a8
movzx edx, byte [eax + 1]
movzx esi, word [ecx + 4]
cmp edx, esi
jne 0x4a58a8
movzx edx, byte [eax + 2]
movzx esi, word [ecx + 6]
cmp edx, esi
jne 0x4a58a8
movzx edx, word [edi + 2]
mov byte [eax], dl
movzx edx, word [edi + 4]
mov byte [eax + 1], dl
movzx edx, word [edi + 6]
mov byte [eax + 2], dl
inc ebx
add eax, 3
cmp ebx, ebp
jb 0x4a5871
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a597f
xor edi, edi
mov eax, dword [esp + 4]
test eax, eax
mov eax, edx
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
mov esi, esi
lea edi, [edi]
movzx ecx, byte [eax]
movzx ebx, byte [eax + 1]
movzx edx, word [esi + 8]
mov ebp, ecx
shl ebp, 8
add ebp, ebx
mov dword [esp + 0x28], ebx
mov ebx, ebp
movzx ebx, bx
cmp ebx, edx
mov ebx, dword [esp + 0x28]
jne 0x4a5930
mov edx, dword [esp + 0x74]
movzx ecx, word [edx + 8]
sar ecx, 8
mov byte [eax], cl
movzx edx, word [edx + 8]
mov byte [eax + 1], dl
jmp 0x4a595f
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x28], ecx
mov ecx, edx
sar ebx, cl
mov ebp, dword [ebp + ebx*4]
mov ecx, dword [esp + 0x28]
movzx ebp, word [ebp + ecx*2]
mov edx, ebp
sar edx, 8
mov byte [eax], dl
mov edx, ebp
mov byte [eax + 1], dl
inc edi
add eax, 2
mov edx, dword [esp + 4]
cmp edi, edx
jb 0x4a58f0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
xor eax, eax
mov ebx, dword [esp + 4]
test ebx, ebx
jbe 0x4a4eca
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x74]
mov ebp, ebx
mov ebx, eax
lea esi, [esi]
movzx eax, byte [edx]
movzx esi, byte [edx + 1]
shl eax, 8
add eax, esi
movzx esi, word [ecx + 8]
movzx eax, ax
cmp eax, esi
jne 0x4a59c7
movzx eax, word [edi + 8]
sar eax, 8
mov byte [edx], al
movzx eax, word [edi + 8]
mov byte [edx + 1], al
inc ebx
add edx, 2
cmp ebx, ebp
jb 0x4a59a0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4a5a4f
mov eax, edx
xor edx, edx
mov ebx, dword [esp + 4]
test ebx, ebx
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
mov ebp, ebx
mov ebx, dword [esp + 0x7c]
lea esi, [esi]
lea edi, [edi]
movzx ecx, byte [eax]
movzx edi, word [esi + 8]
cmp ecx, edi
jne 0x4a5a30
mov ecx, dword [esp + 0x74]
movzx ecx, word [ecx + 8]
mov byte [eax], cl
jmp 0x4a5a35
mov cl, byte [ebx + ecx]
mov byte [eax], cl
inc edx
inc eax
cmp edx, ebp
jb 0x4a5a10
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, edx
xor edx, edx
mov ebx, dword [esp + 4]
test ebx, ebx
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x74]
mov ebp, ebx
mov ecx, edx
nop
lea esi, [esi]
movzx edx, byte [eax]
movzx ebx, word [esi + 8]
cmp edx, ebx
jne 0x4a5a81
movzx edx, word [edi + 8]
mov byte [eax], dl
inc ecx
inc eax
cmp ecx, ebp
jb 0x4a5a70
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4a5bb0
mov dword [esp + 0x18], edx
xor eax, eax
mov edx, dword [esp + 4]
mov dword [esp + 0x1c], eax
test edx, edx
mov eax, 4
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
mov ebx, eax
nop
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov ecx, ebx
movzx ebp, byte [eax]
movzx eax, word [esi + 8]
mov edx, ebp
sar edx, cl
mov ecx, dword [esp + 0x1c]
and edx, 0xf
inc ecx
cmp edx, eax
mov dword [esp + 0x1c], ecx
jne 0x4a5b30
mov eax, 0xf0f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov edi, ebx
neg edi
add edi, 4
mov dword [esp + 0x28], ecx
mov ecx, edi
sar eax, cl
mov ecx, ebx
movzx eax, al
and ebp, eax
mov eax, ebp
movzx eax, al
mov byte [edx], al
mov ebp, dword [esp + 0x28]
movzx ebp, word [ebp + 8]
shl ebp, cl
mov ecx, ebp
movzx ecx, cl
or eax, ecx
mov byte [edx], al
jmp 0x4a5b6e
mov eax, dword [esp + 0x7c]
mov ecx, ebx
mov edi, edx
shl edi, 4
or edx, edi
mov edi, 0xf0f
movzx edx, byte [edx + eax]
mov eax, dword [esp + 0x18]
sar edx, 4
and edx, 0xf
shl edx, cl
movzx edx, dl
mov ecx, ebx
neg ecx
add ecx, 4
sar edi, cl
mov ecx, edi
movzx ecx, cl
and ebp, ecx
mov ecx, ebp
movzx ecx, cl
or ecx, edx
mov byte [eax], cl
test ebx, ebx
je 0x4a5b99
add ebx, 0xfffffffc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 4]
cmp eax, edx
jb 0x4a5ad0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x18]
mov ebx, 4
inc eax
mov dword [esp + 0x18], eax
jmp 0x4a5b75
mov dword [esp + 0x1c], edx
xor edi, edi
mov eax, dword [esp + 4]
test eax, eax
mov eax, 4
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
nop
lea esi, [esi]
mov edx, dword [esp + 0x1c]
mov ecx, eax
movzx ebx, byte [edx]
movzx edx, word [esi + 8]
mov ebp, ebx
sar ebp, cl
inc edi
and ebp, 0xf
cmp ebp, edx
jne 0x4a5c2c
mov edx, 0xf0f
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x28], edi
mov edi, eax
neg edi
add edi, 4
mov dword [esp + 0x2c], ecx
mov ecx, edi
sar edx, cl
mov ecx, eax
movzx edx, dl
and ebx, edx
movzx ebx, bl
mov edx, dword [esp + 0x2c]
mov byte [edx], bl
movzx ebp, word [ebp + 8]
shl ebp, cl
mov ecx, ebp
movzx ecx, cl
or ebx, ecx
mov byte [edx], bl
mov edi, dword [esp + 0x28]
test eax, eax
je 0x4a5c4f
add eax, 0xfffffffc
mov edx, dword [esp + 4]
cmp edi, edx
jb 0x4a5bd0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, 4
jmp 0x4a5c33
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4a5d80
mov dword [esp + 0x18], edx
xor eax, eax
mov edx, dword [esp + 4]
mov dword [esp + 0x1c], eax
test edx, edx
mov eax, 6
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
mov ebx, eax
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov ecx, ebx
movzx edi, byte [eax]
movzx eax, word [esi + 8]
mov edx, edi
sar edx, cl
mov ecx, dword [esp + 0x1c]
and edx, 3
inc ecx
cmp edx, eax
mov dword [esp + 0x1c], ecx
jne 0x4a5cf0
mov eax, 0x3f3f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov ebp, ebx
neg ebp
add ebp, 6
mov dword [esp + 0x28], ecx
mov ecx, ebp
sar eax, cl
mov ecx, ebx
movzx eax, al
and edi, eax
mov eax, edi
movzx eax, al
mov byte [edx], al
mov ebp, dword [esp + 0x28]
movzx ebp, word [ebp + 8]
shl ebp, cl
mov ecx, ebp
movzx ecx, cl
or eax, ecx
mov byte [edx], al
jmp 0x4a5d3a
lea eax, [edx + edx]
mov ecx, dword [esp + 0x7c]
add eax, eax
or eax, edx
mov ebp, edx
shl ebp, 4
shl edx, 6
or eax, ebp
mov ebp, 0x3f3f
or eax, edx
movzx eax, byte [eax + ecx]
mov ecx, ebx
sar eax, 6
mov edx, dword [esp + 0x18]
and eax, 3
shl eax, cl
movzx eax, al
mov ecx, ebx
neg ecx
add ecx, 6
sar ebp, cl
mov ecx, ebp
movzx ecx, cl
and edi, ecx
mov ecx, edi
movzx ecx, cl
or ecx, eax
mov byte [edx], cl
test ebx, ebx
je 0x4a5d65
add ebx, 0xfffffffe
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 4]
cmp eax, edx
jb 0x4a5c90
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, edx
mov ebx, 6
inc eax
mov dword [esp + 0x18], eax
jmp 0x4a5d41
mov dword [esp + 0x1c], edx
xor edi, edi
mov eax, dword [esp + 4]
test eax, eax
mov eax, 6
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
nop
lea esi, [esi]
mov edx, dword [esp + 0x1c]
mov ecx, eax
movzx ebx, byte [edx]
movzx edx, word [esi + 8]
mov ebp, ebx
sar ebp, cl
inc edi
and ebp, 3
cmp ebp, edx
jne 0x4a5dfc
mov edx, 0x3f3f
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x28], edi
mov edi, eax
neg edi
add edi, 6
mov dword [esp + 0x2c], ecx
mov ecx, edi
sar edx, cl
mov ecx, eax
movzx edx, dl
and ebx, edx
movzx ebx, bl
mov edx, dword [esp + 0x2c]
mov byte [edx], bl
movzx ebp, word [ebp + 8]
shl ebp, cl
mov ecx, ebp
movzx ecx, cl
or ebx, ecx
mov byte [edx], bl
mov edi, dword [esp + 0x28]
test eax, eax
je 0x4a5e1f
add eax, 0xfffffffe
mov edx, dword [esp + 4]
cmp edi, edx
jb 0x4a5da0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, 6
jmp 0x4a5e03
mov dword [esp + 0x1c], edx
xor edi, edi
mov eax, dword [esp + 4]
test eax, eax
mov eax, 7
jbe 0x4a4eca
mov esi, dword [esp + 0x10]
nop
lea esi, [esi]
mov edx, dword [esp + 0x1c]
mov ecx, eax
movzx ebx, byte [edx]
movzx edx, word [esi + 8]
mov ebp, ebx
sar ebp, cl
inc edi
and ebp, 1
cmp ebp, edx
jne 0x4a5eac
mov edx, 0x7f7f
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x28], edi
mov edi, eax
neg edi
add edi, 7
mov dword [esp + 0x2c], ecx
mov ecx, edi
sar edx, cl
mov ecx, eax
movzx edx, dl
and ebx, edx
movzx ebx, bl
mov edx, dword [esp + 0x2c]
mov byte [edx], bl
movzx ebp, word [ebp + 8]
shl ebp, cl
mov ecx, ebp
movzx ecx, cl
or ebx, ecx
mov byte [edx], bl
mov edi, dword [esp + 0x28]
test eax, eax
je 0x4a5ecd
dec eax
mov edx, dword [esp + 4]
cmp edi, edx
jb 0x4a5e50
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x20], ecx
and ecx, 4
jmp 0x4a4eca
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, 7
jmp 0x4a5eb1