Function at 0x412690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
mov esi, esp
push eax
push eax
mov eax, esp
sub esp, 8
mov ecx, esp
mov dword [esi + 0xdc], ecx
sub esp, 8
mov edx, esp
mov dword [esi + 0xd8], edx
sub esp, 8
mov edi, esp
mov dword [esi + 0xd4], edi
mov dword [esi + 0xac], edi
sub esp, 8
mov edi, esp
mov dword [esi + 0xd0], edi
mov dword [esi + 0xa8], edi
sub esp, 8
mov edi, esp
mov dword [esi + 0xcc], edi
mov dword [esi + 0xa4], edi
sub esp, 8
mov edi, esp
mov dword [esi + 0xc8], edi
mov dword [esi + 0xa0], edi
sub esp, 8
mov edi, esp
mov dword [esi + 0xc4], edi
mov dword [esi + 0x9c], edi
sub esp, 8
mov edi, esp
mov dword [esi + 0xc0], edi
mov dword [esi + 0x98], edi
push eax
mov dword [esi + 0x48], esp
sub esp, 0x68
mov edi, esp
and edi, 0xfffffff8
mov dword [esi + 0x5c], edi
mov esp, edi
push eax
push eax
mov edi, esp
mov dword [esi + 0xec], edi
mov dword [esi + 0x110], edi
push eax
mov dword [esi + 0x108], esp
sub esp, 8
mov edi, esp
mov dword [esi + 0xe0], edi
mov dword [esi + 0x54], edi
sub esp, 8
mov dword [esi + 0xf8], esp
push eax
mov dword [esi + 0xe4], esp
sub esp, 8
mov dword [esi + 0x94], esp
sub esp, 8
mov edi, esp
mov dword [esi + 0xbc], edi
mov dword [esi + 0x90], edi
sub esp, 8
mov edi, esp
mov dword [esi + 0xb8], edi
mov dword [esi + 0x50], edi
sub esp, 8
mov edi, esp
mov dword [esi + 0xb4], edi
mov dword [esi + 0x8c], edi
push eax
mov dword [esi + 0x88], esp
sub esp, 8
mov edi, esp
mov dword [esi + 0xb0], edi
mov dword [esi + 0x4c], edi
sub esp, 8
mov dword [esi + 0x84], esp
sub esp, 0x10
mov dword [esi + 0x38], esp
push eax
mov dword [esi + 0x64], esp
sub esp, 0x68
mov edi, esp
and edi, 0xfffffff8
mov dword [esi + 0x68], edi
mov esp, edi
push eax
mov ebx, esp
sub esp, 8
mov edi, esp
mov dword [esi + 0x100], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0xe8], edx
mov dword [esi + 0xfc], ecx
mov dword [esi + 0x104], eax
sub esp, 8
mov dword [esi + 0x13c], esp
push eax
mov dword [esi + 0x14c], esp
push eax
mov dword [esi + 0x148], esp
sub esp, 8
mov dword [esi + 0x124], esp
sub esp, 0x68
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0xf4], eax
mov esp, eax
push eax
sub esp, 8
mov dword [esi + 0x134], esp
sub esp, 8
mov dword [esi + 0x6c], esp
sub esp, 0x50
mov dword [esi + 0x70], esp
push eax
mov dword [esi + 0x11c], esp
push eax
mov dword [esi + 0x118], esp
push eax
mov dword [esi + 0x138], esp
push eax
mov dword [esi + 0x10c], esp
sub esp, 8
mov dword [esi + 0x144], esp
sub esp, 8
mov dword [esi + 0x140], esp
sub esp, 0x68
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0xf0], eax
mov esp, eax
mov dword [esi + 0x20], 0x399f
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x412481
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [esi + ecx + 0x20]
lea edx, [eax + ecx]
add edx, 0x251e728a
add eax, 0x251e728a
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi + 8]
mov ecx, eax
not ecx
and ecx, 0xb2
and eax, 0x4d
sub eax, ecx
mov ecx, dword [esi]
mov byte [esi + ecx + 0x20], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x412440
lea eax, [esi + 0x20]
push eax
push dword [ebp + 8]
call fcn.00404540
add esp, 8
mov edx, eax
xor ecx, ecx
test eax, eax
sete cl
xor edi, edi
xor eax, eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x114], edx
jmp dword [ecx*4 + 0x448770]
mov eax, dword [esi + 0x6c]
inc eax
mov dword [esi + 0x12c], eax
add dword [esi + 0xb0], 2
add dword [esi + 0xb4], 2
add dword [esi + 0xb8], 2
add dword [esi + 0xbc], 2
add dword [esi + 0xe0], 2
add dword [esi + 0xec], 2
mov eax, dword [esi + 0x70]
add eax, 0x4a
mov dword [esi + 0x130], eax
add dword [esi + 0x100], 2
add dword [esi + 0xc0], 3
add dword [esi + 0xc4], 3
add dword [esi + 0xc8], 2
add dword [esi + 0xcc], 2
add dword [esi + 0xd0], 2
add dword [esi + 0xd4], 2
add dword [esi + 0xd8], 3
add dword [esi + 0xdc], 2
jmp 0x41253d
nop
nop
mov edi, dword [esi + 0x150]
inc edi
mov edx, dword [esi + 0x114]
push edx
call fcn.00404750
mov edx, dword [esi + 0x114]
add esp, 4
xor ecx, ecx
cmp edi, eax
setb cl
mov al, 1
jmp dword [ecx*4 + 0x448778]
mov dword [esi + 0x150], edi
push edi
push edx
call fcn.00404760
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 0x20], 0xff48
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x4125cd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi]
mov eax, dword [esi]
movzx eax, byte [esi + eax + 0x20]
mov edx, ecx
xor edx, 0x1f2c83d5
mov edi, ecx
xor edi, 0x60d37c2a
or ecx, 0x1f2c83d5
and ecx, edi
lea ecx, [edx + ecx*2]
xor ecx, eax
mov dword [esi + 8], ecx
mov eax, dword [esi + 8]
add al, 0xd7
mov ecx, dword [esi]
mov byte [esi + ecx + 0x20], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x412590
push 3
lea eax, [esi + 0x20]
push eax
mov edi, dword [esi + 4]
push edi
call fcn.004046f0
add esp, 0xc
xor ecx, ecx
test eax, eax
sete cl
jmp dword [ecx*4 + 0x448780]
mov word [esi + 8], 0x910c
lea eax, [esi + 0xa]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x20]
cmp eax, 6
ja 0x41264c
nop
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x20]
movzx ecx, byte [esi + ecx + 8]
mov edx, eax
xor edx, 0x8f5ecc24
and eax, 0xf5ecc24
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esi], edx
mov eax, dword [esi]
add al, 0x4c
mov ecx, dword [esi + 0x20]
mov byte [esi + ecx + 8], al
inc dword [esi + 0x20]
mov eax, dword [esi + 0x20]
cmp eax, 7
jb 0x412610
lea eax, [esi + 8]
push eax
push edi
call fcn.004044d0
add esp, 8
fnstcw word [esi + 0x44]
movzx eax, word [esi + 0x44]
or eax, 0xc00
mov word [esi + 0x80], ax
fldcw word [esi + 0x80]
fistp dword [esi + 0x164]
fldcw word [esi + 0x44]
mov eax, dword [esi + 0x164]
xor ecx, ecx
cmp eax, 2
setl cl
jmp dword [ecx*4 + 0x448788]
xor ecx, ecx
cmp eax, 3
setl cl
jmp dword [ecx*4 + 0x448790]
sete al
movzx eax, al
jmp dword [eax*4 + 0x448798]
mov edx, dword [esi + 0x110]
mov word [edx], 0x9a3
mov eax, dword [esi + 0xec]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 6
ja 0x412722
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi]
mov eax, dword [esi]
movzx eax, byte [edx + eax]
mov edx, ecx
xor edx, 0x712d9cfe
and ecx, 0xf12d9cfe
lea ecx, [edx + ecx*2]
mov edx, ecx
add ecx, eax
not eax
or edx, eax
sub eax, edx
mov edx, dword [esi + 0x110]
lea eax, [ecx + eax*2]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0xa
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 7
jb 0x4126e0
push 2
push edx
push edi
call fcn.004046f0
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x448828]
mov edx, dword [esi + 0x108]
mov dword [edx], 0x9f0c
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x4127a7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0x97ddffe5
and eax, 0x17ddffe5
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
xor ecx, eax
add ecx, eax
not eax
and eax, edx
mov edx, dword [esi + 0x108]
add eax, eax
sub eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x87
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x412760
push 2
push edx
push edi
call fcn.004046f0
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x448830]
mov ecx, dword [esi + 0x54]
mov word [ecx], 0x2b97
mov eax, dword [esi + 0xe0]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 6
ja 0x412842
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, eax
xor ecx, 0x62fae9c7
add eax, eax
and eax, 0xc5f5d38e
mov edx, eax
and edx, ecx
xor eax, ecx
mov ecx, dword [esi]
mov edi, dword [esi + 0x54]
movzx ecx, byte [edi + ecx]
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
xor ecx, eax
add ecx, eax
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x1d
mov ecx, dword [esi]
mov edx, dword [esi + 0x54]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x54]
inc dword [esi]
mov eax, dword [esi]
cmp eax, 7
jb 0x4127f0
push 5
push ecx
mov edi, dword [esi + 4]
push edi
call fcn.004046f0
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x448838]
mov edx, dword [esi + 0xf8]
mov word [edx], 0xc15a
mov dword [edx + 2], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 5
ja 0x4128be
nop
nop
mov eax, dword [esi]
mov ecx, eax
xor ecx, 0xd5e85950
add eax, eax
and eax, 0xabd0b2a0
mov edx, eax
and edx, ecx
xor eax, ecx
lea eax, [eax + edx*2]
mov edx, dword [esi + 0xf8]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x70
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 6
jb 0x412880
push 2
push edx
push edi
call fcn.004046f0
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x448840]
mov edx, dword [esi + 0xe4]
mov dword [edx], 0x19bc
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x412936
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0xadef0eba
and eax, 0x2def0eba
lea eax, [edx + eax*2]
mov edx, dword [esi + 0xe4]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x5e
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x412900
push 3
push edx
push edi
call fcn.004046f0
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x448848]
mov edx, dword [esi + 0x94]
mov word [edx], 0x5e52
mov byte [edx + 2], 0xce
mov word [edx + 3], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 4
ja 0x4129c7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0x45071832
and eax, 0xc5071832
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
xor ecx, eax
add ecx, eax
not eax
and eax, edx
mov edx, dword [esi + 0x94]
add eax, eax
sub eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 6
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 5
jb 0x412980
push 3
push edx
push edi
call fcn.004046f0
add esp, 0xc
xor ecx, ecx
test eax, eax
sete cl
jmp dword [ecx*4 + 0x448850]
mov edx, dword [esi + 0x90]
mov word [edx], 0x4bd5
mov eax, dword [esi + 0xbc]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 6
ja 0x412a46
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0xe4dd2073
and eax, 0xe4dd2073
lea eax, [edx + eax*2]
mov edx, dword [esi + 0x90]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0xc1
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 7
jb 0x412a10
push edx
push edi
call fcn.00404470
add esp, 8
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x50]
mov word [ecx], 0x41d0
mov eax, dword [esi + 0xb8]
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 6
ja 0x412acd
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
xor edx, 0x48baa06f
or eax, 0x37455f90
and eax, edx
mov edx, dword [esi]
mov edi, dword [esi + 0x50]
movzx edx, byte [edi + edx]
xor ecx, 0xb7455f90
lea eax, [ecx + eax*2]
lea ecx, [eax + edx]
not edx
or eax, edx
sub edx, eax
lea eax, [ecx + edx*2]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x30
mov ecx, dword [esi]
mov edx, dword [esi + 0x50]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x50]
inc dword [esi]
mov eax, dword [esi]
cmp eax, 7
jb 0x412a80
push ecx
mov edi, dword [esi + 4]
push edi
call fcn.00404470
add esp, 8
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x8c]
mov word [edx], 0x219d
mov eax, dword [esi + 0xb4]
mov word [eax], 0
mov byte [eax + 2], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 4
ja 0x412b46
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0x1b1066c8
and eax, 0x1b1066c8
lea eax, [edx + eax*2]
mov edx, dword [esi + 0x8c]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x18
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 5
jb 0x412b10
push edx
push edi
call fcn.00404540
add esp, 8
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x88]
mov dword [edx], 0x910a
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x412ba6
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0xf81467a4
and eax, 0xf81467a4
lea eax, [edx + eax*2]
mov edx, dword [esi + 0x88]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0xcc
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x412b70
push edx
push edi
call fcn.00404470
add esp, 8
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x4c]
mov word [ecx], 0x9904
mov eax, dword [esi + 0xb0]
mov dword [eax], 0
mov word [eax + 4], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 7
ja 0x412c3c
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, eax
xor ecx, 0x37f02ba6
add eax, eax
and eax, 0x6fe0574c
mov edx, eax
and edx, ecx
xor eax, ecx
mov ecx, dword [esi]
mov edi, dword [esi + 0x4c]
movzx edi, byte [edi + ecx]
lea eax, [eax + edx*2]
lea ecx, [eax + edi]
and eax, edi
mov edx, ecx
not edx
and edx, eax
add edx, eax
not eax
and eax, ecx
sub eax, edx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov ecx, eax
xor ecx, 0x3e
and eax, 0x41
add eax, eax
sub eax, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 0x4c]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x4c]
inc dword [esi]
mov eax, dword [esi]
cmp eax, 8
jb 0x412be0
push ecx
mov edi, dword [esi + 4]
push edi
call fcn.004044d0
add esp, 8
fnstcw word [esi + 0x46]
movzx eax, word [esi + 0x46]
or eax, 0xc00
mov word [esi + 0x82], ax
fldcw word [esi + 0x82]
fistp dword [esi + 0x158]
fldcw word [esi + 0x46]
mov eax, dword [esi + 0x158]
mov dword [esi + 0x58], eax
mov edx, dword [esi + 0x84]
mov word [edx], 0x23e
mov byte [edx + 2], 0x92
mov dword [edx + 3], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 6
ja 0x412cd6
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0x31629624
and eax, 0x31629624
lea eax, [edx + eax*2]
mov edx, dword [esi + 0x84]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x4c
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 7
jb 0x412ca0
push edx
push edi
call fcn.004044d0
add esp, 8
xor eax, eax
mov ebx, 0xfffffffe
mov edx, dword [esi + 0x1c]
nop
nop
nop
nop
nop
nop
add ebx, 2
cmp byte [edx + eax], 0
lea eax, [eax + 1]
jne 0x412cf0
fnstcw word [esi + 0x3e]
movzx ecx, word [esi + 0x3e]
or ecx, 0xc00
mov word [esi + 0x7a], cx
fldcw word [esi + 0x7a]
fistp dword [esi + 0x154]
fldcw word [esi + 0x3e]
mov ecx, dword [esi + 0x154]
mov dword [esi + 0x60], ecx
lea edi, [edx + eax]
dec edi
mov dword [esi + 0x14], edi
lea ecx, [ebx + 2]
test eax, eax
jns 0x412d35
mov ecx, 0xffffffff
push ecx
call fcn.0040c770
add esp, 4
mov dword [esi + 8], 0
add ebx, eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
cmp eax, ebx
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x1c]
jae 0x414614
mov eax, dword [esi + 0x10]
mov dword [esi + 4], eax
cmp edx, edi
jae 0x414614
mov eax, dword [esi + 0x10]
mov dword [esi + 4], eax
cmp byte [edx], 0
je 0x414614
lea eax, [esi + 8]
push eax
push edi
push edx
mov edi, edx
call fcn.00410f60
add esp, 0xc
movzx ecx, word [esi + 8]
mov edx, dword [esi + 4]
mov word [edx], cx
add edx, 2
mov dword [esi + 4], edx
cmp edx, ebx
jae 0x414611
add edi, eax
mov eax, dword [esi + 0x14]
cmp edi, eax
mov ecx, dword [esi + 0x38]
mov edx, edi
mov edi, eax
jb 0x412d6f
jmp 0x414614
xor ecx, ecx
test eax, eax
setle cl
jmp dword [ecx*4 + 0x4487a0]
mov dword [ebx], 0x1bac
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x412e38
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi]
mov eax, dword [esi]
movzx eax, byte [ebx + eax]
mov edx, ecx
xor edx, 0xc22696fb
and ecx, 0xc22696fb
lea ecx, [edx + ecx*2]
lea edx, [ecx + eax]
not eax
or ecx, eax
sub eax, ecx
lea eax, [edx + eax*2]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov ecx, eax
xor ecx, 0xe7
and eax, 0x18
add eax, eax
sub eax, ecx
mov ecx, dword [esi]
mov byte [ebx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x412df0
push ebx
push edi
call fcn.00404470
add esp, 8
mov dword [esi + 0x10], eax
mov edx, dword [esi + 0x120]
mov word [edx], 0x8906
mov eax, dword [esi + 0x100]
mov dword [eax], 0
mov word [eax + 4], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 7
ja 0x412ec0
nop
mov eax, dword [esi]
mov ecx, eax
or ecx, 0x5154f31d
mov edx, eax
not edx
or edx, 0xaeab0ce2
and edx, ecx
not edx
and eax, 0x2eab0ce2
lea eax, [edx + eax*2]
mov edx, dword [esi + 0x120]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov ecx, eax
not ecx
and ecx, 0x6a
and eax, 0x95
sub eax, ecx
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 8
jb 0x412e70
push edx
push edi
call fcn.00404470
add esp, 8
mov edi, dword [esi + 0x10]
test edi, edi
sete dl
mov dword [esi + 0x18], eax
test eax, eax
sete cl
or cl, dl
movzx eax, cl
jmp dword [eax*4 + 0x448918]
mov eax, edi
jmp dword [0x448924]
mov ecx, dword [esi + 0x10]
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
inc eax
cmp byte [ebx], 0
jne 0x412f00
mov dword [esi + 4], 0
cmp ebx, ecx
jbe 0x412f57
cmp byte [ecx], 0
je 0x412f57
mov dword [esi + 4], 0
mov edi, dword [esi + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esi + 8], 0
lea eax, [esi + 8]
push eax
push ebx
push edi
call fcn.00410f60
add esp, 0xc
inc dword [esi + 4]
lea ecx, [edi + eax]
cmp ecx, ebx
jae 0x412f57
cmp byte [edi + eax], 0
mov edi, ecx
jne 0x412f30
mov edi, dword [esi + 4]
mov eax, edi
inc eax
lea eax, [edi + edi + 2]
jns 0x412f68
mov eax, 0xffffffff
push eax
call fcn.0040c770
add esp, 4
mov ecx, eax
mov dword [esi + 8], 0
lea eax, [eax + edi*2]
mov dword [esi + 0x14], eax
cmp ecx, eax
mov edi, dword [esi + 0x10]
jae 0x412fc5
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp edi, ebx
jae 0x412fc5
cmp byte [edi], 0
je 0x412fc5
lea eax, [esi + 8]
push eax
push ebx
push edi
mov dword [esi + 4], ecx
call fcn.00410f60
add esp, 0xc
movzx ecx, word [esi + 8]
mov edx, dword [esi + 4]
mov word [edx], cx
mov ecx, dword [esi + 4]
add ecx, 2
cmp ecx, dword [esi + 0x14]
jae 0x412fc5
add edi, eax
cmp edi, ebx
jb 0x412f94
mov word [ecx], 0
mov ecx, dword [esi + 0x18]
lea edi, [ecx - 1]
cmp byte [edi + 1], 0
lea edi, [edi + 1]
jne 0x412fd0
mov eax, dword [esi + 0x10]
cmp ecx, edi
jae case.0x412edf.3
mov eax, dword [esi + 0x18]
cmp byte [eax], 0
mov eax, dword [esi + 0x10]
je case.0x412edf.3
mov ebx, dword [esi + 0x18]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esi + 8], 0
lea eax, [esi + 8]
push eax
push edi
push ebx
call fcn.00410f60
add esp, 0xc
lea ecx, [ebx + eax]
cmp ecx, edi
jae 0x4133df
cmp byte [ebx + eax], 0
mov ebx, ecx
jne 0x413000
mov eax, dword [esi + 0x10]
jmp case.0x412edf.3
mov edx, dword [esi + 0x11c]
mov dword [edx], 0x7bec
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x413086
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0x818d2d6b
and eax, 0x18d2d6b
lea eax, [edx + eax*2]
mov edx, dword [esi + 0x11c]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0xe9
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x413050
push edx
push edi
call fcn.00404470
add esp, 8
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x118]
mov dword [edx], 0x8b0a
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x4130e6
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edx + ecx]
mov edx, eax
xor edx, 0x8ae6b1e3
and eax, 0xae6b1e3
lea eax, [edx + eax*2]
mov edx, dword [esi + 0x118]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x91
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x4130b0
push edx
push edi
call fcn.00404470
add esp, 8
mov edi, dword [esi + 0x18]
test edi, edi
sete dl
test eax, eax
sete cl
or cl, dl
movzx ecx, cl
jmp dword [ecx*4 + 0x4489b0]
mov ecx, edi
mov edx, edi
nop
nop
nop
mov ebx, ecx
inc ecx
cmp byte [ebx], 0
jne 0x413110
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0
cmp ebx, edx
jbe 0x413167
cmp byte [edx], 0
je 0x413167
mov dword [esi + 4], 0
mov edi, dword [esi + 0x18]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esi + 8], 0
lea eax, [esi + 8]
push eax
push ebx
push edi
call fcn.00410f60
add esp, 0xc
inc dword [esi + 4]
lea ecx, [edi + eax]
cmp ecx, ebx
jae 0x413167
cmp byte [edi + eax], 0
mov edi, ecx
jne 0x413140
mov edi, dword [esi + 4]
mov eax, edi
inc eax
lea eax, [edi + edi + 2]
jns 0x413178
mov eax, 0xffffffff
push eax
call fcn.0040c770
add esp, 4
mov dword [esi + 8], 0
lea ecx, [eax + edi*2]
mov edx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x10], ecx
cmp eax, ecx
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
jae 0x413bb6
mov edx, dword [esi + 0x28]
cmp edi, ebx
jae 0x413bb6
mov edx, dword [esi + 0x28]
nop
cmp byte [edi], 0
je 0x413bb6
lea eax, [esi + 8]
push eax
push ebx
push edi
mov dword [esi + 4], edx
call fcn.00410f60
mov edx, dword [esi + 4]
add esp, 0xc
movzx ecx, word [esi + 8]
mov word [edx], cx
add edx, 2
cmp edx, dword [esi + 0x10]
jae 0x413bb3
add edi, eax
cmp edi, ebx
mov eax, dword [esi + 0x14]
jb 0x4131b0
jmp 0x413bb6
mov eax, dword [esi + 0x10]
jmp case.0x412edf.3
mov eax, dword [esi + 0x10]
jmp dword [0x448928]
mov edx, eax
inc eax
cmp byte [edx], 0
jne case.0x412edf.3
xor ebx, ebx
mov eax, dword [esi + 0x10]
cmp edx, eax
mov dword [esi + 4], edx
jbe 0x413448
cmp byte [eax], 0
je 0x413448
xor ebx, ebx
mov edi, dword [esi + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esi + 8], 0
lea eax, [esi + 8]
push eax
push edx
push edi
call fcn.00410f60
mov edx, dword [esi + 4]
add esp, 0xc
inc ebx
lea ecx, [edi + eax]
cmp ecx, edx
jae 0x413448
cmp byte [edi + eax], 0
mov edi, ecx
jne 0x413420
mov eax, ebx
inc eax
jns 0x413454
mov eax, 0xffffffff
jmp 0x41345b
lea eax, [ebx*2 + 2]
push eax
call fcn.0040c770
add esp, 4
mov dword [esi + 8], 0
lea ecx, [eax + ebx*2]
mov edx, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], ecx
cmp eax, ecx
mov ebx, dword [esi + 4]
jae 0x4134c0
mov edx, dword [esi + 0x1c]
cmp dword [esi + 0x10], ebx
jae 0x4134c0
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x10]
nop
nop
nop
nop
nop
cmp byte [edi], 0
je 0x4134c0
lea eax, [esi + 8]
push eax
push ebx
push edi
mov dword [esi + 4], edx
call fcn.00410f60
mov edx, dword [esi + 4]
add esp, 0xc
movzx ecx, word [esi + 8]
mov word [edx], cx
add edx, 2
cmp edx, dword [esi + 0x14]
jae 0x4134c0
add edi, eax
cmp edi, ebx
jb 0x413490
nop
nop
mov eax, dword [esi + 0x18]
mov ecx, edx
lea edx, [eax - 1]
mov word [ecx], 0
nop
nop
nop
mov edi, edx
cmp byte [edx + 1], 0
lea edx, [edx + 1]
jne 0x4134d0
xor edi, edi
mov eax, dword [esi + 0x18]
cmp eax, edx
jae 0x4133f0
cmp byte [eax], 0
je 0x4133f0
xor edi, edi
mov ebx, dword [esi + 0x18]
mov dword [esi + 4], edx
nop
nop
nop
nop
nop
nop
nop
mov dword [esi + 8], 0
lea eax, [esi + 8]
push eax
push edx
push ebx
call fcn.00410f60
mov edx, dword [esi + 4]
add esp, 0xc
inc edi
lea ecx, [ebx + eax]
cmp ecx, edx
jae 0x4133f0
cmp byte [ebx + eax], 0
mov ebx, ecx
jne 0x413500
jmp 0x4133f0
mov dword [esi + 4], edx
mov eax, edi
inc eax
lea eax, [edi + edi + 2]
jns 0x413542
mov eax, 0xffffffff
push eax
call fcn.0040c770
add esp, 4
mov dword [esi + 8], 0
lea ecx, [eax + edi*2]
mov edx, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x10], ecx
cmp eax, ecx
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 4]
jae 0x4135b2
mov edx, dword [esi + 0x24]
cmp ebx, ecx
jae 0x4135b2
mov edx, dword [esi + 0x24]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebx], 0
je 0x4135b2
lea eax, [esi + 8]
push eax
push ecx
push ebx
mov edi, ecx
mov dword [esi + 0x14], edx
call fcn.00410f60
mov edx, dword [esi + 0x14]
add esp, 0xc
movzx ecx, word [esi + 8]
mov word [edx], cx
add edx, 2
cmp edx, dword [esi + 0x10]
jae 0x4135b2
add ebx, eax
cmp ebx, edi
mov ecx, edi
jb 0x413580
mov word [edx], 0
mov edi, dword [esi + 0x13c]
mov word [edi], 0x53bf
mov byte [edi + 2], 0xda
mov dword [edi + 3], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 6
ja 0x413610
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [edi + ecx]
mov edx, eax
xor edx, 0xb7dc49cf
and eax, 0x37dc49cf
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0xf5
mov ecx, dword [esi]
mov byte [edi + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 7
jb 0x4135e0
push edi
push dword [ebp + 8]
call fcn.00404540
add esp, 8
xor edx, edx
test eax, eax
setne dl
mov dword [esi + 0x18], 0
xor edi, edi
jmp dword [edx*4 + 0x448930]
mov dword [esi + 0x28], eax
push eax
call fcn.00404750
add esp, 4
mov ecx, eax
mov dword [esi + 0x18], eax
mov ecx, 0xc
mul ecx
seto dl
mov ecx, 0xffffffff
mov edi, 0xffffffff
add eax, 4
jb 0x41365f
mov edi, eax
test dl, dl
jne 0x413665
mov ecx, edi
push ecx
call fcn.0040c770
add esp, 4
mov edi, eax
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
add edi, 4
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0x30], edi
jmp dword [eax*4 + 0x448938]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov edx, dword [0x44894c]
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edi
jmp edx
xor ebx, ebx
xor eax, eax
cmp ebx, dword [esi + 0x18]
setb al
jmp dword [eax*4 + 0x448958]
mov ebx, edi
mov edi, dword [esi + 0xf4]
mov ecx, edi
push 2
call fcn.0040d230
push dword [esi + 0x18]
push ebx
push dword [esi + 0x24]
push dword [esi + 0x1c]
push edi
call fcn.0041a130
add esp, 0x14
mov ecx, edi
call fcn.0040db60
movzx eax, al
jmp dword [eax*4 + 0x448970]
mov eax, dword [esi + 0x14]
mov word [edx], 0
xor edi, edi
mov ebx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ebx, 2
cmp byte [eax + edi], 0
lea edi, [edi + 1]
jne 0x413bd0
lea eax, [ebx + 2]
test edi, edi
jns 0x413be8
mov eax, 0xffffffff
push eax
call fcn.0040c770
add esp, 4
mov dword [esi + 8], 0
add ebx, eax
mov edx, eax
mov dword [esi + 0x24], eax
cmp eax, ebx
mov ecx, dword [esi + 0x14]
jae 0x413c56
lea eax, [ecx + edi]
dec eax
mov edx, dword [esi + 0x24]
cmp ecx, eax
jae 0x413c56
mov edx, dword [esi + 0x24]
mov dword [esi + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ecx], 0
je 0x413c56
mov edi, eax
lea eax, [esi + 8]
push eax
push edi
push ecx
mov edi, ecx
mov dword [esi + 4], edx
call fcn.00410f60
mov edx, dword [esi + 4]
add esp, 0xc
movzx ecx, word [esi + 8]
mov word [edx], cx
add edx, 2
cmp edx, ebx
jae 0x413c56
add edi, eax
mov eax, dword [esi + 0x10]
cmp edi, eax
mov ecx, edi
jb 0x413c20
mov word [edx], 0
mov edi, dword [esi + 0x138]
mov dword [edi], 0x5ad3f7
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 3
ja 0x413cbc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx edx, byte [edi + ecx]
lea ecx, [eax + edx]
add ecx, 0xbaa727ef
add eax, 0xbaa727ef
and eax, edx
mov edx, ecx
not edx
and edx, eax
add edx, eax
not eax
and eax, ecx
sub eax, edx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add al, 0x55
mov ecx, dword [esi]
mov byte [edi + ecx], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 4
jb 0x413c80
push edi
push dword [ebp + 8]
call fcn.00404540
add esp, 8
xor ecx, ecx
mov dword [esi + 0x30], eax
test eax, eax
setne cl
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov ebx, dword [esi + 0x10c]
jmp dword [ecx*4 + 0x4489b8]
mov edi, dword [esi + 0xf0]
mov ecx, edi
push 3
call fcn.0040d230
push dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
push ebx
push dword [esi + 0x24]
push dword [esi + 0x28]
push edi
call fcn.0041e860
add esp, 0x14
mov ecx, edi
call fcn.0040db60
xor eax, eax
test ebx, ebx
sete al
jmp dword [eax*4 + 0x4489d8]
push dword [esi + 0x30]
call fcn.00404750
add esp, 4
mov ecx, eax
mov dword [esi + 0x1c], eax
mov ecx, 0xc
mul ecx
seto dl
mov ecx, 0xffffffff
mov edi, 0xffffffff
add eax, 4
jb 0x413dd1
mov edi, eax
test dl, dl
jne 0x413dd7
mov ecx, edi
push ecx
call fcn.0040c770
add esp, 4
mov ecx, dword [esi + 0x1c]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 0x18], eax
xor eax, eax
test ecx, ecx
sete al
jmp dword [eax*4 + 0x4489c0]
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*2]
mov ecx, dword [esi + 0x18]
lea eax, [ecx + eax*4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
add ecx, 0xc
xor edx, edx
cmp ecx, eax
sete dl
jmp dword [edx*4 + 0x4489c8]
xor ecx, ecx
xor eax, eax
cmp ecx, dword [esi + 0x1c]
setb al
jmp dword [eax*4 + 0x4489d0]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 4]
mov word [eax], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov edi, dword [esi + 0x10]
push edi
call fcn.0043bf90
jmp dword [0x448858]
push edi
call fcn.0040c780
add esp, 4
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x2c]
jmp dword [0x448864]
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x2c]
jmp dword [0x448864]
mov ecx, edi
push 0x400
call fcn.0043c200
mov ecx, edi
push 0x400
call fcn.0043c200
jmp dword [0x448868]
mov ecx, dword [0x448a0c]
nop
nop
nop
nop
jmp ecx