Function at 0x407020
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2a0
mov esi, ecx
test edx, edx
je 0x40742d
lea eax, [esi + 0x8f12]
push 0x90
push 8
push eax
call fcn.00408cb0
add esp, 0xc
lea eax, [esi + 0x8fa2]
push 0x70
push 9
push eax
call fcn.00408cb0
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.00408cb0
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]
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 0x407120
mov dword [esp + 0x24], 0
mov eax, 2
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
xor ebx, 0x3ffffffe
lea edx, [eax + eax]
mov ebp, edx
and ebp, 0x3ffffffc
add ebp, ebx
add ecx, dword [esp + ebp*4 + 0x164]
add ecx, ecx
mov dword [esp + eax*4 + 0x20], ecx
and edx, 2
xor eax, 1
add eax, edx
mov ebx, eax
xor ebx, 0x3ffffffe
lea edx, [eax + eax]
mov ebp, edx
and ebp, 0x3ffffffc
add ebp, ebx
add ecx, dword [esp + ebp*4 + 0x164]
add ecx, ecx
mov dword [esp + eax*4 + 0x20], ecx
and edx, 2
xor eax, 1
add eax, edx
cmp eax, 0x10
jl 0x407180
xor eax, eax
jmp 0x4071f4
mov word [esi + eax*2 + 0x8852], bx
inc eax
cmp eax, 0x120
je 0x407272
movzx edx, byte [esi + eax + 0x8f12]
test edx, edx
je 0x4071e8
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 0x40724f
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 0x407220
test ebp, ebp
je 0x4071e0
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 0x407260
jmp 0x4071e0
push 0x84
push 0
lea eax, [esp + 0x168]
push eax
call fcn.00408cb0
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 0x407290
mov dword [esp + 0x24], 0
mov eax, 2
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
xor edi, 0x3ffffffe
lea edx, [eax + eax]
mov ebx, edx
and ebx, 0x3ffffffc
add ebx, edi
add ecx, dword [esp + ebx*4 + 0x164]
add ecx, ecx
mov dword [esp + eax*4 + 0x20], ecx
and edx, 2
xor eax, 1
add eax, edx
mov edi, eax
xor edi, 0x3ffffffe
lea edx, [eax + eax]
mov ebx, edx
and ebx, 0x3ffffffc
add ebx, edi
add ecx, dword [esp + ebx*4 + 0x164]
add ecx, ecx
mov dword [esp + eax*4 + 0x20], ecx
and edx, 2
xor eax, 1
add eax, edx
cmp eax, 0x10
jl 0x4072f0
xor eax, eax
jmp 0x407362
mov word [esi + eax*2 + 0x8a92], di
inc eax
cmp eax, 0x20
je 0x4073e2
movzx ebx, byte [esi + eax + 0x9032]
test ebx, ebx
je 0x407358
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 0x4073cb
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 0x407390
test edx, edx
je 0x407350
nop
mov ebx, ecx
and ebx, 1
lea edi, [ebx + edi*2]
shr ecx, 1
dec edx
jne 0x4073d0
jmp 0x407350
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 0x407415
jmp 0x407ed9
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407ed9
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407400
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407400
mov word [esi + 0x8392], 1
mov ecx, esi
xor edx, edx
push 0
push 0xf
push 0x120
call fcn.00408220
add esp, 0xc
mov ecx, esi
mov edx, 1
push 0
push 0xf
push 0x20
call fcn.00408220
add esp, 0xc
mov edi, 0x11e
cmp byte [esi + 0x902f], 0
jne 0x407643
mov edi, 0x11d
cmp byte [esi + 0x902e], 0
jne 0x407643
mov edi, 0x11c
cmp byte [esi + 0x902d], 0
jne 0x407643
mov edi, 0x11b
cmp byte [esi + 0x902c], 0
jne 0x407643
mov edi, 0x11a
cmp byte [esi + 0x902b], 0
jne 0x407643
mov edi, 0x119
cmp byte [esi + 0x902a], 0
jne 0x407643
mov edi, 0x118
cmp byte [esi + 0x9029], 0
jne 0x407643
mov edi, 0x117
cmp byte [esi + 0x9028], 0
jne 0x407643
mov edi, 0x116
cmp byte [esi + 0x9027], 0
jne 0x407643
mov edi, 0x115
cmp byte [esi + 0x9026], 0
jne 0x407643
mov edi, 0x114
cmp byte [esi + 0x9025], 0
jne 0x407643
mov edi, 0x113
cmp byte [esi + 0x9024], 0
jne 0x407643
mov edi, 0x112
cmp byte [esi + 0x9023], 0
jne 0x407643
mov edi, 0x111
cmp byte [esi + 0x9022], 0
jne 0x407643
mov edi, 0x110
cmp byte [esi + 0x9021], 0
jne 0x407643
mov edi, 0x10f
cmp byte [esi + 0x9020], 0
jne 0x407643
mov edi, 0x10e
cmp byte [esi + 0x901f], 0
jne 0x407643
mov edi, 0x10d
cmp byte [esi + 0x901e], 0
jne 0x407643
mov edi, 0x10c
cmp byte [esi + 0x901d], 0
jne 0x407643
mov edi, 0x10b
cmp byte [esi + 0x901c], 0
jne 0x407643
mov edi, 0x10a
cmp byte [esi + 0x901b], 0
jne 0x407643
mov edi, 0x109
cmp byte [esi + 0x901a], 0
jne 0x407643
mov edi, 0x108
cmp byte [esi + 0x9019], 0
jne 0x407643
mov edi, 0x107
cmp byte [esi + 0x9018], 0
jne 0x407643
mov edi, 0x106
cmp byte [esi + 0x9017], 0
jne 0x407643
mov edi, 0x105
cmp byte [esi + 0x9016], 0
jne 0x407643
mov edi, 0x104
cmp byte [esi + 0x9015], 0
jne 0x407643
mov edi, 0x103
cmp byte [esi + 0x9014], 0
jne 0x407643
cmp byte [esi + 0x9013], 1
mov edi, 0x102
sbb edi, 0
lea eax, [esi + 0x8f12]
mov ebx, 0x1e
cmp byte [esi + 0x904f], 0
jne 0x40782c
mov ebx, 0x1d
cmp byte [esi + 0x904e], 0
jne 0x40782c
mov ebx, 0x1c
cmp byte [esi + 0x904d], 0
jne 0x40782c
mov ebx, 0x1b
cmp byte [esi + 0x904c], 0
jne 0x40782c
mov ebx, 0x1a
cmp byte [esi + 0x904b], 0
jne 0x40782c
mov ebx, 0x19
cmp byte [esi + 0x904a], 0
jne 0x40782c
mov ebx, 0x18
cmp byte [esi + 0x9049], 0
jne 0x40782c
mov ebx, 0x17
cmp byte [esi + 0x9048], 0
jne 0x40782c
mov ebx, 0x16
cmp byte [esi + 0x9047], 0
jne 0x40782c
mov ebx, 0x15
cmp byte [esi + 0x9046], 0
jne 0x40782c
mov ebx, 0x14
cmp byte [esi + 0x9045], 0
jne 0x40782c
mov ebx, 0x13
cmp byte [esi + 0x9044], 0
jne 0x40782c
mov ebx, 0x12
cmp byte [esi + 0x9043], 0
jne 0x40782c
mov ebx, 0x11
cmp byte [esi + 0x9042], 0
jne 0x40782c
mov ebx, 0x10
cmp byte [esi + 0x9041], 0
jne 0x40782c
mov ebx, 0xf
cmp byte [esi + 0x9040], 0
jne 0x40782c
mov ebx, 0xe
cmp byte [esi + 0x903f], 0
jne 0x40782c
mov ebx, 0xd
cmp byte [esi + 0x903e], 0
jne 0x40782c
mov ebx, 0xc
cmp byte [esi + 0x903d], 0
jne 0x40782c
mov ebx, 0xb
cmp byte [esi + 0x903c], 0
jne 0x40782c
mov ebx, 0xa
cmp byte [esi + 0x903b], 0
jne 0x40782c
mov ebx, 9
cmp byte [esi + 0x903a], 0
jne 0x40782c
mov ebx, 8
cmp byte [esi + 0x9039], 0
jne 0x40782c
mov ebx, 7
cmp byte [esi + 0x9038], 0
jne 0x40782c
mov ebx, 6
cmp byte [esi + 0x9037], 0
jne 0x40782c
mov ebx, 5
cmp byte [esi + 0x9036], 0
jne 0x40782c
mov ebx, 4
cmp byte [esi + 0x9035], 0
jne 0x40782c
mov ebx, 3
cmp byte [esi + 0x9034], 0
jne 0x40782c
cmp byte [esi + 0x9033], 1
mov ebx, 2
sbb ebx, 0
lea ecx, [esp + 0x160]
push edi
push eax
push ecx
call fcn.00408c50
add esp, 0xc
lea eax, [esp + edi]
add eax, 0x160
lea ecx, [esi + 0x9032]
push ebx
push ecx
push eax
call fcn.00408c50
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebx
lea eax, [ebx + edi]
mov dword [esp + 0xc], 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
mov dword [esp], 0
xor eax, eax
xor ebx, ebx
xor ecx, ecx
jmp 0x407922
inc word [esi + 0x8632]
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], eax
inc word [esi + edx*2 + 0x8612]
mov eax, dword [esp]
mov byte [esp + eax + 0x20], dl
inc eax
mov dword [esp], eax
xor ecx, ecx
xor eax, eax
inc ebx
cmp dword [esp + 0xc], ebx
je 0x407ad2
mov byte [esp + 8], dl
movzx edx, byte [esp + ebx + 0x160]
test edx, edx
je 0x407970
test eax, eax
je 0x407a50
cmp eax, 2
ja 0x4079b0
mov ebp, eax
mov eax, dword [esp + 0x14]
add word [eax], bp
mov eax, dword [esp]
add eax, esp
add eax, 0x20
push ebp
push 0
push eax
mov dword [esp + 0x10], edx
mov edi, ecx
call fcn.00408cb0
mov ecx, edi
mov edx, dword [esp + 0x10]
add esp, 0xc
add dword [esp], ebp
jmp 0x407a50
test ecx, ecx
je 0x4079ee
cmp ecx, 2
ja 0x4079d2
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 8]
add word [esi + eax*2 + 0x8612], cx
mov edi, dword [esp]
mov ebp, ecx
lea ecx, [esp + edi]
add ecx, 0x20
push ebp
push eax
push ecx
mov dword [esp + 0x10], edx
call fcn.00408cb0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, ebp
jmp 0x4079eb
cmp eax, 0xa
ja 0x407a12
inc word [esi + 0x8634]
mov edi, dword [esp]
mov byte [esp + edi + 0x20], 0x11
add al, 0xfd
mov byte [esp + edi + 0x21], al
add edi, 2
mov dword [esp], edi
jmp 0x407a50
inc word [esi + 0x8632]
mov edi, dword [esp]
mov byte [esp + edi + 0x20], 0x10
add cl, 0xfd
mov byte [esp + edi + 0x21], cl
add edi, 2
mov dword [esp], edi
inc eax
xor ecx, ecx
cmp eax, 0x8a
jne 0x407917
inc word [esi + 0x8636]
mov eax, dword [esp]
mov word [esp + eax + 0x20], 0x7f12
jmp 0x407aca
mov edi, eax
movzx eax, word [esi + 0x8636]
mov dword [esp + 4], ecx
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 4]
mov word [esi + 0x8636], ax
mov ebp, dword [esp]
mov byte [esp + ebp + 0x20], 0x12
mov eax, edi
add al, 0xf5
mov byte [esp + ebp + 0x21], al
add ebp, 2
mov dword [esp], ebp
nop
nop
nop
nop
nop
movzx eax, byte [esp + 8]
cmp dl, al
jne 0x407a70
lea eax, [ecx + 1]
cmp eax, 6
je 0x407ab4
mov ecx, eax
jmp 0x407915
test ecx, ecx
je 0x407900
cmp ecx, 2
ja 0x4078e4
movzx eax, al
add word [esi + eax*2 + 0x8612], cx
mov edi, dword [esp]
mov ebp, ecx
lea ecx, [esp + edi]
add ecx, 0x20
push ebp
push eax
push ecx
mov dword [esp + 0x10], edx
call fcn.00408cb0
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, ebp
mov dword [esp], edi
jmp 0x407900
inc word [esi + 0x8632]
mov eax, dword [esp]
mov byte [esp + eax + 0x20], 0x10
add cl, 0xfe
mov byte [esp + eax + 0x21], cl
add eax, 2
jmp 0x407910
test ecx, ecx
je 0x407b03
cmp ecx, 2
ja 0x407b35
add word [esi + edx*2 + 0x8612], cx
mov ebx, dword [esp]
lea eax, [esp + ebx]
add eax, 0x20
mov edi, ecx
movzx ecx, dl
push edi
push ecx
push eax
call fcn.00408cb0
add esp, 0xc
add ebx, edi
mov dword [esp], ebx
jmp 0x407b51
test eax, eax
je 0x407b51
cmp eax, 2
ja 0x4081c9
mov ebx, eax
mov eax, dword [esp + 0x14]
add word [eax], bx
mov edi, dword [esp]
lea eax, [esp + edi]
add eax, 0x20
push ebx
push 0
push eax
call fcn.00408cb0
add esp, 0xc
add edi, ebx
mov dword [esp], edi
jmp 0x407b51
inc word [esi + 0x8632]
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], eax
mov ebx, 2
mov ecx, esi
mov edx, 2
push 0
push 7
push 0x13
call fcn.00408220
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 0x407bc1
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 0x407c09
mov ebx, dword [esp + 0x10]
jmp 0x407bf1
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x407b81
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x407bb0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407bb0
shr edx, 8
mov dword [esi + 0x48], edx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407c0d
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407be0
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], dl
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x407be0
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 0x407da5
mov eax, ebx
mov edx, 0x13
cmp byte [esi + 0x9161], 0
jne 0x407d0f
mov edx, 0x12
cmp byte [esi + 0x9153], 0
jne 0x407d0f
mov edx, 0x11
cmp byte [esi + 0x9160], 0
jne 0x407d0f
mov edx, 0x10
cmp byte [esi + 0x9154], 0
jne 0x407d0f
mov edx, 0xf
cmp byte [esi + 0x915f], 0
jne 0x407d0f
mov edx, 0xe
cmp byte [esi + 0x9155], 0
jne 0x407d0f
mov edx, 0xd
cmp byte [esi + 0x915e], 0
jne 0x407d0f
mov edx, 0xc
cmp byte [esi + 0x9156], 0
jne 0x407d0f
mov edx, 0xb
cmp byte [esi + 0x915d], 0
jne 0x407d0f
mov edx, 0xa
cmp byte [esi + 0x9157], 0
jne 0x407d0f
mov edx, 9
cmp byte [esi + 0x915c], 0
jne 0x407d0f
mov edx, 8
cmp byte [esi + 0x9158], 0
jne 0x407d0f
mov edx, 7
cmp byte [esi + 0x915b], 0
jne 0x407d0f
mov edx, 6
cmp byte [esi + 0x9159], 0
jne 0x407d0f
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 0x407dd5
xor ebp, ebp
jmp 0x407d39
inc ebp
cmp ebp, edx
je 0x407ded
mov ecx, eax
mov eax, ebx
movzx edi, byte [ebp + 0x43bff6]
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 0x407d71
jmp 0x407d30
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407d30
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407d60
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407d60
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x407c26
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x407d90
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407d90
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407d28
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407dc0
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407dc0
cmp dword [esp], 0
je 0x407ed9
xor ebp, ebp
jmp 0x407e0a
inc ebp
cmp ebp, dword [esp]
jae 0x407ed9
mov ecx, eax
movzx eax, byte [esp + ebp + 0x20]
movzx edx, word [esi + eax*2 + 0x8cd2]
mov edi, eax
movzx eax, byte [esi + eax + 0x9152]
add eax, ecx
shl edx, cl
mov ecx, edx
not ecx
and ecx, ebx
xor edx, ebx
add ebx, edx
sub ebx, ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x407e91
mov ecx, edi
cmp cl, 0x10
jb 0x407e00
movzx edx, byte [esp + ebp + 0x21]
add ebp, 2
movsx edi, byte [ecx + 0x43d67c]
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 0x407ec1
mov ebx, edx
mov eax, edi
cmp ebp, dword [esp]
jb 0x407e0a
jmp 0x407ed9
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
jbe 0x407e3e
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x407e80
lea eax, [ecx + 1]
mov dword [esi + 0x30], eax
mov byte [ecx], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407e80
shr edx, 8
mov dword [esi + 0x48], edx
add edi, 0xfffffff8
mov dword [esi + 0x44], edi
cmp edi, 7
jbe 0x407e67
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x407eb0
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], dl
mov edi, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
jmp 0x407eb0
lea edi, [esi + 0x9272]
cmp edi, dword [esi + 0x28]
jae 0x40815d
mov ecx, 1
jmp 0x407f00
mov ecx, dword [esp]
shr ecx, 1
mov eax, edx
cmp edi, dword [esi + 0x28]
jae 0x40815f
cmp ecx, 1
jne 0x407f0f
movzx ecx, byte [edi]
inc edi
or ecx, 0x100
mov dword [esp], ecx
test cl, 1
jne 0x407f80
movzx ecx, byte [edi]
inc edi
mov ebp, edi
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
mov edi, ebp
cmp edx, 8
jae 0x407f61
jmp 0x407ef0
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x407ef0
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x407f50
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x407f50
movzx ecx, byte [edi]
mov dword [esp + 8], ecx
movzx ecx, word [ecx + ecx + 0x43bdf6]
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]
movzx eax, byte [edi + 2]
or ebx, ebp
mov ebp, eax
shl ebp, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], edx
cmp edx, 8
mov dword [esp + 4], eax
jae 0x408031
mov dword [esp + 0xc], edi
or ebp, ecx
mov edi, dword [esp + 8]
movzx eax, byte [edi + 0x43c050]
and edi, dword [eax*4 + 0x43c00c]
mov ecx, edx
shl edi, cl
or edi, ebx
mov ebx, edi
mov dword [esi + 0x48], edi
add edx, eax
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x40806a
mov dword [esp + 8], ebx
cmp ebp, 0x200
jb 0x408090
mov eax, dword [esp + 4]
lea ecx, [eax + 0x43bd76]
lea ebx, [eax + 0x43c350]
jmp 0x40809c
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x407fc3
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408020
lea edx, [eax + 1]
mov dword [esi + 0x30], edx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408020
shr ebx, 8
mov dword [esi + 0x48], ebx
mov eax, edx
xor eax, 0xfffffff7
and edx, 0xfffffff7
lea edx, [eax + edx*2]
inc edx
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x407ff0
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408050
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408050
lea ecx, [ebp + 0x43bb76]
lea ebx, [ebp + 0x43c150]
movzx edi, byte [ecx]
movzx eax, word [esi + edi*2 + 0x8a92]
mov ecx, edx
shl eax, cl
or eax, dword [esp + 8]
movzx ecx, byte [esi + edi + 0x9032]
add ecx, edx
movzx edx, byte [ebx]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x408100
mov edi, dword [esp + 0xc]
jmp 0x4080e1
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x408104
mov ebx, dword [esi + 0x30]
cmp ebx, dword [esi + 0x34]
jae 0x4080d0
lea ecx, [ebx + 1]
mov dword [esi + 0x30], ecx
mov byte [ebx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x4080d0
mov edi, dword [esp + 0xc]
add edi, 3
and ebp, dword [edx*4 + 0x43c00c]
shl ebp, cl
mov ebx, ebp
or ebx, eax
mov dword [esi + 0x48], ebx
mov eax, ecx
and eax, edx
xor ecx, edx
lea edx, [ecx + eax*2]
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x408145
jmp 0x407ef0
shr ebx, 8
mov dword [esi + 0x48], ebx
add edx, 0xfffffff8
mov dword [esi + 0x44], edx
cmp edx, 7
jbe 0x407ef0
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x408130
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
jmp 0x408130
mov edx, eax
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 0x4081b1
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 ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x40818a
mov edx, dword [esi + 0x30]
cmp edx, dword [esi + 0x34]
jae 0x4081a0
lea ecx, [edx + 1]
mov dword [esi + 0x30], ecx
mov byte [edx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x4081a0
cmp eax, 0xa
ja 0x4081fd
inc word [esi + 0x8634]
mov edx, dword [esp]
mov byte [esp + edx + 0x20], 0x11
mov ecx, eax
or eax, 0xfc
and ecx, 0xfc
add ecx, eax
inc cl
mov byte [esp + edx + 0x21], cl
add edx, 2
mov dword [esp], edx
jmp 0x407b51
inc word [esi + 0x8636]
mov ecx, dword [esp]
mov byte [esp + ecx + 0x20], 0x12
add al, 0xf5
mov byte [esp + ecx + 0x21], al
add ecx, 2
mov dword [esp], ecx
jmp 0x407b51