Function at 0x4074e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x29c
mov esi, ecx
test edx, edx
je 0x40797d
lea edi, [esi + 0x8f12]
xor ebx, ebx
nop
nop
nop
nop
mov byte [edi], 8
inc edi
mov eax, ebx
and eax, 1
xor ebx, 1
lea ebx, [ebx + eax*2]
cmp ebx, 0x90
jb 0x407500
cmp ebx, 0xff
ja 0x40753f
mov eax, 0x100
sub eax, ebx
push eax
push 9
push edi
call fcn.004092c0
add esp, 0xc
sub edi, ebx
add edi, 0x100
mov ebx, 0x100
mov eax, 0x118
sub eax, ebx
push eax
push 7
push edi
call fcn.004092c0
add esp, 0xc
sub edi, ebx
mov dword [edi + 0x11c], 0x8080808
mov dword [edi + 0x118], 0x8080808
mov dword [esi + 0x9032], 0x5050505
mov dword [esi + 0x9036], 0x5050505
mov dword [esi + 0x903a], 0x5050505
mov dword [esi + 0x903e], 0x5050505
mov dword [esi + 0x9042], 0x5050505
mov dword [esi + 0x9046], 0x5050505
mov dword [esi + 0x904a], 0x5050505
mov dword [esi + 0x904e], 0x5050505
lea eax, [esp + 0x15c]
push 0x84
push 0
push eax
call fcn.004092c0
add esp, 0xc
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esi + eax + 0x8f12]
inc dword [esp + ecx*4 + 0x15c]
movzx ecx, byte [esi + eax + 0x8f13]
inc dword [esp + ecx*4 + 0x15c]
movzx ecx, byte [esi + eax + 0x8f14]
inc dword [esp + ecx*4 + 0x15c]
movzx ecx, byte [esi + eax + 0x8f15]
inc dword [esp + ecx*4 + 0x15c]
add eax, 4
cmp eax, 0x120
jne 0x4075e0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x160]
add eax, eax
mov dword [esp + 0x24], eax
add eax, dword [esp + 0x164]
add eax, eax
mov dword [esp + 0x28], eax
add eax, dword [esp + 0x168]
add eax, eax
mov dword [esp + 0x2c], eax
add eax, dword [esp + 0x16c]
add eax, eax
mov dword [esp + 0x30], eax
add eax, dword [esp + 0x170]
add eax, eax
mov dword [esp + 0x34], eax
add eax, dword [esp + 0x174]
add eax, eax
mov dword [esp + 0x38], eax
add eax, dword [esp + 0x178]
add eax, eax
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0x17c]
add eax, eax
mov dword [esp + 0x40], eax
add eax, dword [esp + 0x180]
add eax, eax
mov dword [esp + 0x44], eax
add eax, dword [esp + 0x184]
add eax, eax
mov dword [esp + 0x48], eax
add eax, dword [esp + 0x188]
add eax, eax
mov dword [esp + 0x4c], eax
add eax, dword [esp + 0x18c]
add eax, eax
mov dword [esp + 0x50], eax
add eax, dword [esp + 0x190]
add eax, eax
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x194]
add eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
jmp 0x407700
mov word [esi + eax*2 + 0x8852], bx
inc eax
cmp eax, 0x120
je 0x407774
movzx ecx, byte [esi + eax + 0x8f12]
test ecx, ecx
je 0x4076f8
mov edx, dword [esp + ecx*4 + 0x1c]
lea ebx, [edx + 1]
mov dword [esp + ecx*4 + 0x1c], ebx
xor ebx, ebx
cmp cl, 1
mov dword [esp], ecx
je 0x40775b
mov ebp, ecx
and ebp, 0xfffffffe
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
not ecx
or ecx, 1
add ecx, edx
mov edi, edx
shr edi, 1
shl ebx, 2
add ecx, ecx
add ecx, 2
or ecx, ebx
mov ebx, edi
not ebx
or ebx, 1
add ebx, edi
inc ebx
or ebx, ecx
shr edx, 2
add ebp, 0xfffffffe
jne 0x407730
test byte [esp], 1
je 0x4076f0
add ebx, ebx
mov ecx, edx
not ecx
or ecx, 1
add ecx, edx
inc ecx
or ebx, ecx
jmp 0x4076f0
push 0x84
push 0
lea eax, [esp + 0x164]
push eax
call fcn.004092c0
add esp, 0xc
xor eax, eax
nop
nop
nop
movzx ecx, byte [esi + eax + 0x9032]
inc dword [esp + ecx*4 + 0x15c]
movzx ecx, byte [esi + eax + 0x9033]
inc dword [esp + ecx*4 + 0x15c]
movzx ecx, byte [esi + eax + 0x9034]
inc dword [esp + ecx*4 + 0x15c]
movzx ecx, byte [esi + eax + 0x9035]
inc dword [esp + ecx*4 + 0x15c]
add eax, 4
cmp eax, 0x20
jne 0x407790
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x160]
add eax, eax
mov dword [esp + 0x24], eax
add eax, dword [esp + 0x164]
add eax, eax
mov dword [esp + 0x28], eax
add eax, dword [esp + 0x168]
add eax, eax
mov dword [esp + 0x2c], eax
add eax, dword [esp + 0x16c]
add eax, eax
mov dword [esp + 0x30], eax
add eax, dword [esp + 0x170]
add eax, eax
mov dword [esp + 0x34], eax
add eax, dword [esp + 0x174]
add eax, eax
mov dword [esp + 0x38], eax
add eax, dword [esp + 0x178]
add eax, eax
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0x17c]
add eax, eax
mov dword [esp + 0x40], eax
add eax, dword [esp + 0x180]
add eax, eax
mov dword [esp + 0x44], eax
add eax, dword [esp + 0x184]
add eax, eax
mov dword [esp + 0x48], eax
add eax, dword [esp + 0x188]
add eax, eax
mov dword [esp + 0x4c], eax
add eax, dword [esp + 0x18c]
add eax, eax
mov dword [esp + 0x50], eax
add eax, dword [esp + 0x190]
add eax, eax
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x194]
add eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
jmp 0x4078ae
mov word [esi + eax*2 + 0x8a92], di
inc eax
cmp eax, 0x20
je 0x407924
movzx ebx, byte [esi + eax + 0x9032]
test ebx, ebx
je 0x4078a8
mov edx, dword [esp + ebx*4 + 0x1c]
lea edi, [edx + 1]
mov dword [esp + ebx*4 + 0x1c], edi
xor edi, edi
cmp bl, 1
mov dword [esp], ebx
je 0x40790b
and ebx, 0xfffffffe
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, edx
not ebp
or ebp, 1
add ebp, edx
mov ecx, edx
shr ecx, 1
shl edi, 2
add ebp, ebp
add ebp, 2
or ebp, edi
mov edi, ecx
not edi
or edi, 1
add edi, ecx
inc edi
or edi, ebp
shr edx, 2
add ebx, 0xfffffffe
jne 0x4078e0
test byte [esp], 1
je 0x4078a0
add edi, edi
mov ecx, edx
not ecx
or ecx, 1
add ecx, edx
inc ecx
or edi, ecx
jmp 0x4078a0
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
bts ebx, eax
mov dword [esi + 0x48], ebx
mov ecx, eax
and ecx, 2
xor eax, 2
lea ecx, [eax + ecx*2]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x407965
jmp 0x408479
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408479
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x407950
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407950
mov word [esi + 0x8392], 1
mov ecx, esi
xor edx, edx
push 0
push 0xf
push 0x120
call fcn.004087b0
add esp, 0xc
mov ecx, esi
mov edx, 1
push 0
push 0xf
push 0x20
call fcn.004087b0
add esp, 0xc
mov edi, 0x11e
cmp byte [esi + 0x902f], 0
jne 0x407b93
mov edi, 0x11d
cmp byte [esi + 0x902e], 0
jne 0x407b93
mov edi, 0x11c
cmp byte [esi + 0x902d], 0
jne 0x407b93
mov edi, 0x11b
cmp byte [esi + 0x902c], 0
jne 0x407b93
mov edi, 0x11a
cmp byte [esi + 0x902b], 0
jne 0x407b93
mov edi, 0x119
cmp byte [esi + 0x902a], 0
jne 0x407b93
mov edi, 0x118
cmp byte [esi + 0x9029], 0
jne 0x407b93
mov edi, 0x117
cmp byte [esi + 0x9028], 0
jne 0x407b93
mov edi, 0x116
cmp byte [esi + 0x9027], 0
jne 0x407b93
mov edi, 0x115
cmp byte [esi + 0x9026], 0
jne 0x407b93
mov edi, 0x114
cmp byte [esi + 0x9025], 0
jne 0x407b93
mov edi, 0x113
cmp byte [esi + 0x9024], 0
jne 0x407b93
mov edi, 0x112
cmp byte [esi + 0x9023], 0
jne 0x407b93
mov edi, 0x111
cmp byte [esi + 0x9022], 0
jne 0x407b93
mov edi, 0x110
cmp byte [esi + 0x9021], 0
jne 0x407b93
mov edi, 0x10f
cmp byte [esi + 0x9020], 0
jne 0x407b93
mov edi, 0x10e
cmp byte [esi + 0x901f], 0
jne 0x407b93
mov edi, 0x10d
cmp byte [esi + 0x901e], 0
jne 0x407b93
mov edi, 0x10c
cmp byte [esi + 0x901d], 0
jne 0x407b93
mov edi, 0x10b
cmp byte [esi + 0x901c], 0
jne 0x407b93
mov edi, 0x10a
cmp byte [esi + 0x901b], 0
jne 0x407b93
mov edi, 0x109
cmp byte [esi + 0x901a], 0
jne 0x407b93
mov edi, 0x108
cmp byte [esi + 0x9019], 0
jne 0x407b93
mov edi, 0x107
cmp byte [esi + 0x9018], 0
jne 0x407b93
mov edi, 0x106
cmp byte [esi + 0x9017], 0
jne 0x407b93
mov edi, 0x105
cmp byte [esi + 0x9016], 0
jne 0x407b93
mov edi, 0x104
cmp byte [esi + 0x9015], 0
jne 0x407b93
mov edi, 0x103
cmp byte [esi + 0x9014], 0
jne 0x407b93
cmp byte [esi + 0x9013], 1
mov edi, 0x102
sbb edi, 0
lea eax, [esi + 0x8f12]
mov ebx, 0x1e
cmp byte [esi + 0x904f], 0
jne 0x407d7c
mov ebx, 0x1d
cmp byte [esi + 0x904e], 0
jne 0x407d7c
mov ebx, 0x1c
cmp byte [esi + 0x904d], 0
jne 0x407d7c
mov ebx, 0x1b
cmp byte [esi + 0x904c], 0
jne 0x407d7c
mov ebx, 0x1a
cmp byte [esi + 0x904b], 0
jne 0x407d7c
mov ebx, 0x19
cmp byte [esi + 0x904a], 0
jne 0x407d7c
mov ebx, 0x18
cmp byte [esi + 0x9049], 0
jne 0x407d7c
mov ebx, 0x17
cmp byte [esi + 0x9048], 0
jne 0x407d7c
mov ebx, 0x16
cmp byte [esi + 0x9047], 0
jne 0x407d7c
mov ebx, 0x15
cmp byte [esi + 0x9046], 0
jne 0x407d7c
mov ebx, 0x14
cmp byte [esi + 0x9045], 0
jne 0x407d7c
mov ebx, 0x13
cmp byte [esi + 0x9044], 0
jne 0x407d7c
mov ebx, 0x12
cmp byte [esi + 0x9043], 0
jne 0x407d7c
mov ebx, 0x11
cmp byte [esi + 0x9042], 0
jne 0x407d7c
mov ebx, 0x10
cmp byte [esi + 0x9041], 0
jne 0x407d7c
mov ebx, 0xf
cmp byte [esi + 0x9040], 0
jne 0x407d7c
mov ebx, 0xe
cmp byte [esi + 0x903f], 0
jne 0x407d7c
mov ebx, 0xd
cmp byte [esi + 0x903e], 0
jne 0x407d7c
mov ebx, 0xc
cmp byte [esi + 0x903d], 0
jne 0x407d7c
mov ebx, 0xb
cmp byte [esi + 0x903c], 0
jne 0x407d7c
mov ebx, 0xa
cmp byte [esi + 0x903b], 0
jne 0x407d7c
mov ebx, 9
cmp byte [esi + 0x903a], 0
jne 0x407d7c
mov ebx, 8
cmp byte [esi + 0x9039], 0
jne 0x407d7c
mov ebx, 7
cmp byte [esi + 0x9038], 0
jne 0x407d7c
mov ebx, 6
cmp byte [esi + 0x9037], 0
jne 0x407d7c
mov ebx, 5
cmp byte [esi + 0x9036], 0
jne 0x407d7c
mov ebx, 4
cmp byte [esi + 0x9035], 0
jne 0x407d7c
mov ebx, 3
cmp byte [esi + 0x9034], 0
jne 0x407d7c
cmp byte [esi + 0x9033], 1
mov ebx, 2
sbb ebx, 0
lea ecx, [esp + 0x15c]
push edi
push eax
push ecx
call fcn.00409160
add esp, 0xc
lea eax, [esp + edi]
add eax, 0x15c
lea ecx, [esi + 0x9032]
push ebx
push ecx
push eax
call fcn.00409160
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebx
lea eax, [ebx + edi]
mov dword [esp + 8], eax
lea eax, [esi + 0x8612]
mov dword [esp + 0x14], eax
mov dword [esi + 0x8612], 0
mov dword [esi + 0x8616], 0
mov dword [esi + 0x861a], 0
mov dword [esi + 0x861e], 0
mov dword [esi + 0x8622], 0
mov dword [esi + 0x8626], 0
mov dword [esi + 0x862a], 0
mov dword [esi + 0x862e], 0
mov dword [esi + 0x8632], 0
mov word [esi + 0x8636], 0
mov dl, 0xff
xor ebp, ebp
mov dword [esp], 0
xor ebx, ebx
xor eax, eax
jmp 0x407e5c
mov ecx, eax
inc eax
xor ebx, ebx
cmp eax, 6
je 0x407f76
mov dword [esp], edi
inc ebp
cmp dword [esp + 8], ebp
je 0x40800b
mov ecx, edx
movzx edx, byte [esp + ebp + 0x15c]
test edx, edx
je 0x407ec0
test ebx, ebx
je 0x407f00
mov dword [esp + 4], eax
cmp ebx, 2
ja 0x407f10
mov eax, dword [esp + 0x14]
add word [eax], bx
mov byte [esp + 0xc], cl
mov eax, dword [esp]
add eax, esp
add eax, 0x1c
push ebx
push 0
push eax
mov edi, edx
call fcn.004092c0
movzx ecx, byte [esp + 0x18]
mov edx, edi
add esp, 0xc
add ebx, dword [esp]
mov edi, ebx
jmp 0x407fa1
test eax, eax
je 0x407f47
cmp eax, 2
ja 0x407f2c
mov edi, eax
movzx eax, cl
add word [esi + eax*2 + 0x8612], di
mov ecx, dword [esp]
add ecx, esp
add ecx, 0x1c
push edi
push eax
push ecx
mov dword [esp + 0x10], edx
call fcn.004092c0
mov edx, dword [esp + 0x10]
add esp, 0xc
add dword [esp], edi
jmp 0x407f47
mov edi, dword [esp]
cmp dl, cl
jne 0x407fad
jmp 0x407e40
mov eax, dword [esp]
lea edi, [eax + 2]
cmp ebx, 0xa
ja 0x407f8e
inc word [esi + 0x8634]
mov byte [esp + eax + 0x1c], 0x11
add bl, 0xfd
jmp 0x407f9d
inc word [esi + 0x8632]
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], 0x10
add al, 0xfd
mov byte [esp + ecx + 0x1d], al
add ecx, 2
mov dword [esp], ecx
inc ebx
xor eax, eax
cmp ebx, 0x8a
jne 0x407e51
inc word [esi + 0x8636]
mov eax, dword [esp]
mov word [esp + eax + 0x1c], 0x7f12
add eax, 2
mov dword [esp], eax
xor eax, eax
xor ebx, ebx
jmp 0x407e51
inc word [esi + 0x8632]
mov byte [esp + edi + 0x1c], 0x10
add cl, 0xfe
mov byte [esp + edi + 0x1d], cl
add edi, 2
jmp 0x408002
inc word [esi + 0x8636]
mov byte [esp + eax + 0x1c], 0x12
add bl, 0xf5
mov byte [esp + eax + 0x1d], bl
mov eax, dword [esp + 4]
cmp dl, cl
je 0x407e40
test eax, eax
je 0x407ff5
cmp eax, 2
ja 0x407fe0
mov ebx, eax
movzx eax, cl
add word [esi + eax*2 + 0x8612], bx
lea ecx, [esp + edi]
add ecx, 0x1c
push ebx
push eax
push ecx
mov dword [esp + 0x10], edx
call fcn.004092c0
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, ebx
jmp 0x407ff5
inc word [esi + 0x8632]
mov byte [esp + edi + 0x1c], 0x10
add al, 0xfd
mov byte [esp + edi + 0x1d], al
add edi, 2
inc word [esi + edx*2 + 0x8612]
mov byte [esp + edi + 0x1c], dl
inc edi
xor eax, eax
xor ebx, ebx
jmp 0x407e4e
test eax, eax
je 0x40803f
cmp eax, 2
ja 0x40806f
add word [esi + edx*2 + 0x8612], ax
mov edi, eax
mov ebx, dword [esp]
lea eax, [esp + ebx]
add eax, 0x1c
movzx ecx, dl
push edi
push ecx
push eax
call fcn.004092c0
add esp, 0xc
add ebx, edi
mov dword [esp], ebx
jmp 0x4080e2
test ebx, ebx
je 0x4080e2
cmp ebx, 2
ja 0x40809b
mov eax, dword [esp + 0x14]
add word [eax], bx
mov edi, dword [esp]
lea eax, [esp + edi]
add eax, 0x1c
push ebx
push 0
push eax
call fcn.004092c0
add esp, 0xc
add edi, ebx
mov dword [esp], edi
jmp 0x4080e2
inc word [esi + 0x8632]
mov edx, dword [esp]
mov byte [esp + edx + 0x1c], 0x10
mov ecx, eax
or eax, 0xfc
and ecx, 0xfc
add ecx, eax
inc cl
mov byte [esp + edx + 0x1d], cl
add edx, 2
mov dword [esp], edx
jmp 0x4080e2
cmp ebx, 0xa
ja 0x4080b4
inc word [esi + 0x8634]
mov eax, dword [esp]
mov byte [esp + eax + 0x1c], 0x11
add bl, 0xfd
jmp 0x4080d8
movzx eax, word [esi + 0x8636]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov word [esi + 0x8636], ax
mov eax, dword [esp]
mov byte [esp + eax + 0x1c], 0x12
add bl, 0xf5
mov byte [esp + eax + 0x1d], bl
add eax, 2
mov dword [esp], eax
mov ebx, 2
mov ecx, esi
mov edx, 2
push 0
push 7
push 0x13
call fcn.004087b0
add esp, 0xc
mov ecx, dword [esi + 0x44]
shl ebx, cl
or ebx, dword [esi + 0x48]
mov dword [esi + 0x48], ebx
add ecx, 2
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x408159
mov edx, dword [esp + 0x18]
add edx, 0xfffffeff
shl edx, cl
or edx, ebx
mov dword [esi + 0x48], edx
lea eax, [ecx + 5]
mov dword [esi + 0x44], eax
cmp ecx, 3
jb 0x4081a9
mov ebx, dword [esp + 0x10]
jmp 0x408191
shr ebx, 8
mov dword [esi + 0x48], ebx
mov eax, ecx
or eax, 0xfffffff7
and ecx, 0xfffffff7
add ecx, eax
inc ecx
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408112
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408140
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408140
shr edx, 8
mov dword [esi + 0x48], edx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x4081ad
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408180
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], dl
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x408180
mov ebx, dword [esp + 0x10]
dec ebx
mov ecx, eax
shl ebx, cl
or ebx, edx
mov dword [esi + 0x48], ebx
lea ecx, [eax + 5]
mov dword [esi + 0x44], ecx
cmp eax, 3
jae 0x4082ee
mov edx, 0x13
cmp byte [esi + 0x9161], 0
jne 0x4082ad
mov edx, 0x12
cmp byte [esi + 0x9153], 0
jne 0x4082ad
mov edx, 0x11
cmp byte [esi + 0x9160], 0
jne 0x4082ad
mov edx, 0x10
cmp byte [esi + 0x9154], 0
jne 0x4082ad
mov edx, 0xf
cmp byte [esi + 0x915f], 0
jne 0x4082ad
mov edx, 0xe
cmp byte [esi + 0x9155], 0
jne 0x4082ad
mov edx, 0xd
cmp byte [esi + 0x915e], 0
jne 0x4082ad
mov edx, 0xc
cmp byte [esi + 0x9156], 0
jne 0x4082ad
mov edx, 0xb
cmp byte [esi + 0x915d], 0
jne 0x4082ad
mov edx, 0xa
cmp byte [esi + 0x9157], 0
jne 0x4082ad
mov edx, 9
cmp byte [esi + 0x915c], 0
jne 0x4082ad
mov edx, 8
cmp byte [esi + 0x9158], 0
jne 0x4082ad
mov edx, 7
cmp byte [esi + 0x915b], 0
jne 0x4082ad
mov edx, 6
cmp byte [esi + 0x9159], 0
jne 0x4082ad
xor edx, edx
cmp byte [esi + 0x915a], 0
sete dl
xor edx, 5
lea eax, [edx - 4]
shl eax, cl
or eax, ebx
mov ebx, eax
mov dword [esi + 0x48], eax
lea ebp, [ecx + 4]
mov eax, ebp
mov dword [esi + 0x44], ebp
cmp ecx, 4
jb 0x408339
mov ecx, eax
jmp 0x408321
shr ebx, 8
mov dword [esi + 0x48], ebx
mov eax, ecx
xor eax, 0xfffffff7
and ecx, 0xfffffff7
lea ecx, [eax + ecx*2]
inc ecx
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x4081c6
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4082d0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x4082d0
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x40833b
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408310
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408310
mov ecx, eax
xor edi, edi
jmp 0x408347
mov ecx, ebp
inc edi
cmp edi, edx
je 0x408399
mov eax, ebx
movzx ebx, byte [edi + 0x43cff6]
movzx ebx, byte [esi + ebx + 0x9152]
shl ebx, cl
or ebx, eax
mov dword [esi + 0x48], ebx
lea eax, [ecx + 3]
mov ebp, eax
mov dword [esi + 0x44], eax
cmp ecx, 5
jb 0x408340
mov ecx, ebp
jmp 0x408381
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408342
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408370
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408370
mov eax, dword [esp]
test eax, eax
je 0x408479
xor ebp, ebp
mov dword [esp], eax
jmp 0x4083bc
inc ebp
mov eax, dword [esp]
cmp ebp, eax
jae 0x408479
mov eax, ebx
movzx edx, byte [esp + ebp + 0x1c]
movzx edi, word [esi + edx*2 + 0x8cd2]
movzx ebx, byte [esi + edx + 0x9152]
add ebx, ecx
shl edi, cl
mov ecx, ebx
or edi, eax
mov ebx, edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x408441
cmp dl, 0x10
jb 0x4083b0
movzx eax, byte [esp + ebp + 0x1d]
add ebp, 2
movsx edi, byte [edx + 0x43e67c]
shl eax, cl
or eax, ebx
mov dword [esi + 0x48], eax
add edi, ecx
mov dword [esi + 0x44], edi
cmp edi, 8
jae 0x408461
mov ebx, eax
mov ecx, edi
jmp 0x4083b1
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
shr eax, 8
mov ebx, eax
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x4083e8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jb 0x408420
mov eax, ebx
jmp 0x40842e
shr eax, 8
mov dword [esi + 0x48], eax
add edi, 0xfffffff8
mov dword [esi + 0x44], edi
cmp edi, 7
jbe 0x40840d
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408450
lea edi, [ecx + 1]
mov dword [esi + 0x30], edi
mov byte [ecx], al
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x408450
lea ebp, [esi + 0x9272]
cmp ebp, dword [esi + 0x28]
jae 0x40873d
mov edi, 1
jmp 0x4084a0
mov edi, dword [esp]
shr edi, 1
mov ecx, edx
cmp ebp, dword [esi + 0x28]
jae 0x40873f
cmp edi, 1
mov dword [esp + 8], ecx
jne 0x4084b4
movzx edi, byte [ebp]
inc ebp
or edi, 0x100
mov eax, edi
xor eax, 0xfffffffe
mov dword [esp], edi
mov ecx, edi
or ecx, 1
test ecx, eax
je 0x4085f0
movzx edx, byte [ebp]
movzx eax, word [edx + edx + 0x43cdf6]
movzx ecx, word [esi + eax*2 + 0x8852]
mov dword [esp + 4], ecx
mov edi, ebx
movzx ebx, byte [esi + eax + 0x8f12]
mov ecx, dword [esp + 8]
add ebx, ecx
mov eax, dword [esp + 4]
shl eax, cl
movzx ecx, byte [ebp + 1]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
movzx ecx, byte [ebp + 2]
or edi, eax
mov dword [esp + 0xc], ecx
shl ecx, 8
mov ebp, edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], ebx
mov edi, ecx
cmp ebx, 8
jae 0x4085d7
add edi, dword [esp + 4]
movzx eax, byte [edx + 0x43d050]
and edx, dword [eax*4 + 0x43d00c]
mov ecx, ebx
shl edx, cl
or edx, ebp
mov dword [esi + 0x48], edx
add ebx, eax
mov dword [esi + 0x44], ebx
cmp ebx, 8
jae 0x408589
cmp edi, 0x200
jb 0x408660
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x43cd76]
lea ecx, [ecx + 0x43d350]
jmp 0x40866c
shr edx, 8
mov dword [esi + 0x48], edx
mov eax, ebx
or eax, 0xfffffff7
and ebx, 0xfffffff7
add ebx, eax
inc ebx
mov dword [esi + 0x44], ebx
cmp ebx, 7
jbe 0x408548
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408570
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], dl
mov ebx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x408570
lea ebx, [ecx + 1]
mov dword [esi + 0x30], ebx
mov ebx, ebp
mov byte [ecx], bl
mov ebx, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
shr ecx, 8
mov ebp, ecx
mov dword [esi + 0x48], ecx
add ebx, 0xfffffff8
mov dword [esi + 0x44], ebx
cmp ebx, 7
jbe 0x408523
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jb 0x4085b0
mov ecx, ebp
jmp 0x4085c0
movzx eax, byte [ebp]
inc ebp
movzx edi, word [esi + eax*2 + 0x8852]
movzx edx, byte [esi + eax + 0x8f12]
mov ecx, dword [esp + 8]
shl edi, cl
or ebx, edi
mov dword [esi + 0x48], ebx
add edx, ecx
mov dword [esi + 0x44], edx
cmp edx, 8
jb 0x408490
mov edi, dword [esp]
jmp 0x408645
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x408493
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408630
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408630
lea eax, [edi + 0x43cb76]
lea ecx, [edi + 0x43d150]
mov dword [esp + 4], ecx
movzx ebp, byte [eax]
movzx eax, word [esi + ebp*2 + 0x8a92]
mov ecx, ebx
shl eax, cl
or eax, edx
movzx edx, byte [esi + ebp + 0x9032]
add edx, ebx
mov ecx, dword [esp + 4]
movzx ebx, byte [ecx]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], edx
cmp edx, 8
jb 0x4086e0
mov ebp, dword [esp + 8]
jmp 0x4086c1
shr eax, 8
mov dword [esi + 0x48], eax
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x4086e4
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x4086b0
lea edx, [ecx + 1]
mov dword [esi + 0x30], edx
mov byte [ecx], al
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x4086b0
mov ebp, dword [esp + 8]
and edi, dword [ebx*4 + 0x43d00c]
mov ecx, edx
shl edi, cl
add ebp, 3
or edi, eax
mov eax, edi
mov dword [esi + 0x48], edi
add edx, ebx
mov dword [esi + 0x44], edx
mov ebx, edi
cmp edx, 8
jb 0x408490
mov edi, dword [esp]
jmp 0x408725
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x408493
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408710
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408710
mov edx, ecx
movzx eax, word [esi + 0x8a52]
mov ecx, edx
shl eax, cl
movzx ecx, byte [esi + 0x9012]
mov edi, eax
not edi
and edi, ebx
xor eax, ebx
add eax, ebx
sub eax, edi
mov dword [esi + 0x48], eax
add ecx, edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x408791
mov ecx, dword [esi + 0x30]
xor eax, eax
cmp ecx, dword [esi + 0x34]
setb al
add esp, 0x29c
pop esi
pop edi
pop ebx
pop ebp
ret
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x40876a
mov edx, dword [esi + 0x30]
cmp edx, dword [esi + 0x34]
jae 0x408780
lea ecx, [edx + 1]
mov dword [esi + 0x30], ecx
mov byte [edx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x408780