Function at 0x409bd6
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x433905
call fcn.0041f03c
sub esp, 0x994
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp + 0x70], esi
xor edi, edi
lea eax, [ebp + 0x34]
push eax
push esi
push dword [esi + 0x816]
mov ecx, 0x46451f
call fcn.00411815
cmp eax, 0xffffffff
jne 0x409c2b
cmp dword [ebp + 0x34], 0x2746
jne 0x409c1b
xor eax, eax
jmp 0x409c2b
cmp dword [ebp + 0x34], edi
je 0x409c2b
mov cl, byte [esi + 4]
test cl, cl
je 0x409ced
mov cl, byte [esi + 4]
test cl, cl
jne 0x409cfa
cmp eax, edi
jg 0x409bf4
lea ecx, [esi + 0x7e9]
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x58], edi
call fcn.00404013
mov ebx, eax
cmp ebx, edi
je 0x409d4a
cmp dword [ebx + 0x25], 0
jne 0x409d01
mov eax, dword [ebp + 0x4c]
or eax, dword [ebp + 0x50]
jne 0x409c75
call fcn.00402184
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], edx
push dword [ebp + 0x50]
movzx eax, byte [ebx + 0x13]
push dword [ebp + 0x4c]
lea esi, [ebx + 0xd]
push 1
push eax
movzx eax, byte [ebx + 0xc]
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
push eax
push dword [ebx + 8]
movsd dword es:[edi], dword [esi]
push dword [ebx + 4]
movsw word es:[edi], word [esi]
push dword [ebx]
push dword [ebx + 0x21]
call fcn.00406471
test al, al
jne 0x409cb1
push dword [ebx + 0x21]
call fcn.0041f05b
pop ecx
cmp dword [ebx + 0x14], 0
je 0x409d1c
push 0x43d204
lea ecx, [ebx + 0xd]
call fcn.00402530
test al, al
je 0x409d1c
push 1
push 1
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.0040635c
test eax, eax
je 0x409d1c
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x7ee], ecx
jmp 0x409d1c
mov eax, dword [esi]
push edi
push edi
mov ecx, esi
mov byte [esi + 4], 1
call dword [eax + 0x24]
xor al, al
jmp 0x40ab29
movzx eax, byte [ebx + 0xc]
push eax
push 1
push 0
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408233
mov ecx, dword [ebp + 0x70]
mov eax, dword [ecx + 0x7f1]
add ecx, 0x7e9
inc dword [ecx + 0x10]
mov byte [eax + 0x29], 0
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x2a]
mov dword [ecx + 8], eax
call fcn.00404013
mov ebx, eax
test ebx, ebx
jne 0x409c58
mov esi, dword [ebp + 0x70]
lea edi, [esi + 0x3b9]
mov ecx, edi
mov dword [ebp + 0x48], edi
call fcn.00403e8e
mov ebx, eax
mov dword [ebp + 0x44], ebx
test ebx, ebx
je 0x409e5e
mov eax, dword [ebp + 0x4c]
or eax, dword [ebp + 0x50]
jne 0x409d8e
call fcn.00402184
push 0
push 0x3e8
push edx
push eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], edx
call fcn.0041f360
mov dword [ebp + 0x58], eax
mov eax, dword [ebx + 6]
cmp eax, dword [ebp + 0x58]
jae 0x409e44
cmp byte [ebx + 0xa], 6
push 0x43d204
mov ecx, ebx
sete byte [ebp + 0x6c]
call fcn.00402512
dec al
neg al
sbb al, al
inc al
cmp byte [ebp + 0x6c], 0
mov byte [ebp + 0x5f], al
jne 0x40a01e
test al, al
jne 0x40a01e
mov eax, dword [ebp + 0x58]
inc byte [ebx + 0xa]
and dword [ebp + 0x40], 0
add eax, 0x3e8
mov dword [ebx + 6], eax
cmp dword [esi + 0x3b1], 0
mov byte [ebp + 0x54], 0x18
jbe 0x409e1e
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x3ad]
mov ecx, dword [ebp + 0x40]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
push ecx
push ecx
mov edi, esp
mov esi, ebx
movsd dword es:[edi], dword [esi]
push 0x18
lea edx, [ebp + 0x54]
push edx
movsw word es:[edi], word [esi]
call dword [eax + 0x1c]
inc dword [ebp + 0x40]
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x40]
cmp ecx, dword [eax + 0x3b1]
jb 0x409dea
movzx eax, word [ebx + 4]
push eax
push dword [ebx]
lea eax, [ebp + 0x54]
push 3
push eax
mov eax, dword [ebp + 0x70]
push dword [eax + 0x816]
mov ecx, 0x46451f
call fcn.004118ad
mov esi, dword [ebp + 0x70]
mov edi, dword [ebp + 0x48]
mov ecx, edi
call fcn.00403e8e
mov ebx, eax
test ebx, ebx
jne 0x409d6a
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x409e5e
mov dword [edi], eax
and dword [ebp + 0x54], 0
xor eax, eax
cmp ax, word [esi + 7]
jae 0x40ab27
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x70]
imul eax, eax, 0x7f2
mov ecx, dword [ecx + 0x334]
lea ebx, [eax + ecx]
cmp byte [ebx], 0
je 0x40ab14
mov eax, dword [ebx + 1]
mov dword [ebp + 0x60], eax
mov ax, word [ebx + 5]
mov word [ebp + 0x64], ax
mov eax, dword [ebp + 0x4c]
or eax, dword [ebp + 0x50]
jne 0x409ebe
call fcn.00402184
push 0
push 0x3e8
push edx
push eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], edx
call fcn.0041f360
mov dword [ebp + 0x58], eax
mov eax, dword [ebx + 0x6b8]
cmp dword [ebp + 0x58], eax
jbe 0x409f29
mov ecx, dword [ebp + 0x58]
sub ecx, eax
cmp ecx, 0x1388
jbe 0x409f29
cmp dword [ebx + 0x7ee], 8
jne 0x409f29
lea ecx, [ebx + 0xd]
call fcn.0040d4ee
cmp dword [eax + 0x60], 0
jne 0x409f29
push dword [ebp + 0x50]
xor eax, eax
push dword [ebp + 0x4c]
lea esi, [ebx + 1]
push eax
push eax
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
push eax
push 8
push 3
movsd dword es:[edi], dword [esi]
push 8
lea eax, [ebp + 0x5f]
push eax
mov byte [ebp + 0x5f], 0x17
movsw word es:[edi], word [esi]
call fcn.00406471
lea ecx, [ebx + 0xd]
call fcn.0040b133
add eax, dword [ebp + 0x58]
mov dword [ebx + 0x6b8], eax
mov eax, dword [ebp + 0x70]
lea edx, [eax + 0x3ad]
push edx
push dword [ebp + 0x50]
lea ecx, [ebx + 0xd]
push dword [ebp + 0x4c]
lea esi, [ebp + 0x60]
push dword [eax + 0x80d]
push ecx
push ecx
mov edi, esp
push dword [eax + 0x816]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.0040eac3
lea ecx, [ebx + 0xd]
call fcn.0040b2b7
test al, al
jne 0x40aa98
mov eax, dword [ebx + 0x7ee]
cmp eax, 1
je 0x409f77
cmp eax, 2
jne 0x409f87
lea ecx, [ebx + 0xd]
call fcn.0040ccec
test al, al
je 0x40aa98
cmp dword [ebx + 0x7ee], 3
jne 0x409fa0
lea ecx, [ebx + 0xd]
call fcn.0040cd40
test al, al
je 0x40aa98
mov eax, dword [ebx + 0x7ee]
cmp eax, 4
je 0x409fba
cmp eax, 5
je 0x409fba
cmp eax, 6
je 0x409fba
cmp eax, 7
jne 0x409fd6
mov eax, dword [ebx + 0x7cd]
cmp dword [ebp + 0x58], eax
jbe 0x409fd6
mov ecx, dword [ebp + 0x58]
sub ecx, eax
cmp ecx, 0x2710
ja 0x40aa98
lea ecx, [ebx + 0xd]
call fcn.0040b2b0
test al, al
je 0x40a0ab
push 1
call fcn.00403440
mov dword [eax + 0xc], 8
pop ecx
mov ecx, dword [eax + 0x10]
mov byte [ecx], 0x26
mov ecx, dword [ebp + 0x60]
mov dword [eax + 2], ecx
mov cx, word [ebp + 0x64]
mov word [eax + 6], cx
mov cx, word [ebp + 0x54]
mov word [eax], cx
mov ecx, dword [ebp + 0x70]
push eax
call fcn.004051a5
jmp 0x40ab14
mov ecx, dword [ebx + 0xb]
test ecx, ecx
je 0x40a033
push ecx
call fcn.0041f76c
and dword [ebx + 0xb], 0
mov al, byte [ebp + 0x5f]
pop ecx
cmp byte [ebp + 0x6c], 0
je 0x40a078
test al, al
jne 0x40a078
cmp dword [ebx + 0x112], 1
jne 0x40a078
push 1
call fcn.00403440
pop ecx
mov ecx, dword [eax + 0x10]
mov byte [ecx], 0x1d
mov dword [eax + 0xc], 8
mov ecx, dword [ebx]
mov dword [eax + 2], ecx
mov cx, word [ebx + 4]
mov word [eax + 6], cx
mov ecx, 0xffff
mov word [eax], cx
push eax
mov ecx, esi
call fcn.004051a5
mov ecx, edi
cmp ebx, dword [ebp + 0x44]
jne 0x40a095
call fcn.00403ead
mov ecx, edi
call fcn.00403e8e
mov ebx, eax
mov dword [ebp + 0x44], ebx
jmp 0x409e4d
mov eax, dword [0x43d204]
mov dword [ebx], eax
mov ax, word [0x43d208]
mov word [ebx + 4], ax
jmp 0x409e46
cmp dword [ebx + 0x7ee], 8
jne 0x40a0f7
mov ecx, dword [ebp + 0x58]
lea eax, [ebx + 0x6b4]
cmp ecx, dword [eax]
jbe 0x40a0f7
mov ecx, dword [ebp + 0x70]
cmp byte [ecx + 6], 0
jne 0x40a0d8
mov ecx, 0xffff
cmp word [ebx + 0x6b2], cx
jne 0x40a0f7
mov ecx, dword [ebp + 0x58]
add ecx, 0x1388
push 1
push ecx
push ecx
mov dword [eax], ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408155
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebx + 0xd]
call fcn.0040bbdb
mov edi, eax
mov dword [ebp + 0x40], edi
jmp 0x40aa8e
mov esi, dword [ebp + 0x70]
cmp dword [esi + 0x7d1], 0
je 0x40a21f
push 0x240
lea ecx, [ebp - 0x214]
call fcn.00401066
and dword [ebp - 4], 0
lea ecx, [ebp - 0x214]
call fcn.00401129
lea eax, [edi + 7]
sar eax, 3
push eax
push dword [ebp + 0x68]
lea ecx, [ebp - 0x214]
mov dword [ebp + 0x48], eax
call fcn.0040165e
mov ecx, dword [ebp - 0x214]
lea eax, [ecx + 7]
sar eax, 3
add dword [esi + 0x7dd], eax
mov esi, ecx
test ecx, ecx
jbe 0x40a20c
push eax
call fcn.0041f777
mov ecx, dword [ebp - 0x214]
add ecx, 7
sar ecx, 3
push ecx
push dword [ebp - 0x208]
mov dword [ebp + 0x44], eax
push eax
call fcn.0041e0c0
add esp, 0x10
lea ecx, [ebp - 0x214]
call fcn.00401129
lea eax, [ebp - 0x214]
push eax
push esi
mov esi, dword [ebp + 0x70]
push dword [ebp + 0x44]
mov ecx, dword [esi + 0x7d1]
call fcn.00401a35
mov eax, dword [ebp - 0x214]
push dword [ebp + 0x44]
add eax, 7
sar eax, 3
add dword [esi + 0x7e5], eax
call fcn.0041f76c
mov esi, dword [ebp - 0x214]
add esi, 7
sar esi, 3
cmp esi, dword [ebp + 0x48]
pop ecx
jle 0x40a1f8
push dword [ebp + 0x68]
call fcn.0041f76c
push esi
call fcn.0041f777
pop ecx
pop ecx
mov dword [ebp + 0x68], eax
push esi
push dword [ebp - 0x208]
push dword [ebp + 0x68]
call fcn.0041e0c0
add esp, 0xc
jmp 0x40a20e
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.00401110
jmp 0x40a225
lea esi, [edi + 7]
sar esi, 3
mov edx, dword [ebx + 0x7ee]
mov eax, dword [ebp + 0x68]
cmp edx, 6
jne 0x40a2a1
cmp byte [eax], 0xb
jne 0x40a252
push esi
push eax
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
call fcn.004095e9
jmp 0x40aa39
push 0
push 1
push 0
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408233
mov esi, dword [ebp + 0x70]
mov eax, dword [esi]
add eax, 0x64
lea ecx, [ebx + 0xd]
mov dword [ebp + 0x48], eax
call fcn.0040b133
push eax
mov eax, dword [esi]
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [eax + 0xb8]
mov ecx, dword [ebp + 0x70]
push eax
mov eax, dword [ebp + 0x48]
call dword [eax]
jmp 0x40aa39
mov cl, byte [eax]
cmp cl, 0xb
jne 0x40a2ce
cmp edx, 8
je 0x40a82a
push esi
push eax
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
call fcn.004095e9
mov eax, dword [ebp + 0x68]
jmp 0x40a82a
cmp cl, 0x1e
jne 0x40a3c6
cmp esi, 7
jne 0x40a3c6
cmp edx, 5
je 0x40a302
cmp edx, esi
je 0x40a302
mov eax, dword [ebp + 0x70]
add eax, 0x22d
push eax
lea ecx, [ebp + 0x60]
call fcn.00402512
test al, al
je 0x40aa39
push 1
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov dword [ebx + 0x7ee], 8
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408155
push 1
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408051
push 0
push 7
push dword [ebp + 0x68]
lea ecx, [ebp - 0x664]
call fcn.004010a9
xor esi, esi
inc esi
push 8
lea ecx, [ebp - 0x664]
mov dword [ebp - 4], esi
call fcn.00401399
push esi
push 0x20
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x664]
call fcn.0040118f
push esi
push 0x10
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x664]
call fcn.0040118f
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 7], eax
mov ax, word [ebp + 0x30]
mov word [ebx + 0xb], ax
push dword [ebp + 0x68]
push 7
call fcn.0040345e
pop ecx
pop ecx
mov ecx, dword [ebp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x60]
mov dword [eax + 2], ecx
mov cx, word [ebp + 0x64]
mov word [eax + 6], cx
mov cx, word [ebp + 0x54]
mov word [eax], cx
mov ecx, dword [ebp + 0x70]
push eax
call fcn.004051a5
lea ecx, [ebp - 0x664]
jmp 0x40a648
cmp cl, 9
jne 0x40a4e3
cmp esi, 9
jne 0x40a4e3
xor edi, edi
push edi
push esi
push eax
lea ecx, [ebp - 0x778]
call fcn.004010a9
push 8
lea ecx, [ebp - 0x778]
mov dword [ebp - 4], 2
call fcn.00401399
push 1
push 0x20
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x778]
call fcn.0040118f
push 1
push 0x20
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x778]
call fcn.0040118f
call fcn.00402184
push edi
push 0x3e8
push edx
push eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], edx
call fcn.0041f360
mov dword [ebp + 0x58], eax
cmp eax, dword [ebp + 0x38]
jbe 0x40a449
mov ecx, eax
sub ecx, dword [ebp + 0x38]
jmp 0x40a44b
xor ecx, ecx
mov edx, dword [ebx + 0x6ae]
add edx, 0x118
imul edx, edx, 6
add edx, ebx
movzx esi, word [edx]
cmp esi, edi
jbe 0x40a472
imul esi, esi, 3
cmp ecx, esi
jae 0x40a4cf
cmp ecx, 0x4b0
jae 0x40a4cf
mov word [edx], cx
mov edx, dword [ebp + 0x38]
add edx, eax
mov eax, dword [ebp + 0x18]
shr edx, 1
sub eax, edx
mov edx, dword [ebx + 0x6ae]
imul edx, edx, 6
mov dword [edx + ebx + 0x692], eax
lea eax, [ebx + 0x6b2]
movzx edx, word [eax]
mov esi, 0xffff
cmp dx, si
je 0x40a4ab
movzx edx, dx
cmp edx, ecx
jle 0x40a4ae
mov word [eax], cx
movzx eax, cx
push eax
lea ecx, [ebx + 0xd]
call fcn.0040c186
inc dword [ebx + 0x6ae]
cmp dword [ebx + 0x6ae], 5
jne 0x40a4cf
mov dword [ebx + 0x6ae], edi
push dword [ebp + 0x68]
call fcn.0041f76c
pop ecx
lea ecx, [ebp - 0x778]
jmp 0x40a648
cmp cl, 6
jne 0x40a5dc
cmp esi, 5
jne 0x40a5dc
push 0
push esi
push eax
lea ecx, [ebp - 0x88c]
call fcn.004010a9
push 8
lea ecx, [ebp - 0x88c]
mov dword [ebp - 4], 3
call fcn.00401399
xor edi, edi
inc edi
push edi
push 0x20
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x88c]
call fcn.0040118f
lea ecx, [ebp - 0x43c]
call fcn.0040104b
push edi
push 8
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 4
mov byte [ebp + 0x6c], 9
call fcn.0040155c
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp + 0x48], eax
push 0x20
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp - 0x43c]
call fcn.0040155c
call fcn.00402133
mov esi, eax
mov dword [ebp + 0x58], esi
call fcn.00402184
push edi
mov dword [ebp + 0x4c], eax
push 0x20
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x44], esi
call fcn.0040155c
xor eax, eax
push eax
push esi
push eax
push eax
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
push eax
push 6
push eax
push dword [ebp - 0x43c]
lea esi, [ebp + 0x60]
push dword [ebp - 0x430]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00406471
push dword [ebp + 0x68]
call fcn.0041f76c
pop ecx
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.00401110
lea ecx, [ebp - 0x88c]
jmp 0x40a648
cmp cl, 0x20
jne 0x40a5f0
mov dword [ebx + 0x7ee], 3
jmp 0x40aa39
cmp cl, 0x11
jne 0x40a656
push 0
push esi
push eax
lea ecx, [ebp - 0x9a0]
call fcn.004010a9
push 8
lea ecx, [ebp - 0x9a0]
mov dword [ebp - 4], 5
call fcn.00401399
push 1
push 8
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x9a0]
call fcn.0040123b
push dword [ebp + 0x1c]
lea ecx, [ebx + 0x7e2]
call fcn.0041037f
push dword [ebp + 0x68]
call fcn.0041f76c
pop ecx
lea ecx, [ebp - 0x9a0]
or dword [ebp - 4], 0xffffffff
call fcn.00401110
jmp 0x40aa7d
cmp cl, 0xa
jne 0x40a674
push 1
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408051
jmp 0x40aa39
cmp cl, 0x29
jne 0x40a6a0
lea ecx, [ebx + 0x6bc]
call fcn.00401129
lea eax, [esi - 1]
push eax
mov eax, dword [ebp + 0x68]
inc eax
push eax
lea ecx, [ebx + 0x6bc]
call fcn.0040160f
push dword [ebp + 0x68]
jmp 0x40aa54
cmp cl, 0xf
jne 0x40a6b9
cmp esi, 0x39
jne 0x40a6b9
mov ecx, dword [ebp + 0x70]
push eax
push ebx
call fcn.00409a40
jmp 0x40aa39
cmp cl, 0x10
jne 0x40a820
cmp esi, 0x35
jne 0x40a820
lea ecx, [ebp - 0xc0]
call fcn.0041166c
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 6
call fcn.00410445
push 4
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004114db
push 2
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004114db
mov eax, dword [ebp + 0x70]
push 0x14
add eax, 0x991
push eax
lea ecx, [ebp - 0xc0]
call fcn.004114db
lea ecx, [ebp - 0xc0]
call fcn.00411587
mov edi, dword [ebp + 0x68]
lea ecx, [ebp - 0xc0]
inc edi
call fcn.00411668
mov esi, eax
push 5
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x40a7ad
lea ecx, [ebp - 0xc0]
call fcn.00410445
push 4
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004114db
push 2
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004114db
mov eax, dword [ebp + 0x70]
push 0x14
add eax, 0x9a5
push eax
lea ecx, [ebp - 0xc0]
call fcn.004114db
lea ecx, [ebp - 0xc0]
call fcn.00411587
mov edi, dword [ebp + 0x68]
lea ecx, [ebp - 0xc0]
inc edi
call fcn.00411668
mov esi, eax
push 5
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x40a803
mov esi, dword [ebp + 0x68]
push 8
pop ecx
lea eax, [ebp - 0x100]
add esi, 0x15
lea edi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x70]
push eax
lea eax, [ebp - 0xe0]
push eax
add ecx, 0x836
call fcn.00409740
xor eax, eax
mov cl, byte [ebp + eax - 0x100]
mov edx, dword [ebp + 0x68]
xor cl, byte [edx + eax + 1]
inc eax
cmp eax, 0x10
mov byte [ebp + eax - 1], cl
jl 0x40a7dc
mov ecx, dword [ebp + 0x70]
push 1
lea eax, [ebp]
push eax
push ebx
call fcn.00407b7c
push dword [ebp + 0x68]
call fcn.0041f76c
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.0041167a
jmp 0x40aa7d
cmp cl, 0x17
jne 0x40a830
cmp esi, 1
jne 0x40a830
push eax
jmp 0x40aa3c
cmp cl, 0x22
jne 0x40aa44
cmp esi, 0xd
jne 0x40aa44
cmp edx, 5
je 0x40a85c
cmp edx, 4
je 0x40a85c
mov ecx, dword [ebp + 0x70]
cmp byte [ecx + 0x9b9], 0
jne 0x40a85c
xor cl, cl
jmp 0x40a85e
mov cl, 1
cmp edx, 5
sete byte [ebp + 0x6c]
push 0
test cl, cl
je 0x40aa25
push 0xd
push eax
lea ecx, [ebp - 0x550]
call fcn.004010a9
push 8
pop esi
push esi
lea ecx, [ebp - 0x550]
mov dword [ebp - 4], 7
call fcn.00401399
push 1
push 0x20
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x550]
call fcn.0040118f
push 1
push 0x10
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x550]
call fcn.0040118f
push 1
push 0x10
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x550]
call fcn.0040118f
cmp byte [ebp + 0x6c], 0
mov eax, dword [ebp + 0x24]
mov dword [ebx + 7], eax
mov ax, word [ebp + 0x28]
mov word [ebx + 0xb], ax
mov dword [ebx + 0x7ee], esi
jne 0x40a902
cmp byte [ebx + 0x7e1], 0
lea ecx, [ebx + 0xd]
je 0x40a8fb
lea eax, [ebx + 0x7d1]
push eax
jmp 0x40a8fd
push 0
call fcn.0040b10c
push dword [ebp + 0x68]
push 0xd
call fcn.0040345e
pop ecx
mov dword [eax + 0xc], 0x68
pop ecx
mov ecx, dword [ebp + 0x60]
mov dword [eax + 2], ecx
mov cx, word [ebp + 0x64]
push 1
mov word [eax + 6], cx
lea esi, [ebp + 0x60]
mov dword [ebp + 0x48], eax
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.004062c8
mov ecx, dword [ebp + 0x48]
mov word [ecx], ax
push ecx
mov ecx, dword [ebp + 0x70]
call fcn.004051a5
push 7
lea ecx, [ebp - 0x328]
call fcn.00401066
push 1
push 8
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 8
mov byte [ebp + 0x3c], 0x1e
call fcn.0040155c
mov eax, dword [ebp + 0x60]
push 1
mov dword [ebp + 0x40], eax
push 0x20
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp - 0x328]
call fcn.0040155c
movzx eax, word [ebp + 0x64]
push 1
mov dword [ebp + 0x20], eax
push 0x10
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x328]
call fcn.0040155c
mov eax, dword [ebp - 0x328]
mov dword [ebp + 0x48], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebp + 0x44], eax
call fcn.00402133
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
push ecx
push ecx
mov edi, esp
push ecx
push 8
push ecx
push dword [ebp + 0x48]
mov ecx, dword [ebp + 0x70]
push dword [ebp + 0x44]
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00406471
cmp byte [ebp + 0x6c], 0
jne 0x40aa0b
push 1
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408155
push 1
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408051
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 7
call fcn.00401110
lea ecx, [ebp - 0x550]
jmp 0x40a648
push 1
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00407c98
push dword [ebp + 0x68]
call fcn.0041f76c
pop ecx
jmp 0x40aa7d
cmp esi, 2
jbe 0x40aa4e
cmp cl, 0xc
je 0x40aa53
cmp cl, 0x14
jb 0x40aa7d
push eax
push esi
call fcn.0040345e
mov dword [eax + 0xc], edi
pop ecx
pop ecx
mov ecx, dword [ebp + 0x60]
mov dword [eax + 2], ecx
mov cx, word [ebp + 0x64]
mov word [eax + 6], cx
mov cx, word [ebp + 0x54]
mov word [eax], cx
mov ecx, dword [ebp + 0x70]
push eax
call fcn.004051a5
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebx + 0xd]
call fcn.0040bbdb
mov edi, eax
mov dword [ebp + 0x40], eax
test edi, edi
jg 0x40a10d
jmp 0x40ab14
mov eax, dword [ebx + 0x7ee]
push 8
pop esi
cmp eax, esi
je 0x40aab4
cmp eax, 4
je 0x40aab4
cmp eax, 1
je 0x40aab4
cmp eax, 3
jne 0x40aafc
push 1
call fcn.00403440
mov ebx, dword [ebx + 0x7ee]
pop ecx
mov ecx, dword [eax + 0x10]
cmp ebx, 4
jne 0x40aacf
mov byte [ecx], 0x1d
jmp 0x40aadb
cmp ebx, esi
jne 0x40aad8
mov byte [ecx], 0x21
jmp 0x40aadb
mov byte [ecx], 0x20
mov dword [eax + 0xc], esi
mov ecx, dword [ebp + 0x60]
mov dword [eax + 2], ecx
mov cx, word [ebp + 0x64]
mov word [eax + 6], cx
mov cx, word [ebp + 0x54]
mov word [eax], cx
mov ecx, dword [ebp + 0x70]
push eax
call fcn.004051a5
push 0
push 1
push 0
push ecx
push ecx
mov ecx, dword [ebp + 0x70]
mov edi, esp
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00408233
mov eax, dword [ebp + 0x70]
movzx eax, word [eax + 7]
inc dword [ebp + 0x54]
cmp dword [ebp + 0x54], eax
jb 0x409e6e
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x74
leave
ret