Function at 0x59ef00
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5a19cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 0xffffffff
mov eax, dword [ebp - 4]
cmp word [eax + 0x1e], 1
jne 0x59ef84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
fdiv dword [0x5a19dc]
fmulp st(1)
call fcn.00403054
mov dword [ebp - 0x4c], eax
jmp 0x59ef9d
fild dword [ebp + 0x10]
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
fdiv dword [0x5a19dc]
fmulp st(1)
call fcn.00403054
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
fdiv dword [0x5a19dc]
fdivp st(1)
fild dword [ebp + 0x10]
fcompp
fnstsw ax
sahf
jbe 0x59efbb
inc dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 7
jne 0x59f1ef
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
jne 0x59f1ef
mov dl, 1
mov eax, dword [0x419c44]
call fcn.00404054
mov dword [ebp - 0x60], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x60]
mov esi, dword [eax]
call dword [esi + 0x10]
push 0
push 0
mov eax, dword [ebp - 0x60]
call fcn.0041e9b0
mov dl, 1
mov eax, dword [0x619234]
call fcn.00620658
mov dword [ebp - 0x68], eax
push 5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x68]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 1
je 0x59f035
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 1
jne 0x59f046
mov esi, ebx
lea edi, [ebp - 0xd8]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
jmp 0x59f0a7
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x59f090
fild dword [ebx + 0xc]
fmul qword [ebx + 0x20]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x59f06d
cmp eax, dword [esp]
pop edx
pop eax
je 0x59f090
fild dword [ebx + 0xc]
fmul qword [ebx + 0x20]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0x69], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov ebx, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov esi, dword [eax + 0x20]
mov edx, dword [ebp - 4]
mov edi, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 4]
add edx, 0x180
push edx
lea edx, [ebp - 0xd8]
push edx
push 0
mov dl, byte [ebp - 0x69]
push edx
push 0
push 1
push 0
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov al, byte [eax + 0x4dc]
push eax
mov ecx, dword [ebp - 0x68]
xor edx, edx
mov eax, dword [ebp - 0x60]
call fcn.0058622c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, ebx
call fcn.005f850c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, esi
call fcn.005f853c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov dword [eax + 0x14], edi
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0xb0]
cmp byte [eax], 0
jne 0x59f1da
cmp byte [ebp - 0x69], 0
je 0x59f1b3
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 8]
dec eax
test eax, eax
jl 0x59f1b3
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x20]
call fcn.0060ada0
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59f189
push 0
mov eax, dword [ebp + 0x1c]
mov ecx, 3
cdq
idiv ecx
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x68]
call fcn.00624ee8
lea eax, [ebp - 0x68]
call fcn.00410204
lea eax, [ebp - 0x60]
call fcn.00410204
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 7
jne 0x59f480
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x59f480
mov dl, 1
mov eax, dword [0x419c44]
call fcn.00404054
mov dword [ebp - 0x60], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x60]
mov esi, dword [eax]
call dword [esi + 0x10]
push 0
push 0
mov eax, dword [ebp - 0x60]
call fcn.0041e9b0
mov dl, 1
mov eax, dword [0x419c44]
call fcn.00404054
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
mov eax, dword [ebp - 0x64]
mov esi, dword [eax]
call dword [esi + 0x10]
push 0
push 0
mov eax, dword [ebp - 0x64]
call fcn.0041e9b0
mov dl, 1
mov eax, dword [0x619234]
call fcn.00620658
mov dword [ebp - 0x68], eax
push 5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x68]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 1
je 0x59f293
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 1
jne 0x59f2a4
mov esi, ebx
lea edi, [ebp - 0xd8]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
jmp 0x59f305
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x59f2ee
fild dword [ebx + 0xc]
fmul qword [ebx + 0x20]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x59f2cb
cmp eax, dword [esp]
pop edx
pop eax
je 0x59f2ee
fild dword [ebx + 0xc]
fmul qword [ebx + 0x20]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
sete byte [ebp - 0x69]
xor edx, edx
push ebp
push 0x59f3dc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov ebx, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov esi, dword [eax + 0x20]
mov edx, dword [ebp - 4]
mov edi, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 4]
add edx, 0x180
push edx
lea edx, [ebp - 0xd8]
push edx
push 0
mov dl, byte [ebp - 0x69]
push edx
push 0
push 1
push 0
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov al, byte [eax + 0x4dc]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call fcn.0058622c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, ebx
call fcn.005f850c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, esi
call fcn.005f853c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov dword [eax + 0x14], edi
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0x38], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59f3e6
mov eax, dword [ebp - 0xb0]
cmp byte [eax], 0
jne 0x59f463
cmp byte [ebp - 0x69], 0
je 0x59f43c
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 8]
dec eax
test eax, eax
jl 0x59f43c
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x20]
call fcn.0060ada0
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59f412
push 0
mov eax, dword [ebp + 0x1c]
mov ecx, 3
cdq
idiv ecx
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x68]
call fcn.00624ee8
lea eax, [ebp - 0x68]
call fcn.00410204
lea eax, [ebp - 0x60]
call fcn.00410204
lea eax, [ebp - 0x64]
call fcn.00410204
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x59f6af
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
je 0x59f4a4
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x59f6af
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x59f6af
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x59f4c6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18c], 2
je 0x59f4d9
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x59f4e5
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x59f4e5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x188], 0
je 0x59f4e9
xor eax, eax
jmp 0x59f4eb
mov al, 1
mov byte [ebp - 0x59], al
cmp byte [ebp - 0x59], 0
je 0x59f501
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov byte [eax + 0x68], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59f51c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59f694
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x59f67d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
cmp byte [ebp - 0x59], 0
je 0x59f607
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x59f629
inc edi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov cx, word [edx]
mov word [eax], cx
mov cl, byte [edx + 2]
mov byte [eax + 2], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add eax, 2
call fcn.00601c1c
add dword [ebp - 0x34], 3
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov edx, dword [ebp - 0x14]
call fcn.0061c2d8
inc dword [ebp - 0x34]
add dword [ebp - 0x20], 3
inc dword [ebp - 0x14]
dec edi
jne 0x59f5b6
jmp 0x59f629
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x34]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x59f673
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x59f650
cmp eax, dword [esp]
pop edx
pop eax
je 0x59f673
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x59f694
jmp 0x59f685
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x59f694
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59f536
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x59f9fa
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jle 0x59f9fa
mov eax, dword [ebp - 4]
cmp dword [eax + 0x190], 0
jle 0x59f9fa
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x59f9fa
mov byte [ebp - 0x59], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x188], 0
jne 0x59f72d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
dec eax
test eax, eax
jl 0x59f72d
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 4]
add eax, 0x194
cmp dword [eax], 1
je 0x59f71e
cmp dword [eax], 2
jne 0x59f722
mov byte [ebp - 0x59], 1
add eax, 4
dec dword [ebp - 0xa4]
jne 0x59f714
cmp byte [ebp - 0x59], 0
je 0x59f740
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov byte [eax + 0x68], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59f75b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59f9df
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x59f9c8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
cmp byte [ebp - 0x59], 0
je 0x59f952
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x59f974
inc edi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov cx, word [edx]
mov word [eax], cx
mov cl, byte [edx + 2]
mov byte [eax + 2], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add eax, 2
call fcn.00601c1c
add dword [ebp - 0x34], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
dec eax
test eax, eax
jl 0x59f942
inc eax
mov dword [ebp - 0xa8], eax
mov esi, dword [ebp - 4]
add esi, 0x194
mov eax, dword [esi]
cmp eax, 1
jne 0x59f90d
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov edx, dword [ebp - 0x14]
call fcn.0061c2d8
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
fdiv dword [0x5a19e0]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x3f701010
push 0x10101010
call fcn.00601b80
fstp qword [ebp - 0xa0]
wait
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 2]
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
fdiv qword [ebp - 0xa0]
call fcn.00403054
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 1]
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
fdiv qword [ebp - 0xa0]
call fcn.00403054
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
fdiv qword [ebp - 0xa0]
call fcn.00403054
mov edx, dword [ebp - 0x20]
mov byte [edx], al
jmp 0x59f930
cmp eax, 2
jne 0x59f930
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov edx, dword [ebp - 0x14]
call fcn.0061c2d8
inc dword [ebp - 0x34]
add esi, 4
dec dword [ebp - 0xa8]
jne 0x59f843
add dword [ebp - 0x20], 3
inc dword [ebp - 0x14]
dec edi
jne 0x59f7fd
jmp 0x59f974
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x34]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x59f9be
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x59f99b
cmp eax, dword [esp]
pop edx
pop eax
je 0x59f9be
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x59f9df
jmp 0x59f9d0
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x59f9df
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59f775
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x59fc80
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x59fc80
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x59fc80
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59fa3f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
add eax, eax
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59fc65
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x59fc4e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 8
jne 0x59fb92
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
mov eax, dword [ebp + 0x1c]
pop edx
mov ecx, edx
cdq
idiv ecx
add eax, eax
lea eax, [eax + eax*2]
add dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
je 0x59fb3b
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x59fbfa
inc edi
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx + 2], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx + 4], ax
add dword [ebp - 0x24], 2
add dword [ebp - 0x80], 6
dec edi
jne 0x59fafd
jmp 0x59fbfa
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x59fbfa
inc edi
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
call fcn.0061a240
mov edx, dword [ebp - 0x80]
mov word [edx], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
call fcn.0061a240
mov edx, dword [ebp - 0x80]
mov word [edx + 2], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
call fcn.0061a240
mov edx, dword [ebp - 0x80]
mov word [edx + 4], ax
add dword [ebp - 0x24], 2
add dword [ebp - 0x80], 6
dec edi
jne 0x59fb48
jmp 0x59fbfa
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x59fbd8
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 7
mov eax, dword [ebp - 0x24]
call esi
jmp 0x59fbfa
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 6
mov eax, dword [ebp - 0x24]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x59fc44
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x59fc21
cmp eax, dword [esp]
pop edx
pop eax
je 0x59fc44
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x59fc65
jmp 0x59fc56
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x59fc65
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59fa59
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x59ff63
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x59ff63
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x59ff63
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59fcc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
add eax, eax
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59ff48
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x59ff31
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 8
jne 0x59fe23
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
mov eax, dword [ebp + 0x1c]
pop edx
mov ecx, edx
cdq
idiv ecx
add eax, eax
lea eax, [eax + eax*2]
add dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
je 0x59fdc5
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x59fedd
inc edi
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx + 2], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx + 4], ax
add dword [ebp - 0x24], 2
add dword [ebp - 0x24], 2
add dword [ebp - 0x80], 6
dec edi
jne 0x59fd83
jmp 0x59fedd
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x59fedd
inc edi
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
call fcn.0061a240
mov edx, dword [ebp - 0x80]
mov word [edx], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
call fcn.0061a240
mov edx, dword [ebp - 0x80]
mov word [edx + 2], ax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
call fcn.0061a240
mov edx, dword [ebp - 0x80]
mov word [edx + 4], ax
add dword [ebp - 0x24], 2
add dword [ebp - 0x24], 2
add dword [ebp - 0x80], 6
dec edi
jne 0x59fdd2
jmp 0x59fedd
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x59fe8b
inc edi
mov eax, dword [ebp - 0x28]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx], ax
add dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x28]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx + 2], ax
add dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x28]
mov ax, word [eax]
mov edx, dword [ebp - 0x80]
mov word [edx + 4], ax
add dword [ebp - 0x28], 2
add dword [ebp - 0x28], 2
add dword [ebp - 0x80], 6
dec edi
jne 0x59fe4e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x59febb
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 7
mov eax, dword [ebp - 0x24]
call esi
jmp 0x59fedd
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 6
mov eax, dword [ebp - 0x24]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x59ff27
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x59ff04
cmp eax, dword [esp]
pop edx
pop eax
je 0x59ff27
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x59ff48
jmp 0x59ff39
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x59ff48
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59fcdf
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x5a00f9
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x5a00f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x5a00f9
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59ffa6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a00de
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a00c7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0073
inc edi
mov eax, dword [ebp - 0x34]
movzx eax, word [eax]
shr eax, 0xa
shl eax, 3
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x34]
movzx eax, word [eax]
shr eax, 5
and al, 0x1f
shl eax, 3
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
and al, 0x1f
shl eax, 3
mov edx, dword [ebp - 0x20]
mov byte [edx], al
add dword [ebp - 0x34], 2
add dword [ebp - 0x20], 3
dec edi
jne 0x5a0033
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a00bd
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a009a
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a00bd
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a00de
jmp 0x5a00cf
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a00de
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59ffc0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 3
jne 0x5a045c
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jg 0x5a045c
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 2
jne 0x5a02b6
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5a02b6
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a0145
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a029b
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a0284
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0230
inc edi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov ecx, dword [ebp - 0x20]
mov esi, ecx
mov cx, word [edx + eax]
mov word [esi], cx
mov cl, byte [edx + eax + 2]
mov byte [esi + 2], cl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
mov edx, 0xff
sub edx, eax
push edx
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov edx, dword [ebp - 0x18]
call fcn.0061c2d8
inc dword [ebp - 0x34]
add dword [ebp - 0x20], 3
inc dword [ebp - 0x18]
dec edi
jne 0x5a01d9
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a027a
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a0257
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a027a
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a029b
jmp 0x5a028c
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a029b
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a015f
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x5a02c9
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jge 0x5a02d6
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a0438
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a0421
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 2
jne 0x5a038e
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a03cd
inc edi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
inc dword [ebp - 0x34]
inc dword [ebp - 0x20]
inc dword [ebp - 0x18]
dec edi
jne 0x5a0376
jmp 0x5a03cd
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a03cd
inc edi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov ecx, dword [ebp - 0x20]
mov esi, ecx
mov cx, word [edx + eax]
mov word [esi], cx
mov cl, byte [edx + eax + 2]
mov byte [esi + 2], cl
inc dword [ebp - 0x34]
add dword [ebp - 0x20], 3
inc dword [ebp - 0x18]
dec edi
jne 0x5a039e
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a0417
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a03f4
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a0417
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a0438
jmp 0x5a0429
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a0438
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a02f0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x5a044f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jge 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x5a068f
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x5a068f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
je 0x5a049f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 4
je 0x5a049f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 2
je 0x5a049f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 7
jne 0x5a068f
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x5a04c4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 4
je 0x5a04c4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 2
je 0x5a04c4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 7
jne 0x5a04d2
mov eax, dword [ebp + 0x10]
add eax, 4
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a066b
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a0654
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 3
jne 0x5a0584
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0600
inc edi
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
inc dword [ebp - 0x34]
inc dword [ebp - 0x20]
dec edi
jne 0x5a056f
jmp 0x5a0600
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x5a05cd
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0600
inc edi
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
mov edx, 0xff
sub edx, eax
mov dword [ebp - 0x18], edx
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
inc dword [ebp - 0x34]
add dword [ebp - 0x20], 3
dec edi
jne 0x5a0597
jmp 0x5a0600
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0600
inc edi
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
inc dword [ebp - 0x34]
add dword [ebp - 0x20], 3
dec edi
jne 0x5a05d6
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a064a
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a0627
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a064a
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a066b
jmp 0x5a065c
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a066b
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a04ec
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x5a0682
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 4
jne 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x5a08f0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 2
jne 0x5a08f0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5a08f0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x188]
xor al, 1
mov byte [ebp - 0x59], al
cmp byte [ebp - 0x59], 0
je 0x5a06d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov byte [eax + 0x68], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a06ef
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a08cc
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a08b5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x5a07f7
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0861
inc edi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
mov edx, 0xff
sub edx, eax
mov dword [ebp - 0x18], edx
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
cmp byte [ebp - 0x59], 0
je 0x5a07e7
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov edx, dword [ebp - 0x14]
call fcn.0061c2d8
inc dword [ebp - 0x34]
jmp 0x5a07eb
add dword [ebp - 0x34], 2
add dword [ebp - 0x20], 3
inc dword [ebp - 0x14]
dec edi
jne 0x5a0791
jmp 0x5a0861
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0861
inc edi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
cmp byte [ebp - 0x59], 0
je 0x5a0853
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov edx, dword [ebp - 0x14]
call fcn.0061c2d8
inc dword [ebp - 0x34]
jmp 0x5a0857
add dword [ebp - 0x34], 2
add dword [ebp - 0x20], 3
inc dword [ebp - 0x14]
dec edi
jne 0x5a0807
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a08ab
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a0888
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a08ab
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a08cc
jmp 0x5a08bd
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a08cc
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a0709
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x5a08e3
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 4
jne 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x5a0bed
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x5a0bed
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x5a0bed
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a092f
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a0bd2
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a0bbb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
mov ecx, 0xf
mov edx, 1
call fcn.006327cc
mov eax, dword [ebp - 0xe0]
mov edx, 0x5a19ec
call fcn.00405300
jne 0x5a09ed
mov dword [ebp - 0x1c], 4
jmp 0x5a09f4
mov dword [ebp - 0x1c], 8
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 4
jne 0x5a0a9e
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x5a0a58
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0b67
inc edi
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x17c]
xor dl, 1
mov eax, dword [ebp - 0x48]
mov ax, word [eax]
call fcn.00631028
mov edx, dword [ebp - 0x48]
mov word [edx], ax
mov eax, dword [ebp - 0x48]
mov dx, 0xffff
sub dx, word [eax]
mov eax, dword [ebp - 0x20]
mov word [eax], dx
add dword [ebp - 0x48], 2
add dword [ebp - 0x20], 2
dec edi
jne 0x5a0a1b
jmp 0x5a0b67
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0b67
inc edi
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x17c]
xor dl, 1
mov eax, dword [ebp - 0x48]
mov ax, word [eax]
call fcn.00631028
mov edx, dword [ebp - 0x48]
mov word [edx], ax
mov eax, dword [ebp - 0x48]
mov ax, word [eax]
mov edx, dword [ebp - 0x20]
mov word [edx], ax
add dword [ebp - 0x48], 2
add dword [ebp - 0x20], 2
dec edi
jne 0x5a0a65
jmp 0x5a0b67
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x5a0b0e
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0b67
inc edi
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x17c]
xor dl, 1
mov eax, dword [ebp - 0x48]
mov ax, word [eax]
call fcn.00631028
mov edx, dword [ebp - 0x48]
mov word [edx], ax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
mov edx, 0xffff
sub edx, eax
shr edx, cl
mov dword [ebp - 0x18], edx
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
add dword [ebp - 0x48], 2
add dword [ebp - 0x20], 3
dec edi
jne 0x5a0ab5
jmp 0x5a0b67
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0b67
inc edi
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x17c]
xor dl, 1
mov eax, dword [ebp - 0x48]
mov ax, word [eax]
call fcn.00631028
mov edx, dword [ebp - 0x48]
mov word [edx], ax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
shr eax, cl
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
add dword [ebp - 0x48], 2
add dword [ebp - 0x20], 3
dec edi
jne 0x5a0b17
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a0bb1
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a0b8e
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a0bb1
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a0bd2
jmp 0x5a0bc3
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a0bd2
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a0949
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x5a0dff
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x5a0dff
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 1
jne 0x5a0dff
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
call fcn.00402b30
mov dword [ebp - 0x38], eax
mov cl, 0xff
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
call fcn.00408484
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x5a0c61
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a0c7f
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 5
jae 0x5a0c7f
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
jne 0x5a0c85
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 2
jbe 0x5a0c85
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 4
jae 0x5a0c85
mov byte [ebp - 0x51], 1
jmp 0x5a0c89
mov byte [ebp - 0x51], 0
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a0dea
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp + 0x14]
cdq
cmp edx, dword [esp + 4]
jne 0x5a0ce6
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5a0cee
jmp 0x5a0dea
pop edx
pop eax
jle 0x5a0dea
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a0dd3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov al, byte [ebp - 0x51]
sub al, 1
jb 0x5a0d71
jne 0x5a0d7f
mov edi, dword [ebp - 0x4c]
dec edi
test edi, edi
jl 0x5a0d7f
inc edi
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
not al
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
inc dword [ebp - 0x34]
inc dword [ebp - 0x3c]
dec edi
jne 0x5a0d5a
jmp 0x5a0d7f
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
call fcn.0040847c
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a0dc9
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a0da6
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a0dc9
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a0dea
jmp 0x5a0ddb
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a0dea
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a0ca3
mov eax, dword [ebp - 0x38]
call fcn.00402b60
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 5
jne 0x5a103e
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x5a103e
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5a103e
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a0e3f
mov eax, dword [ebp + 0x10]
shl eax, 2
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a1023
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a100c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 7
jne 0x5a0f32
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0fb8
inc edi
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 1], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 2], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 3], dl
inc dword [ebp - 0x40]
add dword [ebp - 0x7c], 4
dec edi
jne 0x5a0ee7
jmp 0x5a0fb8
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a0f96
inc edi
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
dec edi
jne 0x5a0f57
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 2
mov eax, dword [ebp - 0x30]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a1002
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a0fdf
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a1002
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a1023
jmp 0x5a1014
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a1023
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a0e59
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 5
jne 0x5a12e1
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 5
jl 0x5a12e1
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5a12e1
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1081
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a12c6
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a12af
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 7
jne 0x5a11a0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a125b
inc edi
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 1], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 2], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 3], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 4
test eax, eax
jle 0x5a1194
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x1c], 1
inc dword [ebp - 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0xa8]
jne 0x5a1186
add dword [ebp - 0x7c], 4
dec edi
jne 0x5a112d
jmp 0x5a125b
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a1239
inc edi
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 1], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 2], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov byte [eax + 3], dl
inc dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 4
test eax, eax
jle 0x5a1232
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x1c], 1
inc dword [ebp - 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0xa8]
jne 0x5a1224
add dword [ebp - 0x7c], 4
dec edi
jne 0x5a11cb
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 2
mov eax, dword [ebp - 0x30]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a12a5
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a1282
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a12a5
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a12c6
jmp 0x5a12b7
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a12c6
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a109b
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 5
jne 0x5a1586
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x5a1586
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x5a1586
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1321
mov eax, dword [ebp + 0x10]
shl eax, 3
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a156b
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a1554
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 7
jne 0x5a1436
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
jns 0x5a13b3
add eax, 3
sar eax, 2
shl eax, 2
add dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a1500
inc edi
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x7c]
mov byte [eax], dl
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x7c]
mov byte [eax + 1], dl
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x7c]
mov byte [eax + 2], dl
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x7c]
mov byte [eax + 3], dl
add dword [ebp - 0x24], 2
add dword [ebp - 0x7c], 4
dec edi
jne 0x5a13cf
jmp 0x5a1500
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
shl eax, 2
call fcn.00402b30
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jl 0x5a14d6
inc edi
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x40]
mov byte [eax], dl
inc dword [ebp - 0x40]
add dword [ebp - 0x24], 2
dec edi
jne 0x5a146f
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 2
mov eax, dword [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x44]
call fcn.00402b60
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a154a
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a1527
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a154a
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a156b
jmp 0x5a155c
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a156b
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a133b
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 8
jne 0x5a16ec
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x5a16ec
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5a16ec
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a15c6
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a16d1
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a16ba
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 4
mov eax, dword [ebp - 0x30]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a16b0
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a168d
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a16b0
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a16d1
jmp 0x5a16c2
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a16d1
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a15e0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1978
mov eax, dword [ebp - 0x30]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 6
jne 0x5a1946
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x5a1946
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5a1946
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd4], 2
jne 0x5a1946
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 1
jne 0x5a1946
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1754
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
call fcn.00402b30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
call fcn.00402b30
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5a1927
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0059e9fc
test al, al
je 0x5a1910
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.0059e670
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jge 0x5a1881
mov eax, dword [ebp - 0x8c]
mov al, byte [eax]
mov edx, dword [ebp - 0x88]
mov byte [edx], al
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x88]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x88]
mov byte [edx + 2], al
add dword [ebp - 0x88], 3
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x88]
mov byte [edx], al
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x88]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x88]
mov byte [edx + 2], al
add dword [ebp - 0x88], 3
add dword [ebp - 0x8c], 4
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jl 0x5a17f3
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x20], eax
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov esi, dword [0x698ccc]
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dl, 8
mov eax, dword [ebp - 0x84]
call esi
inc dword [ebx + 0xc]
cmp word [ebx + 2], 0
je 0x5a1906
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
push edx
push eax
mov eax, dword [ebp - 0x98]
cdq
cmp edx, dword [esp + 4]
jne 0x5a18e3
cmp eax, dword [esp]
pop edx
pop eax
je 0x5a1906
fild dword [ebx + 0xc]
fmul qword [ebx + 0x18]
call fcn.00403054
mov dword [ebp - 0x98], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebx + 0x28]
cmp byte [eax], 0
jne 0x5a1927
jmp 0x5a1918
mov eax, dword [ebx + 0x28]
mov byte [eax], 1
jmp 0x5a1927
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5a177f
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5a1939
mov eax, dword [ebp - 0x30]
call fcn.00402b60
mov eax, dword [ebp - 0x84]
call fcn.00402b60
jmp 0x5a1978
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 6
jne 0x5a1978
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x5a1978
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5a1978
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd4], 2
jne 0x5a1978
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 2
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 5
jne 0x5a199f
cmp dword [ebp - 0x58], 0
je 0x5a199f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
push eax
mov ebx, dword [ebp - 4]
lea ecx, [ebp - 0x58]
xor edx, edx
xor eax, eax
call dword [ebx + 0x178]
cmp dword [ebp - 0x90], 0
je 0x5a19b3
mov eax, dword [ebp - 0x90]
call fcn.00402b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a19d3
lea eax, [ebp - 0xe0]
call fcn.00404ef4
ret