Function at 0x5973e4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x59a610
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], 0xffffffff
mov eax, dword [ebp - 4]
cmp word [eax + 0x1e], 1
jne 0x597468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
fdiv dword [0x59a620]
fmulp st(1)
call fcn.00402c40
mov dword [ebp - 0x44], eax
jmp 0x597481
fild dword [ebp + 0x10]
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
fdiv dword [0x59a620]
fmulp st(1)
call fcn.00402c40
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
fdiv dword [0x59a620]
fdivp st(1)
fild dword [ebp + 0x10]
fcompp
fnstsw ax
sahf
jbe 0x59749f
inc dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 7
jne 0x5976f5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
jne 0x5976f5
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00403140
mov dword [ebp - 0x58], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax]
call dword [ebx + 8]
xor edx, edx
mov eax, dword [ebp - 0x58]
call fcn.004144c4
mov dl, 1
mov eax, dword [0x67c338]
call fcn.00686024
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 1
je 0x59751e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 1
jne 0x59752d
lea edi, [ebp - 0xe8]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
jmp 0x59758e
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x597577
fild dword [esi + 0xc]
fmul qword [esi + 0x20]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x597554
cmp eax, dword [esp]
pop edx
pop eax
je 0x597577
fild dword [esi + 0xc]
fmul qword [esi + 0x20]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
xor eax, eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0x61], 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 - 0x68], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 4]
add edx, 0x180
push edx
lea edx, [ebp - 0xe8]
push edx
push 0
mov dl, byte [ebp - 0x61]
push edx
push 0
push 1
push 0
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov al, byte [eax + 0x548]
push eax
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov eax, dword [ebp - 0x58]
call fcn.00580e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, dword [ebp - 0x74]
call fcn.0063efbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, ebx
call fcn.0063ee9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, esi
call fcn.0063ef14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov dword [eax + 0x14], edi
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0xc0]
cmp byte [eax], 0
jne 0x5976e0
cmp byte [ebp - 0x61], 0
je 0x5976b2
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 8]
dec eax
test eax, eax
jl 0x5976b2
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, ebx
call fcn.006a94bc
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59768a
push 0
mov eax, dword [ebp - 8]
call fcn.006863d8
push eax
mov eax, dword [ebp + 0x1c]
pop edx
mov ecx, edx
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 - 0x60]
call fcn.0068b68c
lea eax, [ebp - 0x60]
call fcn.0040e0e0
lea eax, [ebp - 0x58]
call fcn.0040e0e0
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 7
jne 0x5979e0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x5979e0
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00403140
mov dword [ebp - 0x58], eax
xor edx, edx
push ebp
push 0x5979d9
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax]
call dword [ebx + 8]
xor edx, edx
mov eax, dword [ebp - 0x58]
call fcn.004144c4
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00403140
mov dword [ebp - 0x5c], 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 - 0x5c]
mov ebx, dword [eax]
call dword [ebx + 8]
xor edx, edx
mov eax, dword [ebp - 0x5c]
call fcn.004144c4
mov dl, 1
mov eax, dword [0x67c338]
call fcn.00686024
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 1
je 0x5977b4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 1
jne 0x5977c3
lea edi, [ebp - 0xe8]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
jmp 0x597824
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x59780d
fild dword [esi + 0xc]
fmul qword [esi + 0x20]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x5977ea
cmp eax, dword [esp]
pop edx
pop eax
je 0x59780d
fild dword [esi + 0xc]
fmul qword [esi + 0x20]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
xor eax, eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
sete byte [ebp - 0x61]
xor edx, edx
push ebp
push 0x597927
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 - 0x68], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 4]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 4]
add edx, 0x180
push edx
lea edx, [ebp - 0xe8]
push edx
push 0
mov dl, byte [ebp - 0x61]
push edx
push 0
push 1
push 0
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov al, byte [eax + 0x548]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
call fcn.00580e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, dword [ebp - 0x74]
call fcn.0063efbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, ebx
call fcn.0063ee9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, esi
call fcn.0063ef14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov dword [eax + 0x14], edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x38], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x597931
mov eax, dword [ebp - 0xc0]
cmp byte [eax], 0
jne 0x5979b3
cmp byte [ebp - 0x61], 0
je 0x597985
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 8]
dec eax
test eax, eax
jl 0x597985
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, ebx
call fcn.006a94bc
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59795d
push 0
mov eax, dword [ebp - 8]
call fcn.006863d8
push eax
mov eax, dword [ebp + 0x1c]
pop edx
mov ecx, edx
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 - 0x60]
call fcn.0068b68c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a5bc
lea eax, [ebp - 0x60]
call fcn.0040e0e0
lea eax, [ebp - 0x58]
call fcn.0040e0e0
lea eax, [ebp - 0x5c]
call fcn.0040e0e0
ret
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x597c09
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
je 0x597a04
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x597c09
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x597c09
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x597a26
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18c], 2
je 0x597a39
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x597a45
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x597a45
mov eax, dword [ebp - 4]
cmp byte [eax + 0x188], 0
je 0x597a49
xor eax, eax
jmp 0x597a4b
mov al, 1
mov byte [ebp - 0x51], al
cmp byte [ebp - 0x51], 0
je 0x597a61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov byte [eax + 0x6c], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x597a7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x597bee
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x597bd7
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
cmp byte [ebp - 0x51], 0
je 0x597b60
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00682240
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x597b83
inc eax
mov dword [ebp - 0xa8], eax
mov ax, word [edi]
mov word [ebx], ax
mov al, byte [edi + 2]
mov byte [ebx + 2], al
mov edx, ebx
lea eax, [ebx + 2]
call fcn.006a07dc
add edi, 3
mov al, byte [edi]
mov edx, dword [ebp - 0x34]
mov byte [edx], al
inc dword [ebp - 0x34]
inc edi
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x597b2f
jmp 0x597b83
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov eax, dword [0x7677a0]
mov eax, dword [eax]
mov ecx, ebx
xor edx, edx
mov ebx, edi
mov edi, eax
mov eax, ebx
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x597bcd
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x597baa
cmp eax, dword [esp]
pop edx
pop eax
je 0x597bcd
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x597bee
jmp 0x597bdf
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x597bee
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x597a96
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x597f91
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jle 0x597f91
mov eax, dword [ebp - 4]
cmp dword [eax + 0x190], 0
jle 0x597f91
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x597f91
mov byte [ebp - 0x51], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x188], 0
jne 0x597c9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
dec eax
test eax, eax
jl 0x597c9d
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 4]
add eax, 0x194
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
cmp dword [eax], 1
je 0x597c8a
mov eax, dword [ebp - 0xb0]
cmp dword [eax], 2
jne 0x597c8e
mov byte [ebp - 0x51], 1
add dword [ebp - 0xb0], 4
dec dword [ebp - 0xa4]
jne 0x597c74
cmp byte [ebp - 0x51], 0
je 0x597cb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov byte [eax + 0x6c], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x597ccb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x597f76
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x597f5f
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
cmp byte [ebp - 0x51], 0
je 0x597eba
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x597f0b
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x14], 0
mov ax, word [edi]
mov word [ebx], ax
mov al, byte [edi + 2]
mov byte [ebx + 2], al
mov edx, ebx
lea eax, [ebx + 2]
call fcn.006a07dc
add edi, 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
dec eax
test eax, eax
jl 0x597ea6
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 4]
add eax, 0x194
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp dword [eax], 1
jne 0x597e6b
xor eax, eax
mov al, byte [edi]
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.0067ffb4
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fdiv dword [0x59a624]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x3f701010
push 0x10101010
call fcn.006a0740
fstp qword [ebp - 0xa0]
wait
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fdiv qword [ebp - 0xa0]
call fcn.00402c40
mov byte [ebx + 2], al
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fdiv qword [ebp - 0xa0]
call fcn.00402c40
mov byte [ebx + 1], al
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fdiv qword [ebp - 0xa0]
call fcn.00402c40
mov byte [ebx], al
jmp 0x597e92
mov eax, dword [ebp - 0xb4]
cmp dword [eax], 2
jne 0x597e92
xor eax, eax
mov al, byte [edi]
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.0067ffb4
inc edi
add dword [ebp - 0xb4], 4
dec dword [ebp - 0xac]
jne 0x597db0
add ebx, 3
inc dword [ebp - 0x14]
dec dword [ebp - 0xa8]
jne 0x597d70
jmp 0x597f0b
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x597f0b
inc eax
mov dword [ebp - 0xa8], eax
mov ax, word [edi]
mov word [ebx], ax
mov al, byte [edi + 2]
mov byte [ebx + 2], al
mov edx, ebx
lea eax, [ebx + 2]
call fcn.006a07dc
add edi, 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
dec eax
test eax, eax
jl 0x597f00
inc eax
mov dword [ebp - 0xac], eax
inc edi
dec dword [ebp - 0xac]
jne 0x597ef7
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x597ec9
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x597f55
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x597f32
cmp eax, dword [esp]
pop edx
pop eax
je 0x597f55
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x597f76
jmp 0x597f67
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x597f76
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x597ce5
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x598214
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x598214
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x598214
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x597fd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
add eax, eax
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5981f9
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x5981e2
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 8
jne 0x598126
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 - 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 - 0x7c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
je 0x5980d0
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x59818e
inc eax
mov dword [ebp - 0xa8], eax
mov ax, word [edi]
mov edx, dword [ebp - 0x7c]
mov word [edx], ax
add edi, 2
mov ax, word [edi]
mov edx, dword [ebp - 0x7c]
mov word [edx + 2], ax
add edi, 2
mov ax, word [edi]
mov edx, dword [ebp - 0x7c]
mov word [edx + 4], ax
add edi, 2
add dword [ebp - 0x7c], 6
dec dword [ebp - 0xa8]
jne 0x598099
jmp 0x59818e
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x59818e
inc eax
mov dword [ebp - 0xa8], eax
mov ax, word [edi]
call fcn.0067d488
mov edx, dword [ebp - 0x7c]
mov word [edx], ax
add edi, 2
mov ax, word [edi]
call fcn.0067d488
mov edx, dword [ebp - 0x7c]
mov word [edx + 2], ax
add edi, 2
mov ax, word [edi]
call fcn.0067d488
mov edx, dword [ebp - 0x7c]
mov word [edx + 4], ax
add edi, 2
add dword [ebp - 0x7c], 6
dec dword [ebp - 0xa8]
jne 0x5980e3
jmp 0x59818e
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x59816b
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov eax, dword [0x7677a0]
mov eax, dword [eax]
mov ecx, ebx
mov dl, 7
mov ebx, edi
mov edi, eax
mov eax, ebx
call edi
jmp 0x59818e
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov eax, dword [0x7677a0]
mov eax, dword [eax]
mov ecx, ebx
mov dl, 6
mov ebx, edi
mov edi, eax
mov eax, ebx
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x5981d8
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x5981b5
cmp eax, dword [esp]
pop edx
pop eax
je 0x5981d8
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x5981f9
jmp 0x5981ea
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x5981f9
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x597ff0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x5984f7
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x5984f7
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x5984f7
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x598259
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
add eax, eax
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5984dc
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x5984c5
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 8
jne 0x5983b2
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 - 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 - 0x7c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
je 0x598356
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598471
inc eax
mov dword [ebp - 0xa8], eax
mov ax, word [edi]
mov edx, dword [ebp - 0x7c]
mov word [edx], ax
add edi, 2
mov ax, word [edi]
mov edx, dword [ebp - 0x7c]
mov word [edx + 2], ax
add edi, 2
mov ax, word [edi]
mov edx, dword [ebp - 0x7c]
mov word [edx + 4], ax
add edi, 2
add edi, 2
add dword [ebp - 0x7c], 6
dec dword [ebp - 0xa8]
jne 0x59831c
jmp 0x598471
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598471
inc eax
mov dword [ebp - 0xa8], eax
mov ax, word [edi]
call fcn.0067d488
mov edx, dword [ebp - 0x7c]
mov word [edx], ax
add edi, 2
mov ax, word [edi]
call fcn.0067d488
mov edx, dword [ebp - 0x7c]
mov word [edx + 2], ax
add edi, 2
mov ax, word [edi]
call fcn.0067d488
mov edx, dword [ebp - 0x7c]
mov word [edx + 4], ax
add edi, 2
add edi, 2
add dword [ebp - 0x7c], 6
dec dword [ebp - 0xa8]
jne 0x598369
jmp 0x598471
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x59841d
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x20]
mov ax, word [eax]
mov edx, dword [ebp - 0x7c]
mov word [edx], ax
add dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x20]
mov ax, word [eax]
mov edx, dword [ebp - 0x7c]
mov word [edx + 2], ax
add dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x20]
mov ax, word [eax]
mov edx, dword [ebp - 0x7c]
mov word [edx + 4], ax
add dword [ebp - 0x20], 2
add dword [ebp - 0x20], 2
add dword [ebp - 0x7c], 6
dec dword [ebp - 0xa8]
jne 0x5983db
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x59844e
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov eax, dword [0x7677a0]
mov eax, dword [eax]
mov ecx, ebx
mov dl, 7
mov ebx, edi
mov edi, eax
mov eax, ebx
call edi
jmp 0x598471
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov eax, dword [0x7677a0]
mov eax, dword [eax]
mov ecx, ebx
mov dl, 6
mov ebx, edi
mov edi, eax
mov eax, ebx
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x5984bb
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x598498
cmp eax, dword [esp]
pop edx
pop eax
je 0x5984bb
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x5984dc
jmp 0x5984cd
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x5984dc
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x598273
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 2
jne 0x598681
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x598681
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x598681
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59853a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x598666
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x59864f
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x5985fb
inc eax
mov dword [ebp - 0xa8], eax
movzx eax, word [edi]
shr eax, 0xa
shl eax, 3
mov byte [ebx + 2], al
movzx eax, word [edi]
shr eax, 5
and al, 0x1f
shl eax, 3
mov byte [ebx + 1], al
mov al, byte [edi]
and al, 0x1f
shl eax, 3
mov byte [ebx], al
add edi, 2
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x5985ca
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x598645
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x598622
cmp eax, dword [esp]
pop edx
pop eax
je 0x598645
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x598666
jmp 0x598657
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x598666
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x598554
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 3
jne 0x598894
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 1
jne 0x598894
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x598894
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x44]
call fcn.0040279c
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x59888d
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 0xff
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
call fcn.00408130
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59886f
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, 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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x598858
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 2
jne 0x5987aa
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598804
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
call fcn.006a74a4
test eax, eax
je 0x598799
mov byte [ebx], 1
jmp 0x59879c
mov byte [ebx], 0
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0xa8]
jne 0x598785
jmp 0x598804
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598804
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
call fcn.006a74a4
test eax, eax
je 0x5987e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov dx, word [eax + 3]
mov word [ebx], dx
mov dl, byte [eax + 5]
mov byte [ebx + 2], dl
jmp 0x5987f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov dx, word [eax]
mov word [ebx], dx
mov dl, byte [eax + 2]
mov byte [ebx + 2], dl
add ebx, 3
inc dword [ebp - 0x18]
dec dword [ebp - 0xa8]
jne 0x5987c0
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x59884e
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x59882b
cmp eax, dword [esp]
pop edx
pop eax
je 0x59884e
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x59886f
jmp 0x598860
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x59886f
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5986fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a5bc
mov eax, dword [ebp - 0x2c]
call fcn.004027b4
mov eax, dword [ebp - 0x28]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 3
jne 0x598bdc
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jg 0x598bdc
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 2
jne 0x598a4b
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x598a4b
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5988e0
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x598a30
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, 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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x598a19
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x5989c5
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x18], 0
xor eax, eax
mov al, byte [edi]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov cx, word [edx + eax]
mov word [ebx], cx
mov cl, byte [edx + eax + 2]
mov byte [ebx + 2], cl
inc edi
xor eax, eax
mov al, byte [edi]
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.0067ffb4
inc edi
add ebx, 3
inc dword [ebp - 0x18]
dec dword [ebp - 0xa8]
jne 0x598977
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x598a0f
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x5989ec
cmp eax, dword [esp]
pop edx
pop eax
je 0x598a0f
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x598a30
jmp 0x598a21
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x598a30
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x5988fa
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x598a5e
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jge 0x598a6b
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x598bb8
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, 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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x598ba1
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 2
jne 0x598b17
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598b4d
inc eax
mov dword [ebp - 0xa8], eax
mov al, byte [edi]
mov byte [ebx], al
inc edi
inc ebx
dec dword [ebp - 0xa8]
jne 0x598b07
jmp 0x598b4d
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598b4d
inc eax
mov dword [ebp - 0xa8], eax
xor eax, eax
mov al, byte [edi]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov cx, word [edx + eax]
mov word [ebx], cx
mov cl, byte [edx + eax + 2]
mov byte [ebx + 2], cl
inc edi
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x598b26
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x598b97
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x598b74
cmp eax, dword [esp]
pop edx
pop eax
je 0x598b97
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x598bb8
jmp 0x598ba9
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x598bb8
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x598a85
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x598bcf
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jge 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x598e12
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x598e12
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
je 0x598c1f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 4
je 0x598c1f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 2
je 0x598c1f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 7
jne 0x598e12
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x598c44
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 4
je 0x598c44
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 2
je 0x598c44
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 7
jne 0x598c52
mov eax, dword [ebp + 0x10]
add eax, 4
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x598ddc
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, 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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x598dc5
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 3
jne 0x598d02
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598d71
inc eax
mov dword [ebp - 0xa8], eax
mov al, byte [edi]
mov byte [ebx], al
inc edi
inc ebx
dec dword [ebp - 0xa8]
jne 0x598cf2
jmp 0x598d71
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x598d48
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598d71
inc eax
mov dword [ebp - 0xa8], eax
xor eax, eax
mov al, byte [edi]
mov edx, 0xff
sub edx, eax
mov dword [ebp - 0x18], edx
mov al, byte [ebp - 0x18]
mov byte [ebx + 2], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 1], al
mov al, byte [ebp - 0x18]
mov byte [ebx], al
inc edi
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x598d1b
jmp 0x598d71
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x598d71
inc eax
mov dword [ebp - 0xa8], eax
mov al, byte [edi]
mov byte [ebx + 2], al
mov al, byte [edi]
mov byte [ebx + 1], al
mov al, byte [edi]
mov byte [ebx], al
inc edi
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x598d57
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x598dbb
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x598d98
cmp eax, dword [esp]
pop edx
pop eax
je 0x598dbb
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x598ddc
jmp 0x598dcd
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x598ddc
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x598c6c
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
jne 0x598e05
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 4
je 0x598e05
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 2
je 0x598e05
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 7
jne 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x5990d6
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jle 0x5990d6
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x5990d6
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x188]
xor al, 1
mov byte [ebp - 0x51], al
cmp byte [ebp - 0x51], 0
je 0x598e5b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov byte [eax + 0x6c], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x598e76
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.0040279c
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x5990cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5990a7
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, 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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x599090
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x598fad
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x59903c
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x14], 0
xor eax, eax
mov al, byte [edi]
mov edx, 0xff
sub edx, eax
mov dword [ebp - 0x18], edx
mov al, byte [ebp - 0x18]
mov byte [ebx + 2], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 1], al
mov al, byte [ebp - 0x18]
mov byte [ebx], al
inc edi
cmp byte [ebp - 0x51], 0
je 0x598f80
xor eax, eax
mov al, byte [edi]
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.0067ffb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jle 0x598f9a
mov dword [ebp - 0xac], eax
inc edi
dec dword [ebp - 0xac]
jne 0x598f91
add ebx, 3
inc dword [ebp - 0x14]
dec dword [ebp - 0xa8]
jne 0x598f3e
jmp 0x59903c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x59901b
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x14], 0
mov al, byte [edi]
mov edx, dword [ebp - 0x34]
mov byte [edx], al
inc edi
cmp byte [ebp - 0x51], 0
je 0x598ff3
xor eax, eax
mov al, byte [edi]
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.0067ffb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jle 0x59900d
mov dword [ebp - 0xac], eax
inc edi
dec dword [ebp - 0xac]
jne 0x599004
inc dword [ebp - 0x34]
inc dword [ebp - 0x14]
dec dword [ebp - 0xa8]
jne 0x598fc9
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov edi, dword [0x7677a0]
mov edi, dword [edi]
mov ecx, ebx
mov dl, 5
mov eax, dword [ebp - 0x30]
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x599086
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x599063
cmp eax, dword [esp]
pop edx
pop eax
je 0x599086
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x5990a7
jmp 0x599098
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x5990a7
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x598eaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a5bc
mov eax, dword [ebp - 0x30]
call fcn.004027b4
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x5990ce
mov eax, dword [ebp - 0x28]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x59942f
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x59942f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x59942f
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x599115
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x599414
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, 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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x5993fd
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
mov ecx, 0xf
mov edx, 1
call fcn.0069cf48
mov eax, dword [ebp - 0xf0]
mov edx, 0x59a630
call fcn.00404298
jne 0x5991d3
mov dword [ebp - 0x1c], 4
jmp 0x5991da
mov dword [ebp - 0x1c], 8
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 4
jne 0x5992b8
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x599258
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x5993a9
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x599237
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
shr eax, 8
and ax, 0xff
mov edx, dword [ebp - 0x40]
mov dx, word [edx]
shl edx, 8
and dx, 0xff00
or ax, dx
mov edx, dword [ebp - 0x40]
mov word [edx], ax
mov eax, dword [ebp - 0x40]
mov dx, 0xffff
sub dx, word [eax]
mov word [ebx], dx
add dword [ebp - 0x40], 2
add ebx, 2
dec dword [ebp - 0xa8]
jne 0x599207
jmp 0x5993a9
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x5993a9
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x59929b
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
shr eax, 8
and ax, 0xff
mov edx, dword [ebp - 0x40]
mov dx, word [edx]
shl edx, 8
and dx, 0xff00
or ax, dx
mov edx, dword [ebp - 0x40]
mov word [edx], ax
mov eax, dword [ebp - 0x40]
mov ax, word [eax]
mov word [ebx], ax
add dword [ebp - 0x40], 2
add ebx, 2
dec dword [ebp - 0xa8]
jne 0x59926b
jmp 0x5993a9
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x59933c
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x5993a9
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x599305
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
shr eax, 8
and ax, 0xff
mov edx, dword [ebp - 0x40]
mov dx, word [edx]
shl edx, 8
and dx, 0xff00
or ax, dx
mov edx, dword [ebp - 0x40]
mov word [edx], ax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
mov edx, 0xffff
sub edx, eax
shr edx, cl
mov dword [ebp - 0x18], edx
mov al, byte [ebp - 0x18]
mov byte [ebx + 2], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 1], al
mov al, byte [ebp - 0x18]
mov byte [ebx], al
add dword [ebp - 0x40], 2
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x5992d5
jmp 0x5993a9
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x5993a9
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x59937b
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
shr eax, 8
and ax, 0xff
mov edx, dword [ebp - 0x40]
mov dx, word [edx]
shl edx, 8
and dx, 0xff00
or ax, dx
mov edx, dword [ebp - 0x40]
mov word [edx], ax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
shr eax, cl
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0x18]
mov byte [ebx + 2], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 1], al
mov al, byte [ebp - 0x18]
mov byte [ebx], al
add dword [ebp - 0x40], 2
add ebx, 3
dec dword [ebp - 0xa8]
jne 0x59934b
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x5993f3
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x5993d0
cmp eax, dword [esp]
pop edx
pop eax
je 0x5993f3
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x599414
jmp 0x599405
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x599414
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59912f
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x5996c4
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x5996c4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0xc
jne 0x5996c4
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59946e
mov eax, dword [ebp + 0x10]
add eax, eax
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5996a9
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, 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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x599692
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 4
jne 0x599598
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
je 0x59963e
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jge 0x59963e
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
shl eax, 4
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
and al, 0xf0
and eax, 0xff
shr eax, 4
or dword [ebp - 0x18], eax
shl dword [ebp - 0x18], 4
mov ax, word [ebp - 0x18]
mov word [ebx], ax
inc dword [ebp - 0x14]
add ebx, 2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
je 0x59963e
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
and al, 0xf
and eax, 0xff
shl eax, 8
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
or dword [ebp - 0x18], eax
inc dword [ebp - 0x28]
shl dword [ebp - 0x18], 4
mov ax, word [ebp - 0x18]
mov word [ebx], ax
inc dword [ebp - 0x14]
add ebx, 2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jl 0x59951b
jmp 0x59963e
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
je 0x59963e
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jge 0x59963e
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
shl eax, 4
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
and al, 0xf0
and eax, 0xff
shr eax, 4
or dword [ebp - 0x18], eax
shr dword [ebp - 0x18], 4
mov al, byte [ebp - 0x18]
mov byte [ebx], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 1], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 2], al
inc dword [ebp - 0x14]
add ebx, 3
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
je 0x59963e
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
and al, 0xf
and eax, 0xff
shl eax, 8
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
or dword [ebp - 0x18], eax
inc dword [ebp - 0x28]
shr dword [ebp - 0x18], 4
mov al, byte [ebp - 0x18]
mov byte [ebx], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 1], al
mov al, byte [ebp - 0x18]
mov byte [ebx + 2], al
inc dword [ebp - 0x14]
add ebx, 3
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jl 0x5995b2
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x599688
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x599665
cmp eax, dword [esp]
pop edx
pop eax
je 0x599688
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x5996a9
jmp 0x59969a
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x5996a9
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x599488
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
ja 0x5998f9
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x5998f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 1
jne 0x5998f9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x44]
call fcn.0040279c
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x5998f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 0xff
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
call fcn.00408130
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 0
jne 0x599746
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x599764
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 5
jae 0x599764
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 1
jne 0x59976a
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 3
je 0x599764
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 4
jne 0x59976a
mov byte [ebp - 0x49], 1
jmp 0x59976e
mov byte [ebp - 0x49], 0
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x5998d4
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 ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
mov eax, dword [ebp + 0x18]
call fcn.0069dbac
push edx
push eax
mov eax, dword [ebp - 0x24]
call fcn.0069dbac
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 0x5997cf
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5997d7
jmp 0x5998d4
pop edx
pop eax
jle 0x5998d4
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x5998bd
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x30], ebx
mov al, byte [ebp - 0x49]
sub al, 1
jb 0x59985c
jne 0x599869
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x599869
inc eax
mov dword [ebp - 0xa8], eax
mov al, byte [edi]
not al
mov edx, dword [ebp - 0x30]
mov byte [edx], al
inc edi
inc dword [ebp - 0x30]
dec dword [ebp - 0xa8]
jne 0x599845
jmp 0x599869
mov ecx, dword [ebp - 0x44]
mov edx, edi
mov eax, dword [ebp - 0x30]
call fcn.00408128
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x5998b3
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x599890
cmp eax, dword [esp]
pop edx
pop eax
je 0x5998b3
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x5998d4
jmp 0x5998c5
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x5998d4
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x599788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a5bc
mov eax, dword [ebp - 0x2c]
call fcn.004027b4
mov eax, dword [ebp - 0x28]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 5
jne 0x599b51
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x599b51
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x599b51
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x599939
mov eax, dword [ebp + 0x10]
shl eax, 2
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x599b36
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x599b1f
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 7
jne 0x599a3d
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 - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x599acb
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 1], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 2], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 3], dl
inc dword [ebp - 0x34]
add dword [ebp - 0x78], 4
dec dword [ebp - 0xa8]
jne 0x5999ed
jmp 0x599acb
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x599aaa
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
dec dword [ebp - 0xa8]
jne 0x599a66
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov edi, dword [0x7677a0]
mov edi, dword [edi]
mov ecx, ebx
mov dl, 2
mov eax, dword [ebp - 0x28]
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x599b15
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x599af2
cmp eax, dword [esp]
pop edx
pop eax
je 0x599b15
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x599b36
jmp 0x599b27
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x599b36
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x599953
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 5
jne 0x599f2a
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 5
jl 0x599f2a
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x599f2a
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jle 0x599b9a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18c], 2
jne 0x599b9a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x188], 0
je 0x599b9e
xor eax, eax
jmp 0x599ba0
mov al, 1
mov byte [ebp - 0x51], al
cmp byte [ebp - 0x51], 0
je 0x599bb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov byte [eax + 0x6c], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x599bd1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp + 0x10]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x599f0f
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x599ef8
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 7
jne 0x599d6d
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 - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add dword [ebp - 0x78], eax
cmp byte [ebp - 0x51], 0
je 0x599c91
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00682240
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x3c], eax
jmp 0x599c96
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x599ea4
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 1], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 2], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 3], dl
inc dword [ebp - 0x34]
cmp byte [ebp - 0x51], 0
je 0x599d30
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 4
sub eax, 2
jl 0x599d58
inc eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x1c], 2
inc dword [ebp - 0x34]
inc dword [ebp - 0x1c]
dec dword [ebp - 0xac]
jne 0x599d20
jmp 0x599d58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 4
test eax, eax
jle 0x599d58
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x1c], 1
inc dword [ebp - 0x34]
inc dword [ebp - 0x1c]
dec dword [ebp - 0xac]
jne 0x599d4a
add dword [ebp - 0x78], 4
dec dword [ebp - 0xa8]
jne 0x599caf
jmp 0x599ea4
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
cmp byte [ebp - 0x51], 0
je 0x599da6
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00682240
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
add dword [ebp - 0x3c], eax
jmp 0x599dab
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x599e83
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 1], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 2], dl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dl, 0xff
sub dl, byte [eax]
mov eax, dword [ebp - 0x78]
mov byte [eax + 3], dl
inc dword [ebp - 0x34]
cmp byte [ebp - 0x51], 0
je 0x599e4b
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 4
sub eax, 2
jl 0x599e73
inc eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x1c], 2
inc dword [ebp - 0x34]
inc dword [ebp - 0x1c]
dec dword [ebp - 0xac]
jne 0x599e3b
jmp 0x599e73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 4
test eax, eax
jle 0x599e73
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x1c], 1
inc dword [ebp - 0x34]
inc dword [ebp - 0x1c]
dec dword [ebp - 0xac]
jne 0x599e65
add dword [ebp - 0x78], 4
dec dword [ebp - 0xa8]
jne 0x599dca
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov edi, dword [0x7677a0]
mov edi, dword [edi]
mov ecx, ebx
mov dl, 2
mov eax, dword [ebp - 0x28]
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x599eee
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x599ecb
cmp eax, dword [esp]
pop edx
pop eax
je 0x599eee
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x599f0f
jmp 0x599f00
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x599f0f
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x599beb
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 5
jne 0x59a1d8
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 4
jne 0x59a1d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0x10
jne 0x59a1d8
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x599f6a
mov eax, dword [ebp + 0x10]
shl eax, 3
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59a1bd
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x59a1a6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
jne 0x599fde
mov edx, dword [ebp + 0x10]
shl edx, 2
mov eax, dword [ebp - 0x28]
call fcn.0067d490
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 7
jne 0x59a093
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 - 0x78], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
jns 0x59a018
add eax, 3
sar eax, 2
shl eax, 2
add dword [ebp - 0x78], eax
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x59a152
inc eax
mov dword [ebp - 0xa8], eax
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x78]
mov byte [eax], dl
add edi, 2
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x78]
mov byte [eax + 1], dl
add edi, 2
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x78]
mov byte [eax + 2], dl
add edi, 2
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x78]
mov byte [eax + 3], dl
add edi, 2
add dword [ebp - 0x78], 4
dec dword [ebp - 0xa8]
jne 0x59a037
jmp 0x59a152
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x10]
shl eax, 2
call fcn.0040279c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
jl 0x59a129
inc eax
mov dword [ebp - 0xa8], eax
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
add edi, 2
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
add edi, 2
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
add edi, 2
movzx eax, word [edi]
shr eax, 8
mov dl, 0xff
sub dl, al
mov eax, dword [ebp - 0x34]
mov byte [eax], dl
inc dword [ebp - 0x34]
add edi, 2
dec dword [ebp - 0xa8]
jne 0x59a0cd
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov edi, dword [0x7677a0]
mov edi, dword [edi]
mov ecx, ebx
mov dl, 2
mov eax, dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x38]
call fcn.004027b4
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x59a19c
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x59a179
cmp eax, dword [esp]
pop edx
pop eax
je 0x59a19c
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x59a1bd
jmp 0x59a1ae
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x59a1bd
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x599f84
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 8
jne 0x59a33d
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x59a33d
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x59a33d
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a218
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59a322
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x59a30b
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov edi, dword [0x7677a0]
mov edi, dword [edi]
mov ecx, ebx
mov dl, 4
mov eax, dword [ebp - 0x28]
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x59a301
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x59a2de
cmp eax, dword [esp]
pop edx
pop eax
je 0x59a301
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x59a322
jmp 0x59a313
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x59a322
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59a232
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a5bc
mov eax, dword [ebp - 0x28]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 6
jne 0x59a58a
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x59a58a
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x59a58a
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd4], 2
jne 0x59a58a
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 1
jne 0x59a58a
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a3a5
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
call fcn.0040279c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
call fcn.0040279c
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x59a56e
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 - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00596f14
test al, al
je 0x59a557
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00596c18
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jge 0x59a4ce
mov eax, dword [ebp - 0x88]
mov al, byte [eax]
mov edx, dword [ebp - 0x84]
mov byte [edx], al
mov eax, dword [ebp - 0x88]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x84]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x88]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x84]
mov byte [edx + 2], al
add dword [ebp - 0x84], 3
mov eax, dword [ebp - 0x88]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x84]
mov byte [edx], al
mov eax, dword [ebp - 0x88]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x84]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x88]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x84]
mov byte [edx + 2], al
add dword [ebp - 0x84], 3
add dword [ebp - 0x88], 4
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jl 0x59a440
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
mov eax, dword [ebp + 0x1c]
add ebx, eax
push 1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
mov edi, dword [0x7677a0]
mov edi, dword [edi]
mov ecx, ebx
mov dl, 8
mov eax, dword [ebp - 0x80]
call edi
inc dword [esi + 0xc]
cmp word [esi + 2], 0
je 0x59a54d
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
push edx
push eax
mov eax, dword [ebp - 0x94]
cdq
cmp edx, dword [esp + 4]
jne 0x59a52a
cmp eax, dword [esp]
pop edx
pop eax
je 0x59a54d
fild dword [esi + 0xc]
fmul qword [esi + 0x18]
call fcn.00402c40
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 4]
call dword [esi]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x59a56e
jmp 0x59a55f
mov eax, dword [esi + 0x28]
mov byte [eax], 1
jmp 0x59a56e
inc dword [ebp - 0x10]
dec dword [ebp - 0xa4]
jne 0x59a3cd
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 1
je 0x59a580
mov eax, dword [ebp - 0x28]
call fcn.004027b4
mov eax, dword [ebp - 0x80]
call fcn.004027b4
jmp 0x59a5bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1c], 6
jne 0x59a5bc
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x59a5bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 8
jne 0x59a5bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd4], 2
jne 0x59a5bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 2
mov eax, dword [ebp - 4]
cmp word [eax + 0x22], 5
jne 0x59a5e3
cmp dword [ebp - 0x50], 0
je 0x59a5e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
push eax
mov ebx, dword [ebp - 4]
lea ecx, [ebp - 0x50]
xor edx, edx
xor eax, eax
call dword [ebx + 0x178]
cmp dword [ebp - 0x8c], 0
je 0x59a5f7
mov eax, dword [ebp - 0x8c]
call fcn.004027b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a617
lea eax, [ebp - 0xf0]
call fcn.00403ef8
ret