Function at 0x5cf420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x5cf428
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5d1311
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.005d1dec
cmp dword [0x608c54], 0
je 0x5d0b2e
mov eax, dword [0x608c54]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x5d1330
mov edx, 0x5d1358
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x6025a8]
movzx eax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [0x6025a8]
mov word [eax], 0x2e
push 0
push 0
mov edx, 0x5d1358
mov ecx, 0x5d137c
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7890]
fstp qword [eax + 0x10]
wait
mov eax, dword [0x6025a8]
movzx edx, word [ebp - 0x2e]
mov word [eax], dx
mov dl, 1
mov eax, dword [0x452c64]
call fcn.0045c28c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x7a88], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x7a8c], 0
je 0x5cf58a
mov eax, dword [0x608d78]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x5cf5d4
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x20]
lea esi, [esi + esi*2]
mov eax, dword [0x608d78]
mov eax, dword [eax + 8]
mov eax, dword [eax + esi*4]
lea edx, [ebp - 0x4c]
call fcn.004132c4
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
call fcn.004078e8
jne 0x5cf57c
mov eax, dword [0x608d78]
mov eax, dword [eax + 8]
mov eax, dword [eax + esi*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [0x608d78]
mov eax, dword [eax + 8]
mov edx, dword [eax + esi*4 + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
call fcn.0045cbac
call fcn.00457314
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
call fcn.0045cbac
call fcn.00456324
jmp 0x5cf5d4
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x5cf4ff
jmp 0x5cf5d4
mov edx, dword [ebp - 4]
mov eax, 0x5d1398
call fcn.00407c68
dec eax
jge 0x5cf5b1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7890]
mov edx, dword [eax + 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407644
cmp dword [ebp - 4], 0
je 0x5cf5d4
mov eax, dword [ebp - 4]
call fcn.0041476c
test al, al
je 0x5cf5d4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
call fcn.0045ccac
cmp al, 7
je 0x5cf63a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov dl, 7
call fcn.0045df08
push 0xff00ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov cl, 0xff
call fcn.00593238
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
mov edx, 0xff00ff
call fcn.0045e070
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7a88]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x42cb98]
call fcn.00438bc8
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00438c44
mov dl, 1
mov eax, dword [0x42cb98]
call fcn.00438bc8
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.00438c44
xor eax, eax
push ebp
push 0x5d0b27
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5d0af8
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5d0aec
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
mov edx, 0x5d1358
call fcn.004078e8
jne 0x5cf74a
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x68]
mov edx, 0x5d1330
call fcn.004078e8
je 0x5d0ae0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 4], 0
je 0x5d0ae0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x5cfdfd
sub ax, 0x1f
je 0x5cf94e
sub ax, 0x1e
je 0x5cfadd
sub ax, 0x20
jne 0x5d03f0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea ebx, [edx + eax*8]
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 8]
call fcn.00407160
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 4]
call fcn.00407160
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x24], 1
lea eax, [ebp - 0x7c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0x7c]
call fcn.00414260
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0x80]
call fcn.00414260
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0x84]
call fcn.00414260
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0x88]
call fcn.00414260
pop edx
pop ecx
call fcn.0040b00c
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebx + 0x1c], 1
lea eax, [ebp - 0x8c]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0x8c]
call fcn.00414260
mov word [ebx + 0x22], ax
lea eax, [ebp - 4]
call fcn.00406508
call fcn.004074e0
cmp eax, 0x18
jle 0x5cf943
lea eax, [ebp - 0x90]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0x90]
call fcn.00414260
mov word [ebx + 0x1e], ax
jmp 0x5d0ae0
mov word [ebx + 0x1e], 0
jmp 0x5d0ae0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea ebx, [edx + eax*8]
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 8]
call fcn.00407160
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x98]
lea eax, [ebx + 4]
call fcn.00407160
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x24], 2
lea eax, [ebp - 0x9c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0x9c]
call fcn.00414260
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xa0]
call fcn.00414260
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xa4]
call fcn.00414260
push eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xa8]
call fcn.00414260
pop edx
pop ecx
call fcn.0040b00c
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xac]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xac]
call fcn.00414260
mov word [ebx + 0x1c], ax
lea eax, [ebp - 0xb0]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xb0]
call fcn.00414260
mov word [ebx + 0x1e], ax
jmp 0x5d0ae0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov esi, dword [ebp - 0x28]
mov eax, esi
add esi, esi
add esi, esi
add esi, esi
sub esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
lea ebx, [eax + esi*8]
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xb4]
lea eax, [ebx + 8]
call fcn.00407160
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xb8]
lea eax, [ebx + 4]
call fcn.00407160
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x24], 0
lea eax, [ebp - 0xbc]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xbc]
call fcn.00414260
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xc0]
call fcn.00414260
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xc4]
call fcn.00414260
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xc8]
call fcn.00414260
pop edx
pop ecx
call fcn.0040b00c
push esi
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0xcc]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xcc]
call fcn.00414260
mov word [ebx + 0x2c], ax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xd0]
call fcn.00414260
mov word [ebx + 0x2e], ax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xd4]
call fcn.00414260
mov word [ebx + 0x30], ax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xd8]
call fcn.00414260
mov word [ebx + 0x32], ax
lea eax, [ebp - 0xdc]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xdc]
call fcn.00414260
mov word [ebx + 0x1c], ax
lea eax, [ebp - 0xe0]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xe0]
call fcn.00414260
mov word [ebx + 0x1e], ax
lea eax, [ebp - 0xe4]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xe4]
call fcn.00414260
mov word [ebx + 0x22], ax
lea eax, [ebp - 0xe8]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.00407950
mov eax, dword [ebp - 0xe8]
call fcn.00414260
mov word [ebx + 0x20], ax
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x5cfde1
cmp word [ebx + 0x20], 0
je 0x5cfd9c
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x5cfde1
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.005c5df4
movsx edx, word [ebx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2c], ax
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.005c5e08
movsx edx, word [ebx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2e], ax
movzx eax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
movzx eax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
lea edx, [eax + esi*8]
mov eax, dword [ebp - 0x10]
call fcn.005cb09c
mov dword [ebx + 0x34], eax
jmp 0x5d0ae0
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xf0]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0xf0]
mov ecx, 0x5d139c
mov eax, 1
call fcn.005c604c
mov edx, dword [ebp - 0xec]
lea eax, [ebp - 0xc]
call fcn.0040738c
mov edx, dword [ebp - 0xc]
mov eax, 0x5d13c8
call fcn.00407c68
test eax, eax
setg bl
test bl, bl
jne 0x5cfe65
mov edx, dword [ebp - 0xc]
mov eax, 0x5d13e0
call fcn.00407c68
test eax, eax
jle 0x5d0ae0
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x7a8c], 0
je 0x5cffb3
mov eax, dword [0x608d78]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x5d008c
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x608d78]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xf4]
call fcn.004132c4
mov eax, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xc]
call fcn.004078e8
jne 0x5cffa4
mov dl, 1
mov eax, dword [0x452c64]
call fcn.0045c28c
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x608d78]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x14]
test bl, bl
je 0x5cff0e
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x608d78]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5d008c
mov dl, 1
mov eax, dword [0x525870]
call fcn.00527ba4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x608d78]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x7ab0], 0
jg 0x5cff97
fld xword [0x5d13ec]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7890]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5cff90
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x5c]
mov eax, esi
call fcn.005922dc
jmp 0x5cff97
mov eax, esi
call fcn.0052f420
lea eax, [ebp - 0x2c]
call fcn.0041b3c8
jmp 0x5d008c
inc dword [ebp - 0x28]
dec edi
jne 0x5cfe90
jmp 0x5d008c
mov edx, dword [ebp - 0xc]
mov eax, 0x5d1398
call fcn.00407c68
dec eax
jge 0x5cffda
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7890]
mov edx, dword [eax + 8]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00407644
mov eax, dword [ebp - 0xc]
call fcn.0041476c
test al, al
je 0x5d008c
mov dl, 1
mov eax, dword [0x452c64]
call fcn.0045c28c
mov esi, eax
test bl, bl
je 0x5d000b
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x5d008c
mov dl, 1
mov eax, dword [0x525870]
call fcn.00527ba4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x7ab0], 0
jg 0x5d0084
fld xword [0x5d13ec]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7890]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5d007d
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x5c]
mov eax, esi
call fcn.005922dc
jmp 0x5d0084
mov eax, esi
call fcn.0052f420
lea eax, [ebp - 0x2c]
call fcn.0041b3c8
test esi, esi
je 0x5d0ae0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5d0ae0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea eax, [edx + eax*8]
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x5d03e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x3c]
mov dword [eax], esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00457314
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00456324
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.005caf84
mov edx, 4
call fcn.0040e6e0
mov edx, dword [0x602108]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x24], al
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.0045ccac
cmp al, 7
je 0x5d019f
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dl, 7
call fcn.0045df08
push 0xff00ff
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov cl, 0xff
call fcn.00593238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d0ae0
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x3c]
add eax, 8
call fcn.00407160
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x3c]
add eax, 4
call fcn.00407160
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.005caf84
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x1c], ax
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.005caf84
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
lea edi, [eax + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004073b4
mov eax, dword [ebp - 0x100]
mov edx, 0x5d139c
call fcn.005c62c8
cmp eax, 4
jle 0x5d02ea
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.005caf84
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x2c], ax
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.005caf84
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x2e], ax
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.005caf84
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x30], ax
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.005caf84
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x32], ax
jmp 0x5d0369
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea eax, [edx + eax*8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 0xc
xor edx, edx
call fcn.005c5df4
mov edx, dword [ebp - 0x40]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x40]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x40]
add eax, 0xc
xor edx, edx
call fcn.005c5e08
mov edx, dword [ebp - 0x40]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x40]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 0x2c]
mov edx, dword [ebp - 0x40]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 0x2e]
mov edx, dword [ebp - 0x40]
mov word [edx + 0x32], ax
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004073b4
mov eax, dword [ebp - 0x104]
mov edx, 0x5d139c
call fcn.005c62c8
cmp eax, 8
jle 0x5d03ac
mov ecx, 0x5d139c
mov edx, dword [ebp - 4]
mov eax, 9
call fcn.005caf84
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x22], ax
jmp 0x5d03b5
mov eax, dword [ebp - 0x3c]
mov word [eax + 0x22], 1
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x24], 0
jne 0x5d03e5
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 0x10]
call fcn.005cb09c
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x34], eax
ret
mov edx, dword [ebp - 4]
mov eax, 0x5d1404
call fcn.00407c68
test eax, eax
jle 0x5d0767
mov eax, dword [ebp - 4]
mov edx, 0x5d1404
call fcn.004078e8
je 0x5d0ae0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea ebx, [edx + eax*8 - 0x38]
lea ecx, [ebp - 0x10c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.004132c4
mov edx, dword [ebp - 0x108]
lea eax, [ebx + 8]
call fcn.00407160
lea ecx, [ebp - 0x114]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.004132c4
mov edx, dword [ebp - 0x110]
lea eax, [ebx + 4]
call fcn.00407160
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x11c]
mov ecx, 0x5d1408
mov eax, 2
call fcn.005c604c
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 8]
call fcn.0040738c
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.005caf84
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.005caf84
push eax
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005caf84
push eax
mov ecx, 0x5d1448
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005caf84
pop edx
pop ecx
call fcn.0040b00c
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x124]
mov ecx, 0x5d1408
mov eax, 3
call fcn.005c604c
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 8]
call fcn.0040738c
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005caf84
mov word [ebx + 0x1c], ax
cmp word [ebx + 0x1c], 1
jge 0x5d05c6
mov word [ebx + 0x1c], 1
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005caf84
mov word [ebx + 0x1e], ax
cmp word [ebx + 0x1e], 0
jge 0x5d05e9
mov word [ebx + 0x1e], 0
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x12c]
mov ecx, 0x5d1428
mov eax, 3
call fcn.005c604c
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0xc]
call fcn.0040738c
cmp dword [ebp - 0xc], 0
je 0x5d0647
mov eax, dword [ebp - 0xc]
call fcn.00414260
mov word [ebx + 0x20], ax
cmp word [ebx + 0x20], 0
jge 0x5d064d
mov word [ebx + 0x20], 0
jmp 0x5d064d
mov word [ebx + 0x20], 0
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x134]
mov ecx, 0x5d1428
mov eax, 4
call fcn.005c604c
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0xc]
call fcn.0040738c
cmp dword [ebp - 0xc], 0
je 0x5d069e
mov eax, dword [ebp - 0xc]
call fcn.00414260
mov word [ebx + 0x22], ax
jmp 0x5d06a4
mov word [ebx + 0x22], 1
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x5d073d
cmp word [ebx + 0x20], 0
je 0x5d06e7
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x5d073d
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea eax, [edx + eax*8 - 0x38]
call fcn.0051268c
mov word [ebx + 0x2c], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea eax, [edx + eax*8 - 0x38]
call fcn.005126c4
mov word [ebx + 0x2e], ax
movzx eax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
movzx eax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.005cb09c
mov dword [ebx + 0x34], eax
jmp 0x5d0ae0
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.0041368c
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 4]
call fcn.004071b4
mov edx, dword [ebp - 4]
mov eax, 0x5d13c8
call fcn.00407c68
test eax, eax
jle 0x5d0ae0
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x7a8c], 0
je 0x5d083e
mov eax, dword [0x608d78]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x5d0889
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x608d78]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x13c]
call fcn.004132c4
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 4]
call fcn.004078e8
jne 0x5d0836
mov dl, 1
mov eax, dword [0x452c64]
call fcn.0045c28c
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x608d78]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x608d78]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5d0889
inc dword [ebp - 0x28]
dec edi
jne 0x5d07c3
jmp 0x5d0889
mov edx, dword [ebp - 4]
mov eax, 0x5d1398
call fcn.00407c68
dec eax
jge 0x5d0865
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7890]
mov edx, dword [eax + 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407644
mov eax, dword [ebp - 4]
call fcn.0041476c
test al, al
je 0x5d0889
mov dl, 1
mov eax, dword [0x452c64]
call fcn.0045c28c
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x5d0ae0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5d0ae0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea eax, [edx + eax*8 - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], esi
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00457314
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.0045cbac
call fcn.00456324
mov eax, dword [ebp - 0x44]
add eax, 8
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x44]
add eax, 4
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
xor eax, eax
push ebp
push 0x5d0ad6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.0045ccac
cmp al, 7
je 0x5d0994
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dl, 7
call fcn.0045df08
push 0xff00ff
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov cl, 0xff
call fcn.00593238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d0ae0
lea ecx, [ebp - 0x144]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004132c4
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x44]
add eax, 8
call fcn.00407160
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.004132c4
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x44]
add eax, 4
call fcn.00407160
mov eax, dword [ebp - 0x44]
mov word [eax + 0x1e], 1
mov eax, dword [ebp - 0x44]
mov word [eax + 0x1c], 3
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x5c]
lea edi, [eax + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
add eax, 0xc
xor edx, edx
call fcn.005c5df4
mov edx, dword [ebp - 0x44]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x44]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x44]
add eax, 0xc
xor edx, edx
call fcn.005c5e08
mov edx, dword [ebp - 0x44]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x44]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x2c]
mov edx, dword [ebp - 0x44]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x2e]
mov edx, dword [ebp - 0x44]
mov word [edx + 0x32], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.005cb09c
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x34], eax
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x38]
jne 0x5cf70c
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x5cf6d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d0b2e
cmp dword [ebp - 0x1c], 0
je 0x5d0b13
lea eax, [ebp - 0x1c]
call fcn.0041b3c8
cmp dword [ebp - 0x18], 0
je 0x5d0b21
lea eax, [ebp - 0x18]
call fcn.0041b3c8
xor eax, eax
mov dword [ebp - 0x14], eax
ret
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5d125e
mov ecx, 0x5d1474
mov dl, 1
mov eax, dword [0x449450]
call fcn.0044acd0
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.0044b3b4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044b41c
mov dl, 1
mov eax, dword [0x42cb98]
call fcn.00438bc8
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00438c44
mov dl, 1
mov eax, dword [0x42cb98]
call fcn.00438bc8
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.00438c44
xor eax, eax
push ebp
push 0x5d1257
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044b41c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5d122b
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x154]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004132c4
mov eax, dword [ebp - 0x150]
mov edx, 0x5d1358
call fcn.004078e8
je 0x5d121f
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5d121f
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 0
push 0x5d148c
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x160]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x7a88], 0
je 0x5d1005
mov edx, dword [ebp - 4]
mov eax, 0x5d1404
call fcn.00407c68
test eax, eax
jle 0x5d1005
mov eax, dword [ebp - 4]
mov edx, 0x5d1404
call fcn.004078e8
je 0x5d1213
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov esi, dword [ebp - 0x28]
mov eax, esi
add esi, esi
add esi, esi
add esi, esi
sub esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
lea ebx, [eax + esi*8 - 0x38]
lea ecx, [ebp - 0x168]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.004132c4
mov edx, dword [ebp - 0x164]
lea eax, [ebx + 8]
call fcn.00407160
lea ecx, [ebp - 0x170]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x16c]
call fcn.004132c4
mov edx, dword [ebp - 0x16c]
lea eax, [ebx + 4]
call fcn.00407160
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x178]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x178]
mov ecx, 0x5d1408
mov eax, 2
call fcn.005c604c
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 8]
call fcn.0040738c
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.005caf84
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.005caf84
push eax
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005caf84
push eax
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005caf84
pop edx
pop ecx
call fcn.0040b00c
push esi
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x180]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x180]
mov ecx, 0x5d1408
mov eax, 3
call fcn.005c604c
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 8]
call fcn.0040738c
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005caf84
mov edi, eax
mov word [ebx + 0x1c], di
cmp di, 1
jge 0x5d0e82
mov word [ebx + 0x1c], 1
mov ecx, 0x5d1428
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005caf84
mov edi, eax
mov word [ebx + 0x1e], di
test di, di
jge 0x5d0ea5
mov word [ebx + 0x1e], 0
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x188]
mov ecx, 0x5d1428
mov eax, 3
call fcn.005c604c
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0xc]
call fcn.0040738c
cmp dword [ebp - 0xc], 0
je 0x5d0f03
mov eax, dword [ebp - 0xc]
call fcn.00414260
mov edi, eax
mov word [ebx + 0x20], di
test di, di
jge 0x5d0f09
mov word [ebx + 0x20], 0
jmp 0x5d0f09
mov word [ebx + 0x20], 0
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004073b4
mov edx, dword [ebp - 0x190]
mov ecx, 0x5d1428
mov eax, 4
call fcn.005c604c
mov edx, dword [ebp - 0x18c]
lea eax, [ebp - 0xc]
call fcn.0040738c
cmp dword [ebp - 0xc], 0
je 0x5d0f5a
mov eax, dword [ebp - 0xc]
call fcn.00414260
mov word [ebx + 0x22], ax
jmp 0x5d0f60
mov word [ebx + 0x22], 1
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x5d0fe8
cmp word [ebx + 0x20], 0
je 0x5d0fa3
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x5d0fe8
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.005c5df4
movsx edx, word [ebx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2c], ax
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.005c5e08
movsx edx, word [ebx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2e], ax
movzx eax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
movzx eax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
lea edx, [eax + esi*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.005cb09c
mov dword [ebx + 0x34], eax
jmp 0x5d1213
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 4]
call fcn.0041368c
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 4]
call fcn.004071b4
mov edx, dword [ebp - 4]
mov eax, 0x5d13c8
call fcn.00407c68
test eax, eax
jle 0x5d1213
mov edx, dword [ebp - 4]
mov eax, 0x5d1398
call fcn.00407c68
dec eax
jge 0x5d105d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7890]
mov edx, dword [eax + 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407644
mov eax, dword [ebp - 4]
call fcn.0041476c
test al, al
je 0x5d1213
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7894]
call fcn.004089e8
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x7894
mov ecx, 1
mov edx, dword [0x5125ec]
call fcn.00408bb0
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x7894]
lea eax, [edx + eax*8 - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 8
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x48]
add eax, 4
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
xor eax, eax
push ebp
push 0x5d11cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x452c64]
call fcn.0045c28c
mov ebx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], ebx
mov eax, ebx
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
call fcn.0045ccac
cmp al, 7
je 0x5d115b
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dl, 7
call fcn.0045df08
push 0xff00ff
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov cl, 0xff
call fcn.00593238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d11d6
lea ecx, [ebp - 0x19c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.004132c4
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x48]
add eax, 8
call fcn.00407160
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1a4]
lea edx, [ebp - 0x1a0]
call fcn.004132c4
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x48]
add eax, 4
call fcn.00407160
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x38]
jne 0x5d0c58
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x5d0be2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d125e
cmp dword [ebp - 0x1c], 0
je 0x5d1246
lea eax, [ebp - 0x1c]
call fcn.0041b3c8
lea eax, [ebp - 0x14]
call fcn.0041b3c8
lea eax, [ebp - 0x18]
call fcn.0041b3c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d131b
lea eax, [ebp - 0x1a4]
mov edx, 5
call fcn.00407158
lea eax, [ebp - 0x190]
mov edx, 8
call fcn.00406330
lea eax, [ebp - 0x170]
mov edx, 0xf
call fcn.00407158
lea eax, [ebp - 0x134]
mov edx, 8
call fcn.00406330
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.00407158
lea eax, [ebp - 0x104]
mov edx, 2
call fcn.00406330
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.00407158
lea eax, [ebp - 0xf0]
mov edx, 2
call fcn.00406330
lea eax, [ebp - 0xe8]
mov edx, 0x23
call fcn.00407158
lea eax, [ebp - 0x4c]
call fcn.00407150
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407158
ret