Function at 0x407190
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2a0
mov esi, ecx
test edx, edx
je 0x40763d
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 0x4071b0
cmp ebx, 0x100
jae 0x4071f0
mov eax, 0x100
sub eax, ebx
push eax
push 9
push edi
call fcn.00408ea0
add esp, 0xc
sub edi, ebx
add edi, 0x100
mov ebx, 0x100
nop
mov byte [edi], 7
inc edi
mov eax, ebx
and eax, 1
xor ebx, 1
lea ebx, [ebx + eax*2]
cmp ebx, 0x118
jb 0x4071f0
cmp ebx, 0x11f
ja 0x407222
mov eax, 0x120
sub eax, ebx
push eax
push 8
push edi
call fcn.00408ea0
add esp, 0xc
mov dword [esi + 0x904e], 0x5050505
mov dword [esi + 0x904a], 0x5050505
mov dword [esi + 0x9046], 0x5050505
mov dword [esi + 0x9042], 0x5050505
mov dword [esi + 0x903e], 0x5050505
mov dword [esi + 0x903a], 0x5050505
mov dword [esi + 0x9036], 0x5050505
mov dword [esi + 0x9032], 0x5050505
lea eax, [esp + 0x160]
push 0x84
push 0
push eax
call fcn.00408ea0
add esp, 0xc
xor eax, eax
nop
nop
nop
nop
nop
movzx ecx, byte [esi + eax + 0x8f12]
inc dword [esp + ecx*4 + 0x160]
movzx ecx, byte [esi + eax + 0x8f13]
inc dword [esp + ecx*4 + 0x160]
movzx ecx, byte [esi + eax + 0x8f14]
inc dword [esp + ecx*4 + 0x160]
movzx ecx, byte [esi + eax + 0x8f15]
inc dword [esp + ecx*4 + 0x160]
add eax, 4
cmp eax, 0x120
jne 0x407290
mov dword [esp + 0x24], 0
mov 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
add eax, dword [esp + 0x198]
add eax, eax
mov dword [esp + 0x5c], eax
xor eax, eax
jmp 0x4073b4
mov word [esi + eax*2 + 0x8852], bx
inc eax
cmp eax, 0x120
je 0x407432
movzx edx, byte [esi + eax + 0x8f12]
test edx, edx
je 0x4073a8
mov edi, dword [esp + edx*4 + 0x20]
lea ebx, [edi + 1]
mov dword [esp + edx*4 + 0x20], ebx
mov ebp, edx
and ebp, 3
xor ebx, ebx
cmp dl, 4
jb 0x40740f
and edx, 0xfffffffc
xor ebx, ebx
nop
nop
nop
nop
mov ecx, edi
and ecx, 1
shl ecx, 2
lea ecx, [ecx + ebx*8]
mov ebx, edi
and ebx, 2
or ebx, ecx
mov ecx, edi
shr ecx, 2
and ecx, 1
or ecx, ebx
mov ebx, edi
shr ebx, 3
and ebx, 1
lea ebx, [ebx + ecx*2]
shr edi, 4
add edx, 0xfffffffc
jne 0x4073e0
test ebp, ebp
je 0x4073a0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edi
and ecx, 1
lea ebx, [ecx + ebx*2]
shr edi, 1
dec ebp
jne 0x407420
jmp 0x4073a0
push 0x84
push 0
lea eax, [esp + 0x168]
push eax
call fcn.00408ea0
add esp, 0xc
xor eax, eax
nop
nop
nop
nop
nop
movzx ecx, byte [esi + eax + 0x9032]
inc dword [esp + ecx*4 + 0x160]
movzx ecx, byte [esi + eax + 0x9033]
inc dword [esp + ecx*4 + 0x160]
movzx ecx, byte [esi + eax + 0x9034]
inc dword [esp + ecx*4 + 0x160]
movzx ecx, byte [esi + eax + 0x9035]
inc dword [esp + ecx*4 + 0x160]
add eax, 4
cmp eax, 0x20
jne 0x407450
mov dword [esp + 0x24], 0
mov 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
add eax, dword [esp + 0x198]
add eax, eax
mov dword [esp + 0x5c], eax
xor eax, eax
jmp 0x407572
mov word [esi + eax*2 + 0x8a92], di
inc eax
cmp eax, 0x20
je 0x4075f2
movzx ebx, byte [esi + eax + 0x9032]
test ebx, ebx
je 0x407568
mov ecx, dword [esp + ebx*4 + 0x20]
lea edx, [ecx + 1]
mov dword [esp + ebx*4 + 0x20], edx
mov edx, ebx
and edx, 3
xor edi, edi
cmp bl, 4
jb 0x4075db
and ebx, 0xfffffffc
xor edi, edi
nop
nop
nop
nop
nop
nop
mov ebp, ecx
and ebp, 1
shl ebp, 2
lea edi, [edi*8]
add edi, ebp
mov ebp, ecx
and ebp, 2
or ebp, edi
mov edi, ecx
shr edi, 2
and edi, 1
or edi, ebp
mov ebp, ecx
shr ebp, 3
and ebp, 1
lea edi, [edi*2]
add edi, ebp
shr ecx, 4
add ebx, 0xfffffffc
jne 0x4075a0
test edx, edx
je 0x407560
nop
mov ebx, ecx
and ebx, 1
lea edi, [ebx + edi*2]
shr ecx, 1
dec edx
jne 0x4075e0
jmp 0x407560
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
bts ebx, eax
mov dword [esi + 0x48], ebx
add eax, 2
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x407625
jmp 0x4080c9
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x4080c9
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407610
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407610
mov word [esi + 0x8392], 1
mov ecx, esi
xor edx, edx
push 0
push 0xf
push 0x120
call fcn.004083c0
add esp, 0xc
mov ecx, esi
mov edx, 1
push 0
push 0xf
push 0x20
call fcn.004083c0
add esp, 0xc
mov edi, 0x11e
cmp byte [esi + 0x902f], 0
jne 0x407853
mov edi, 0x11d
cmp byte [esi + 0x902e], 0
jne 0x407853
mov edi, 0x11c
cmp byte [esi + 0x902d], 0
jne 0x407853
mov edi, 0x11b
cmp byte [esi + 0x902c], 0
jne 0x407853
mov edi, 0x11a
cmp byte [esi + 0x902b], 0
jne 0x407853
mov edi, 0x119
cmp byte [esi + 0x902a], 0
jne 0x407853
mov edi, 0x118
cmp byte [esi + 0x9029], 0
jne 0x407853
mov edi, 0x117
cmp byte [esi + 0x9028], 0
jne 0x407853
mov edi, 0x116
cmp byte [esi + 0x9027], 0
jne 0x407853
mov edi, 0x115
cmp byte [esi + 0x9026], 0
jne 0x407853
mov edi, 0x114
cmp byte [esi + 0x9025], 0
jne 0x407853
mov edi, 0x113
cmp byte [esi + 0x9024], 0
jne 0x407853
mov edi, 0x112
cmp byte [esi + 0x9023], 0
jne 0x407853
mov edi, 0x111
cmp byte [esi + 0x9022], 0
jne 0x407853
mov edi, 0x110
cmp byte [esi + 0x9021], 0
jne 0x407853
mov edi, 0x10f
cmp byte [esi + 0x9020], 0
jne 0x407853
mov edi, 0x10e
cmp byte [esi + 0x901f], 0
jne 0x407853
mov edi, 0x10d
cmp byte [esi + 0x901e], 0
jne 0x407853
mov edi, 0x10c
cmp byte [esi + 0x901d], 0
jne 0x407853
mov edi, 0x10b
cmp byte [esi + 0x901c], 0
jne 0x407853
mov edi, 0x10a
cmp byte [esi + 0x901b], 0
jne 0x407853
mov edi, 0x109
cmp byte [esi + 0x901a], 0
jne 0x407853
mov edi, 0x108
cmp byte [esi + 0x9019], 0
jne 0x407853
mov edi, 0x107
cmp byte [esi + 0x9018], 0
jne 0x407853
mov edi, 0x106
cmp byte [esi + 0x9017], 0
jne 0x407853
mov edi, 0x105
cmp byte [esi + 0x9016], 0
jne 0x407853
mov edi, 0x104
cmp byte [esi + 0x9015], 0
jne 0x407853
mov edi, 0x103
cmp byte [esi + 0x9014], 0
jne 0x407853
cmp byte [esi + 0x9013], 1
mov edi, 0x102
sbb edi, 0
lea eax, [esi + 0x8f12]
mov ebx, 0x1e
cmp byte [esi + 0x904f], 0
jne 0x407a3c
mov ebx, 0x1d
cmp byte [esi + 0x904e], 0
jne 0x407a3c
mov ebx, 0x1c
cmp byte [esi + 0x904d], 0
jne 0x407a3c
mov ebx, 0x1b
cmp byte [esi + 0x904c], 0
jne 0x407a3c
mov ebx, 0x1a
cmp byte [esi + 0x904b], 0
jne 0x407a3c
mov ebx, 0x19
cmp byte [esi + 0x904a], 0
jne 0x407a3c
mov ebx, 0x18
cmp byte [esi + 0x9049], 0
jne 0x407a3c
mov ebx, 0x17
cmp byte [esi + 0x9048], 0
jne 0x407a3c
mov ebx, 0x16
cmp byte [esi + 0x9047], 0
jne 0x407a3c
mov ebx, 0x15
cmp byte [esi + 0x9046], 0
jne 0x407a3c
mov ebx, 0x14
cmp byte [esi + 0x9045], 0
jne 0x407a3c
mov ebx, 0x13
cmp byte [esi + 0x9044], 0
jne 0x407a3c
mov ebx, 0x12
cmp byte [esi + 0x9043], 0
jne 0x407a3c
mov ebx, 0x11
cmp byte [esi + 0x9042], 0
jne 0x407a3c
mov ebx, 0x10
cmp byte [esi + 0x9041], 0
jne 0x407a3c
mov ebx, 0xf
cmp byte [esi + 0x9040], 0
jne 0x407a3c
mov ebx, 0xe
cmp byte [esi + 0x903f], 0
jne 0x407a3c
mov ebx, 0xd
cmp byte [esi + 0x903e], 0
jne 0x407a3c
mov ebx, 0xc
cmp byte [esi + 0x903d], 0
jne 0x407a3c
mov ebx, 0xb
cmp byte [esi + 0x903c], 0
jne 0x407a3c
mov ebx, 0xa
cmp byte [esi + 0x903b], 0
jne 0x407a3c
mov ebx, 9
cmp byte [esi + 0x903a], 0
jne 0x407a3c
mov ebx, 8
cmp byte [esi + 0x9039], 0
jne 0x407a3c
mov ebx, 7
cmp byte [esi + 0x9038], 0
jne 0x407a3c
mov ebx, 6
cmp byte [esi + 0x9037], 0
jne 0x407a3c
mov ebx, 5
cmp byte [esi + 0x9036], 0
jne 0x407a3c
mov ebx, 4
cmp byte [esi + 0x9035], 0
jne 0x407a3c
mov ebx, 3
cmp byte [esi + 0x9034], 0
jne 0x407a3c
cmp byte [esi + 0x9033], 1
mov ebx, 2
sbb ebx, 0
lea ecx, [esp + 0x160]
push edi
push eax
push ecx
call fcn.00408e10
add esp, 0xc
lea eax, [esp + edi]
add eax, 0x160
lea ecx, [esi + 0x9032]
push ebx
push ecx
push eax
call fcn.00408e10
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
lea eax, [ebx + edi]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x8612]
mov dword [esp + 0x18], 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 cl, 0xff
xor ebp, ebp
xor eax, eax
xor ebx, ebx
xor edi, edi
jmp 0x407b1a
inc word [esi + 0x8636]
mov edi, edx
mov word [esp + edx + 0x20], 0x7f12
inc edi
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
xor eax, eax
xor ebp, ebp
inc ebx
cmp dword [esp + 0xc], ebx
je 0x407ca9
mov edx, ecx
movzx ecx, byte [esp + ebx + 0x160]
test ecx, ecx
je 0x407b70
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x407c0f
mov ebx, ebp
mov byte [esp + 3], dl
cmp ebp, 2
ja 0x407bab
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x18]
add word [ecx], bx
mov ebp, edi
mov edi, eax
lea eax, [esp + ebp]
add eax, 0x20
push ebx
push 0
push eax
call fcn.00408ea0
mov ecx, dword [esp + 0x14]
mov eax, edi
add esp, 0xc
add ebp, ebx
mov edi, ebp
jmp 0x407c0a
test eax, eax
je 0x407bdb
cmp eax, 2
ja 0x407bc6
mov dword [esp + 4], eax
movzx eax, dl
mov edx, dword [esp + 4]
add word [esi + eax*2 + 0x8612], dx
mov dword [esp + 8], ecx
lea ecx, [esp + edi]
add ecx, 0x20
push edx
push eax
push ecx
call fcn.00408ea0
mov ecx, dword [esp + 0x14]
add esp, 0xc
add edi, dword [esp + 4]
jmp 0x407bdb
mov edx, edi
add edi, 2
cmp ebx, 0xa
ja 0x407bf7
inc word [esi + 0x8634]
mov byte [esp + edx + 0x20], 0x11
add bl, 0xfd
jmp 0x407c06
inc word [esi + 0x8632]
mov byte [esp + edi + 0x20], 0x10
add al, 0xfd
mov byte [esp + edi + 0x21], al
add edi, 2
mov edx, edi
mov edi, ebp
inc edi
xor eax, eax
cmp edi, 0x8a
je 0x407aef
mov ebp, edi
mov edi, edx
jmp 0x407b0f
inc word [esi + 0x8636]
mov byte [esp + edx + 0x20], 0x12
add bl, 0xf5
mov byte [esp + edx + 0x21], bl
movzx edx, byte [esp + 3]
cmp cl, dl
mov ebx, dword [esp + 0x10]
jne 0x407c40
inc eax
xor ebp, ebp
cmp eax, 6
jne 0x407b0f
inc word [esi + 0x8632]
mov word [esp + edi + 0x20], 0x310
add edi, 2
jmp 0x407b0b
test eax, eax
je 0x407c97
mov dword [esp + 8], ecx
cmp eax, 2
mov ebp, eax
ja 0x407c6f
movzx eax, dl
add word [esi + eax*2 + 0x8612], bp
lea ecx, [esp + edi]
add ecx, 0x20
push ebp
push eax
push ecx
call fcn.00408ea0
add esp, 0xc
add edi, ebp
jmp 0x407c93
inc word [esi + 0x8632]
mov eax, edi
mov byte [esp + edi + 0x20], 0x10
and edi, 1
xor eax, 1
mov edx, ebp
lea ecx, [eax + edi*2]
add dl, 0xfd
lea edi, [eax + edi*2]
inc edi
mov byte [esp + ecx + 0x20], dl
mov ecx, dword [esp + 8]
inc word [esi + ecx*2 + 0x8612]
mov byte [esp + edi + 0x20], cl
inc edi
jmp 0x407b0b
test eax, eax
je 0x407cd0
cmp eax, 2
mov ebx, dword [esp + 0x14]
ja 0x407d04
add word [esi + ecx*2 + 0x8612], ax
mov ebp, edi
mov edi, eax
lea eax, [esp + ebp]
add eax, 0x20
movzx ecx, cl
push edi
push ecx
push eax
jmp 0x407cf4
test ebp, ebp
mov ebx, dword [esp + 0x14]
je 0x407d19
mov ecx, ebp
cmp ebp, 2
ja 0x407d1f
mov eax, dword [esp + 0x18]
add word [eax], cx
lea eax, [esp + edi]
add eax, 0x20
push ecx
push 0
push eax
mov ebp, edi
mov edi, ecx
call fcn.00408ea0
add esp, 0xc
add edi, ebp
mov dword [esp + 4], edi
jmp 0x407d4f
inc word [esi + 0x8632]
mov byte [esp + edi + 0x20], 0x10
add al, 0xfd
mov byte [esp + edi + 0x21], al
add edi, 2
mov dword [esp + 4], edi
jmp 0x407d4f
lea eax, [edi + 2]
cmp ecx, 0xa
mov dword [esp + 4], eax
ja 0x407d3c
inc word [esi + 0x8634]
mov byte [esp + edi + 0x20], 0x11
add cl, 0xfd
jmp 0x407d4b
inc word [esi + 0x8636]
mov byte [esp + edi + 0x20], 0x12
add cl, 0xf5
mov byte [esp + edi + 0x21], cl
mov edi, 2
mov ecx, esi
mov edx, 2
push 0
push 7
push 0x13
call fcn.004083c0
add esp, 0xc
mov ecx, dword [esi + 0x44]
shl edi, cl
mov edx, dword [esi + 0x48]
mov eax, edx
xor eax, edi
not edi
and edi, edx
add eax, edx
sub eax, edi
mov dword [esi + 0x48], eax
add ecx, 2
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x407f45
add ebx, 0xfffffeff
shl ebx, cl
or ebx, eax
mov dword [esi + 0x48], ebx
lea eax, [ecx + 5]
mov dword [esi + 0x44], eax
cmp ecx, 3
jae 0x407f75
mov edx, dword [esp + 0x1c]
dec edx
mov ecx, eax
shl edx, cl
or edx, ebx
mov dword [esi + 0x48], edx
lea ecx, [eax + 5]
mov dword [esi + 0x44], ecx
cmp eax, 3
jae 0x407fa5
mov eax, edx
mov edx, 0x13
cmp byte [esi + 0x9161], 0
jne 0x407eb1
mov edx, 0x12
cmp byte [esi + 0x9153], 0
jne 0x407eb1
mov edx, 0x11
cmp byte [esi + 0x9160], 0
jne 0x407eb1
mov edx, 0x10
cmp byte [esi + 0x9154], 0
jne 0x407eb1
mov edx, 0xf
cmp byte [esi + 0x915f], 0
jne 0x407eb1
mov edx, 0xe
cmp byte [esi + 0x9155], 0
jne 0x407eb1
mov edx, 0xd
cmp byte [esi + 0x915e], 0
jne 0x407eb1
mov edx, 0xc
cmp byte [esi + 0x9156], 0
jne 0x407eb1
mov edx, 0xb
cmp byte [esi + 0x915d], 0
jne 0x407eb1
mov edx, 0xa
cmp byte [esi + 0x9157], 0
jne 0x407eb1
mov edx, 9
cmp byte [esi + 0x915c], 0
jne 0x407eb1
mov edx, 8
cmp byte [esi + 0x9158], 0
jne 0x407eb1
mov edx, 7
cmp byte [esi + 0x915b], 0
jne 0x407eb1
mov edx, 6
cmp byte [esi + 0x9159], 0
jne 0x407eb1
xor edx, edx
cmp byte [esi + 0x915a], 0
sete dl
xor edx, 5
lea ebx, [edx - 4]
shl ebx, cl
or ebx, eax
mov dword [esi + 0x48], ebx
lea eax, [ecx + 4]
mov dword [esi + 0x44], eax
cmp ecx, 4
jae 0x407fd5
xor edi, edi
jmp 0x407ed9
inc edi
cmp edi, edx
je 0x407fed
mov ecx, eax
mov eax, ebx
movzx ebx, byte [edi + 0x43dff6]
movzx ebx, byte [esi + ebx + 0x9152]
shl ebx, cl
or ebx, eax
mov dword [esi + 0x48], ebx
lea eax, [ecx + 3]
mov dword [esi + 0x44], eax
cmp ecx, 5
jae 0x407f11
jmp 0x407ed0
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407ed0
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407f00
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407f00
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x407d8f
mov edx, dword [esi + 0x30]
cmp edx, dword [esi + 0x34]
jae 0x407f30
lea ecx, [edx + 1]
mov dword [esi + 0x30], ecx
mov byte [edx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x407f30
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407dab
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407f60
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407f60
shr edx, 8
mov dword [esi + 0x48], edx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x407dc8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x407f90
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], dl
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x407f90
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407eca
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407fc0
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407fc0
cmp dword [esp + 4], 0
je 0x4080c9
xor edi, edi
jmp 0x40800b
inc edi
cmp edi, dword [esp + 4]
jae 0x4080c9
mov ecx, eax
mov edx, ebx
movzx eax, byte [esp + edi + 0x20]
movzx ebx, word [esi + eax*2 + 0x8cd2]
mov ebp, eax
movzx eax, byte [esi + eax + 0x9152]
add eax, ecx
shl ebx, cl
or ebx, edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x408081
mov ecx, ebp
cmp cl, 0x10
jb 0x408000
movzx edx, byte [esp + edi + 0x21]
add edi, 2
movsx ebp, byte [ecx + 0x43f6d8]
mov ecx, eax
shl edx, cl
or edx, ebx
mov dword [esi + 0x48], edx
add ebp, eax
mov dword [esi + 0x44], ebp
cmp ebp, 8
jae 0x4080b1
mov ebx, edx
mov eax, ebp
cmp edi, dword [esp + 4]
jb 0x40800b
jmp 0x4080c9
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x408037
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408070
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408070
shr edx, 8
mov dword [esi + 0x48], edx
add ebp, 0xfffffff8
mov dword [esi + 0x44], ebp
cmp ebp, 7
jbe 0x408060
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4080a0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], dl
mov ebp, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x4080a0
lea ebp, [esi + 0x9272]
cmp ebp, dword [esi + 0x28]
jae 0x40834d
mov edx, 1
jmp 0x4080f1
mov edx, dword [esp + 0x10]
shr edx, 1
mov eax, ecx
cmp ebp, dword [esi + 0x28]
jae 0x40834f
cmp edx, 1
jne 0x408101
movzx edx, byte [ebp]
inc ebp
or edx, 0x100
mov dword [esp + 0x10], edx
test dl, 1
jne 0x408180
movzx edi, byte [ebp]
movzx edx, word [esi + edi*2 + 0x8852]
mov ecx, eax
shl edx, cl
inc ebp
movzx ecx, byte [esi + edi + 0x8f12]
mov edi, ebx
xor edi, edx
not edx
and edx, ebx
add ebx, edi
sub ebx, edx
mov dword [esi + 0x48], ebx
add ecx, eax
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x4080e0
mov edx, dword [esp + 0x10]
jmp 0x408161
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x4080e4
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408150
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408150
movzx ecx, byte [ebp]
mov dword [esp + 0xc], ecx
movzx ecx, word [ecx + ecx + 0x43ddf6]
mov edi, ebp
movzx ebp, word [esi + ecx*2 + 0x8852]
movzx edx, byte [esi + ecx + 0x8f12]
add edx, eax
mov ecx, eax
shl ebp, cl
movzx ecx, byte [edi + 1]
mov dword [esp + 4], edi
movzx eax, byte [edi + 2]
or ebx, ebp
mov dword [esp + 8], eax
shl eax, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x408221
or eax, ecx
mov edi, dword [esp + 0xc]
movzx ebp, byte [edi + 0x43e050]
and edi, dword [ebp*4 + 0x43e00c]
mov ecx, edx
shl edi, cl
or edi, ebx
mov ebx, edi
mov dword [esi + 0x48], edi
add edx, ebp
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x408251
mov ebp, ebx
cmp eax, 0x200
jb 0x408270
mov edi, dword [esp + 8]
lea ecx, [edi + 0x43dd76]
lea edi, [edi + 0x43e350]
jmp 0x40827c
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x4081c8
mov ebp, dword [esi + 0x30]
cmp ebp, dword [esi + 0x34]
jae 0x408210
lea edx, [ebp + 1]
mov dword [esi + 0x30], edx
mov byte [ebp], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408210
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x4081f1
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408240
lea edx, [ecx + 1]
mov dword [esi + 0x30], edx
mov byte [ecx], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408240
lea ecx, [eax + 0x43db76]
lea edi, [eax + 0x43e150]
mov dword [esp + 0xc], edi
movzx edi, byte [ecx]
movzx ebx, word [esi + edi*2 + 0x8a92]
mov ecx, edx
shl ebx, cl
or ebx, ebp
movzx ecx, byte [esi + edi + 0x9032]
add ecx, edx
mov edx, dword [esp + 0xc]
movzx edx, byte [edx]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x408301
and eax, dword [edx*4 + 0x43e00c]
shl eax, cl
mov ebp, dword [esp + 4]
add ebp, 3
mov edi, eax
not edi
and edi, ebx
xor eax, ebx
add eax, ebx
mov ebx, eax
sub ebx, edi
mov dword [esi + 0x48], ebx
mov eax, ecx
and eax, edx
xor ecx, edx
lea ecx, [ecx + eax*2]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x4080e0
mov edx, dword [esp + 0x10]
jmp 0x408335
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x4082ad
mov ebp, dword [esi + 0x30]
cmp ebp, dword [esi + 0x34]
jae 0x4082f0
lea ecx, [ebp + 1]
mov dword [esi + 0x30], ecx
mov byte [ebp], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x4082f0
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x4080e4
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408320
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408320
mov ecx, eax
movzx eax, word [esi + 0x8a52]
movzx edx, byte [esi + 0x9012]
shl eax, cl
or eax, ebx
mov dword [esi + 0x48], eax
add edx, ecx
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x4083a1
mov ecx, dword [esi + 0x30]
xor eax, eax
cmp ecx, dword [esi + 0x34]
setb al
add esp, 0x2a0
pop esi
pop edi
pop ebx
pop ebp
ret
shr eax, 8
mov dword [esi + 0x48], eax
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x40836e
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408390
lea edx, [ecx + 1]
mov dword [esi + 0x30], edx
mov byte [ecx], al
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x408390