Function at 0x407360
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2a0
mov esi, ecx
test edx, edx
je 0x4077e8
lea eax, [esi + 0x8f12]
push 0x90
push 8
push eax
call fcn.004091d0
add esp, 0xc
lea eax, [esi + 0x8fa2]
push 0x70
push 9
push eax
call fcn.004091d0
add esp, 0xc
mov dword [esi + 0x9012], 0x7070707
mov dword [esi + 0x9016], 0x7070707
mov dword [esi + 0x901a], 0x7070707
mov dword [esi + 0x901e], 0x7070707
mov dword [esi + 0x9022], 0x7070707
mov dword [esi + 0x9026], 0x7070707
mov dword [esi + 0x902e], 0x8080808
mov dword [esi + 0x902a], 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 + 0x160]
push 0x84
push 0
push eax
call fcn.004091d0
add esp, 0xc
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esi + eax + 0x8f12]
inc dword [esp + ecx*4 + 0x160]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x120
jl 0x407460
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 0x407564
mov word [esi + eax*2 + 0x8852], bx
inc eax
cmp eax, 0x120
je 0x4075e2
movzx ecx, byte [esi + eax + 0x8f12]
test ecx, ecx
je 0x407558
mov edi, dword [esp + ecx*4 + 0x20]
lea ebx, [edi + 1]
mov dword [esp + ecx*4 + 0x20], ebx
xor ebx, ebx
cmp cl, 4
jb 0x4075bf
mov ebp, ecx
and ebp, 0xfffffffc
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
mov edx, edi
and edx, 1
shl edx, 2
lea edx, [edx + ebx*8]
mov ebx, edi
and ebx, 2
or ebx, edx
mov edx, edi
shr edx, 2
and edx, 1
or edx, ebx
mov ebx, edi
shr ebx, 3
and ebx, 1
lea ebx, [ebx + edx*2]
shr edi, 4
add ebp, 0xfffffffc
jne 0x407590
and ecx, 3
je 0x407550
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, edi
and edx, 1
lea ebx, [edx + ebx*2]
shr edi, 1
dec ecx
jne 0x4075d0
jmp 0x407550
push 0x84
push 0
lea eax, [esp + 0x168]
push eax
call fcn.004091d0
add esp, 0xc
xor eax, eax
nop
nop
nop
nop
nop
movzx ecx, byte [esi + eax + 0x9032]
inc dword [esp + ecx*4 + 0x160]
mov ecx, eax
and ecx, 1
xor eax, 1
lea ecx, [eax + ecx*2]
movzx edx, byte [esi + ecx + 0x9032]
inc dword [esp + edx*4 + 0x160]
and eax, 1
xor ecx, 1
lea eax, [ecx + eax*2]
cmp eax, 0x20
jl 0x407600
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 0x407712
mov word [esi + eax*2 + 0x8a92], di
inc eax
cmp eax, 0x20
je 0x407792
movzx ecx, byte [esi + eax + 0x9032]
test ecx, ecx
je 0x407708
mov edx, dword [esp + ecx*4 + 0x20]
lea edi, [edx + 1]
mov dword [esp + ecx*4 + 0x20], edi
xor edi, edi
cmp cl, 4
jb 0x40777b
mov ebx, ecx
and ebx, 0xfffffffc
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, edx
and ebp, 1
shl ebp, 2
lea edi, [edi*8]
add edi, ebp
mov ebp, edx
and ebp, 2
or ebp, edi
mov edi, edx
shr edi, 2
and edi, 1
or edi, ebp
mov ebp, edx
shr ebp, 3
and ebp, 1
lea edi, [edi*2]
add edi, ebp
shr edx, 4
add ebx, 0xfffffffc
jne 0x407740
and ecx, 3
je 0x407700
mov ebx, edx
and ebx, 1
lea edi, [ebx + edi*2]
shr edx, 1
dec ecx
jne 0x407780
jmp 0x407700
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
bts ebx, ecx
mov dword [esi + 0x48], ebx
add ecx, 2
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x4077d0
mov eax, ecx
jmp 0x408389
shr ebx, 8
mov dword [esi + 0x48], ebx
mov eax, ecx
and eax, 0xfffffff7
not ecx
and ecx, 8
sub eax, ecx
mov dword [esi + 0x44], eax
mov ecx, eax
cmp eax, 7
jbe 0x408389
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4077b0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x4077b0
mov word [esi + 0x8392], 1
mov ecx, esi
xor edx, edx
push 0
push 0xf
push 0x120
call fcn.00408650
add esp, 0xc
mov ecx, esi
mov edx, 1
push 0
push 0xf
push 0x20
call fcn.00408650
add esp, 0xc
mov edx, 0x11e
cmp byte [esi + 0x902f], 0
jne 0x4079fe
mov edx, 0x11d
cmp byte [esi + 0x902e], 0
jne 0x4079fe
mov edx, 0x11c
cmp byte [esi + 0x902d], 0
jne 0x4079fe
mov edx, 0x11b
cmp byte [esi + 0x902c], 0
jne 0x4079fe
mov edx, 0x11a
cmp byte [esi + 0x902b], 0
jne 0x4079fe
mov edx, 0x119
cmp byte [esi + 0x902a], 0
jne 0x4079fe
mov edx, 0x118
cmp byte [esi + 0x9029], 0
jne 0x4079fe
mov edx, 0x117
cmp byte [esi + 0x9028], 0
jne 0x4079fe
mov edx, 0x116
cmp byte [esi + 0x9027], 0
jne 0x4079fe
mov edx, 0x115
cmp byte [esi + 0x9026], 0
jne 0x4079fe
mov edx, 0x114
cmp byte [esi + 0x9025], 0
jne 0x4079fe
mov edx, 0x113
cmp byte [esi + 0x9024], 0
jne 0x4079fe
mov edx, 0x112
cmp byte [esi + 0x9023], 0
jne 0x4079fe
mov edx, 0x111
cmp byte [esi + 0x9022], 0
jne 0x4079fe
mov edx, 0x110
cmp byte [esi + 0x9021], 0
jne 0x4079fe
mov edx, 0x10f
cmp byte [esi + 0x9020], 0
jne 0x4079fe
mov edx, 0x10e
cmp byte [esi + 0x901f], 0
jne 0x4079fe
mov edx, 0x10d
cmp byte [esi + 0x901e], 0
jne 0x4079fe
mov edx, 0x10c
cmp byte [esi + 0x901d], 0
jne 0x4079fe
mov edx, 0x10b
cmp byte [esi + 0x901c], 0
jne 0x4079fe
mov edx, 0x10a
cmp byte [esi + 0x901b], 0
jne 0x4079fe
mov edx, 0x109
cmp byte [esi + 0x901a], 0
jne 0x4079fe
mov edx, 0x108
cmp byte [esi + 0x9019], 0
jne 0x4079fe
mov edx, 0x107
cmp byte [esi + 0x9018], 0
jne 0x4079fe
mov edx, 0x106
cmp byte [esi + 0x9017], 0
jne 0x4079fe
mov edx, 0x105
cmp byte [esi + 0x9016], 0
jne 0x4079fe
mov edx, 0x104
cmp byte [esi + 0x9015], 0
jne 0x4079fe
mov edx, 0x103
cmp byte [esi + 0x9014], 0
jne 0x4079fe
cmp byte [esi + 0x9013], 1
mov edx, 0x102
sbb edx, 0
lea eax, [esi + 0x8f12]
mov edi, 0x1e
cmp byte [esi + 0x904f], 0
jne 0x407be7
mov edi, 0x1d
cmp byte [esi + 0x904e], 0
jne 0x407be7
mov edi, 0x1c
cmp byte [esi + 0x904d], 0
jne 0x407be7
mov edi, 0x1b
cmp byte [esi + 0x904c], 0
jne 0x407be7
mov edi, 0x1a
cmp byte [esi + 0x904b], 0
jne 0x407be7
mov edi, 0x19
cmp byte [esi + 0x904a], 0
jne 0x407be7
mov edi, 0x18
cmp byte [esi + 0x9049], 0
jne 0x407be7
mov edi, 0x17
cmp byte [esi + 0x9048], 0
jne 0x407be7
mov edi, 0x16
cmp byte [esi + 0x9047], 0
jne 0x407be7
mov edi, 0x15
cmp byte [esi + 0x9046], 0
jne 0x407be7
mov edi, 0x14
cmp byte [esi + 0x9045], 0
jne 0x407be7
mov edi, 0x13
cmp byte [esi + 0x9044], 0
jne 0x407be7
mov edi, 0x12
cmp byte [esi + 0x9043], 0
jne 0x407be7
mov edi, 0x11
cmp byte [esi + 0x9042], 0
jne 0x407be7
mov edi, 0x10
cmp byte [esi + 0x9041], 0
jne 0x407be7
mov edi, 0xf
cmp byte [esi + 0x9040], 0
jne 0x407be7
mov edi, 0xe
cmp byte [esi + 0x903f], 0
jne 0x407be7
mov edi, 0xd
cmp byte [esi + 0x903e], 0
jne 0x407be7
mov edi, 0xc
cmp byte [esi + 0x903d], 0
jne 0x407be7
mov edi, 0xb
cmp byte [esi + 0x903c], 0
jne 0x407be7
mov edi, 0xa
cmp byte [esi + 0x903b], 0
jne 0x407be7
mov edi, 9
cmp byte [esi + 0x903a], 0
jne 0x407be7
mov edi, 8
cmp byte [esi + 0x9039], 0
jne 0x407be7
mov edi, 7
cmp byte [esi + 0x9038], 0
jne 0x407be7
mov edi, 6
cmp byte [esi + 0x9037], 0
jne 0x407be7
mov edi, 5
cmp byte [esi + 0x9036], 0
jne 0x407be7
mov edi, 4
cmp byte [esi + 0x9035], 0
jne 0x407be7
mov edi, 3
cmp byte [esi + 0x9034], 0
jne 0x407be7
cmp byte [esi + 0x9033], 1
mov edi, 2
sbb edi, 0
lea ecx, [esp + 0x160]
push edx
push eax
push ecx
mov dword [esp + 0x20], edx
call fcn.00409060
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x160
lea ecx, [esi + 0x9032]
push edi
push ecx
push eax
call fcn.00409060
add esp, 0xc
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
lea edx, [edi + eax]
lea eax, [esi + 0x8612]
mov dword [esp + 0x1c], 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 edi, edi
mov dword [esp], 0
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x10], edx
jmp 0x407ccd
mov ebp, edx
inc word [esi + ecx*2 + 0x8612]
lea edx, [eax + 1]
mov dword [esp], edx
mov edx, ecx
mov byte [esp + eax + 0x20], cl
xor eax, eax
xor ebx, ebx
mov ecx, edx
mov edx, ebp
inc edi
cmp edx, edi
je 0x407eec
mov byte [esp + 4], cl
movzx ecx, byte [esp + edi + 0x160]
test ecx, ecx
je 0x407d30
test ebx, ebx
mov dword [esp + 0xc], eax
je 0x407d90
cmp ebx, 2
ja 0x407dcb
mov eax, dword [esp + 0x1c]
add word [eax], bx
mov eax, dword [esp]
add eax, esp
add eax, 0x20
push ebx
push 0
push eax
mov dword [esp + 0x14], ecx
call fcn.004091d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add esp, 0xc
add ebx, dword [esp]
mov eax, ebx
cmp cl, byte [esp + 4]
je 0x407d9d
jmp 0x407e6d
test eax, eax
je 0x407e1b
cmp eax, 2
mov ebp, eax
ja 0x407df9
movzx eax, byte [esp + 4]
mov edx, ebp
mov dword [esp + 0xc], ebp
add word [esi + eax*2 + 0x8612], dx
mov dword [esp + 8], ecx
mov ebp, dword [esp]
lea ecx, [esp + ebp]
add ecx, 0x20
push edx
push eax
push ecx
call fcn.004091d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add esp, 0xc
add ebp, dword [esp + 0xc]
mov dword [esp], ebp
jmp 0x407e1b
mov eax, dword [esp]
cmp cl, byte [esp + 4]
jne 0x407e6d
mov ebp, dword [esp + 0xc]
inc ebp
xor ebx, ebx
mov dword [esp + 0xc], ebp
cmp ebp, 6
jne 0x407ded
mov ebp, edx
mov edx, ecx
inc word [esi + 0x8632]
mov byte [esp + eax + 0x20], 0x10
lea ecx, [eax + 2]
mov dword [esp], ecx
inc eax
mov cl, 3
jmp 0x407cb8
mov eax, dword [esp]
add eax, 2
cmp ebx, 0xa
ja 0x407e4d
inc word [esi + 0x8634]
mov ebp, dword [esp]
mov byte [esp + ebp + 0x20], 0x11
add bl, 0xfd
mov ebp, dword [esp]
jmp 0x407e5f
mov dword [esp], eax
mov eax, dword [esp + 0xc]
jmp 0x407cc4
inc word [esi + 0x8632]
mov eax, dword [esp]
mov byte [esp + eax + 0x20], 0x10
mov edx, ebp
add dl, 0xfd
mov byte [esp + eax + 0x21], dl
mov edx, dword [esp + 0x10]
add eax, 2
mov dword [esp], eax
inc ebx
xor eax, eax
cmp ebx, 0x8a
jne 0x407cc4
mov ebp, edx
mov edx, ecx
inc word [esi + 0x8636]
mov ecx, dword [esp]
lea eax, [ecx + 1]
mov byte [esp + ecx + 0x20], 0x12
add ecx, 2
mov dword [esp], ecx
mov cl, 0x7f
jmp 0x407cb8
inc word [esi + 0x8636]
mov ebp, dword [esp]
mov byte [esp + ebp + 0x20], 0x12
add bl, 0xf5
mov byte [esp + ebp + 0x21], bl
cmp cl, byte [esp + 4]
je 0x407d9d
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x407ca6
cmp ebx, 2
ja 0x407eae
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 4]
add word [esi + ecx*2 + 0x8612], bx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ebp, [edx + ecx*2]
movzx ecx, byte [esp + 4]
mov byte [esp + eax + 0x20], cl
cmp ebx, 1
jne 0x407ecb
mov eax, ebp
jmp 0x407edf
mov ebp, edx
inc word [esi + 0x8632]
mov byte [esp + eax + 0x20], 0x10
add bl, 0xfd
mov byte [esp + eax + 0x21], bl
add eax, 2
jmp 0x407ca8
and edx, 1
mov eax, ebp
xor eax, 1
lea eax, [eax + edx*2]
movzx edx, byte [esp + 4]
mov byte [esp + ebp + 0x20], dl
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 8]
jmp 0x407ca8
test eax, eax
je 0x407f0f
cmp eax, 2
ja 0x407f3c
add word [esi + ecx*2 + 0x8612], ax
mov edi, dword [esp]
mov ebx, eax
lea eax, [esp + edi]
add eax, 0x20
movzx ecx, cl
push ebx
push ecx
jmp 0x407f2b
test ebx, ebx
je 0x407f5d
cmp ebx, 2
ja 0x407f66
mov eax, dword [esp + 0x1c]
add word [eax], bx
mov edi, dword [esp]
lea eax, [esp + edi]
add eax, 0x20
push ebx
push 0
push eax
call fcn.004091d0
add esp, 0xc
add edi, ebx
mov dword [esp + 4], edi
jmp 0x407f9f
inc word [esi + 0x8632]
mov ecx, eax
mov eax, dword [esp]
mov byte [esp + eax + 0x20], 0x10
add cl, 0xfd
mov byte [esp + eax + 0x21], cl
add eax, 2
mov dword [esp + 4], eax
jmp 0x407f9f
mov eax, dword [esp]
mov dword [esp + 4], eax
jmp 0x407f9f
mov eax, dword [esp]
add eax, 2
mov dword [esp + 4], eax
cmp ebx, 0xa
ja 0x407f89
inc word [esi + 0x8634]
mov eax, dword [esp]
mov byte [esp + eax + 0x20], 0x11
add bl, 0xfd
jmp 0x407f9b
inc word [esi + 0x8636]
mov eax, dword [esp]
mov byte [esp + eax + 0x20], 0x12
add bl, 0xf5
mov byte [esp + eax + 0x21], bl
mov ebx, 2
mov ecx, esi
mov edx, 2
push 0
push 7
push 0x13
call fcn.00408650
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
jb 0x408012
mov edx, dword [esp + 0x14]
jmp 0x407ffa
shr ebx, 8
mov dword [esi + 0x48], ebx
mov eax, ecx
xor eax, 8
and ecx, 0xfffffff7
add ecx, ecx
sub ecx, eax
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408016
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x407fe0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407fe0
mov edx, dword [esp + 0x14]
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 0x408069
mov ebx, dword [esp + 0x18]
jmp 0x408051
shr edx, 8
mov dword [esi + 0x48], edx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x40806d
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408040
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], dl
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x408040
mov ebx, dword [esp + 0x18]
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 0x408265
mov edx, 0x12
cmp byte [esi + 0x9161], 0
jne 0x4081b1
mov edx, 0x11
cmp byte [esi + 0x9153], 0
jne 0x4081b1
mov edx, 0x10
cmp byte [esi + 0x9160], 0
jne 0x4081b1
mov edx, 0xf
cmp byte [esi + 0x9154], 0
jne 0x4081b1
mov edx, 0xe
cmp byte [esi + 0x915f], 0
jne 0x4081b1
mov edx, 0xd
cmp byte [esi + 0x9155], 0
jne 0x4081b1
mov edx, 0xc
cmp byte [esi + 0x915e], 0
jne 0x4081b1
mov edx, 0xb
cmp byte [esi + 0x9156], 0
jne 0x4081b1
mov edx, 0xa
cmp byte [esi + 0x915d], 0
jne 0x4081b1
mov edx, 9
cmp byte [esi + 0x9157], 0
jne 0x4081b1
mov edx, 8
cmp byte [esi + 0x915c], 0
jne 0x4081b1
mov edx, 7
cmp byte [esi + 0x9158], 0
jne 0x4081b1
mov edx, 6
cmp byte [esi + 0x915b], 0
jne 0x4081b1
mov edx, 5
cmp byte [esi + 0x9159], 0
jne 0x4081b1
mov edx, 4
cmp byte [esi + 0x915a], 0
jne 0x4081b1
mov edx, 3
cmp byte [esi + 0x9152], 0
jne 0x4081b1
mov edx, 2
cmp byte [esi + 0x9164], 0
jne 0x4081b1
mov edx, 1
cmp byte [esi + 0x9163], 0
jne 0x4081b1
xor edx, edx
cmp byte [esi + 0x9162], 1
sbb edx, edx
mov eax, ebx
cmp edx, 4
jge 0x4081bd
mov edx, 3
lea ebx, [edx - 3]
shl ebx, cl
or ebx, eax
mov dword [esi + 0x48], ebx
lea eax, [ecx + 4]
mov dword [esi + 0x44], eax
cmp ecx, 4
jae 0x408295
xor ebp, ebp
jmp 0x4081ed
lea ecx, [ebp + 1]
cmp ebp, edx
mov ebp, ecx
je 0x4082ad
mov ecx, eax
mov eax, ebx
movzx edi, byte [ebp + 0x438ff2]
movzx ebx, byte [esi + edi + 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 0x408231
jmp 0x4081e0
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x4081e0
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408220
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408220
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408086
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408250
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408250
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x4081d6
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408280
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408280
cmp dword [esp + 4], 0
je 0x408389
xor ebp, ebp
jmp 0x4082cb
inc ebp
cmp ebp, dword [esp + 4]
jae 0x408389
mov ecx, eax
mov edx, ebx
movzx eax, byte [esp + ebp + 0x20]
movzx ebx, word [esi + eax*2 + 0x8cd2]
mov edi, 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 0x408341
mov ecx, edi
cmp cl, 0x10
jb 0x4082c0
movzx edx, byte [esp + ebp + 0x21]
add ebp, 2
movsx edi, byte [ecx + 0x43a6d0]
mov ecx, eax
shl edx, cl
or edx, ebx
mov dword [esi + 0x48], edx
add edi, eax
mov dword [esi + 0x44], edi
cmp edi, 8
jae 0x408371
mov ebx, edx
mov eax, edi
cmp ebp, dword [esp + 4]
jb 0x4082cb
jmp 0x408389
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x4082f7
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408330
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408330
shr edx, 8
mov dword [esi + 0x48], edx
add edi, 0xfffffff8
mov dword [esi + 0x44], edi
cmp edi, 7
jbe 0x408320
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408360
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], dl
mov edi, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x408360
lea ebp, [esi + 0x9272]
cmp ebp, dword [esi + 0x28]
jae 0x4085dd
mov ecx, 1
jmp 0x4083b4
mov ebp, dword [esp + 4]
mov ecx, dword [esp]
shr ecx, 1
mov eax, edx
cmp ebp, dword [esi + 0x28]
jae 0x4085df
cmp ecx, 1
jne 0x4083c4
movzx ecx, byte [ebp]
inc ebp
or ecx, 0x100
mov dword [esp], ecx
test cl, 1
jne 0x408430
movzx ecx, byte [ebp]
inc ebp
movzx edi, word [esi + ecx*2 + 0x8852]
movzx edx, byte [esi + ecx + 0x8f12]
mov ecx, eax
shl edi, cl
or ebx, edi
mov dword [esi + 0x48], ebx
add edx, eax
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x408411
jmp 0x4083a4
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x4083a4
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408400
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408400
movzx edx, byte [ebp]
movzx ecx, word [edx + edx + 0x438df2]
mov dword [esp + 4], ecx
movzx edi, word [esi + ecx*2 + 0x8852]
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 4]
movzx ecx, byte [esi + ecx + 0x8f12]
add ecx, eax
movzx eax, byte [ebp + 1]
or ebx, edi
mov dword [esp + 4], ebp
movzx ebp, byte [ebp + 2]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
mov edi, eax
cmp ecx, 8
jae 0x4084d1
movzx eax, byte [edx + 0x43904c]
and edx, dword [eax*4 + 0x439008]
shl edx, cl
or edx, ebx
mov dword [esi + 0x48], edx
add ecx, eax
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x408501
mov ebx, ebp
shl ebx, 8
or ebx, edi
cmp ebx, 0x200
jb 0x408520
lea eax, [ebp + 0x438d72]
lea ebp, [ebp + 0x43934c]
jmp 0x40852c
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408475
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4084c0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x4084c0
shr edx, 8
mov dword [esi + 0x48], edx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408494
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4084f0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], dl
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x4084f0
lea eax, [ebx + 0x438b72]
lea ebp, [ebx + 0x43914c]
movzx edi, byte [eax]
movzx eax, word [esi + edi*2 + 0x8a92]
shl eax, cl
or eax, edx
movzx edx, byte [esi + edi + 0x9032]
add edx, ecx
movzx ebp, byte [ebp]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x408591
add dword [esp + 4], 3
and ebx, dword [ebp*4 + 0x439008]
mov ecx, edx
shl ebx, cl
or ebx, eax
mov dword [esi + 0x48], ebx
add edx, ebp
mov dword [esi + 0x44], edx
cmp edx, 8
jb 0x4083a0
mov ebp, dword [esp + 4]
jmp 0x4085c5
shr eax, 8
mov dword [esi + 0x48], eax
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x408554
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408580
lea edx, [ecx + 1]
mov dword [esi + 0x30], edx
mov byte [ecx], al
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x408580
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x4083a4
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4085b0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x4085b0
mov edx, eax
movzx edi, byte [esi + 0x9012]
movzx eax, word [esi + 0x8a52]
mov ecx, edx
shl eax, cl
or eax, ebx
mov dword [esi + 0x48], eax
add edi, edx
mov dword [esi + 0x44], edi
cmp edi, 8
jae 0x408631
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 edi, 0xfffffff8
mov dword [esi + 0x44], edi
cmp edi, 7
jbe 0x408600
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x408620
lea edx, [ecx + 1]
mov dword [esi + 0x30], edx
mov byte [ecx], al
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x408620