Function at 0x5b4cc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x5b4cd0
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5b733b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.005b7ec8
cmp dword [0x728fb4], 0
je 0x5b69d7
mov eax, dword [0x728fb4]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x5b7358
mov edx, 0x5b7380
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x6a151c]
movzx eax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [0x6a151c]
mov word [eax], 0x2e
mov dword [ebp - 0x38], 0x9999999a
mov dword [ebp - 0x34], 0x401d9999
push 0
push 0
mov edx, 0x5b7380
mov ecx, 0x5b73a4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
fstp qword [eax + 0x10]
wait
mov eax, dword [0x6a151c]
movzx edx, word [ebp - 0x2e]
mov word [eax], dx
mov dl, 1
mov eax, dword [0x454e20]
call fcn.0045e448
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x15c], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x160], 0
je 0x5b4e4e
mov eax, dword [0x7290d0]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x5b4e98
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x48]
call fcn.00413908
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
call fcn.00407774
jne 0x5b4e40
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
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 - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
call fcn.0045ed68
call fcn.004594d0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
call fcn.0045ed68
call fcn.004584e0
jmp 0x5b4e98
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x5b4db4
jmp 0x5b4e98
mov edx, dword [ebp - 4]
mov eax, 0x5b73c0
call fcn.00407af4
dec eax
jge 0x5b4e75
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407570
cmp dword [ebp - 4], 0
je 0x5b4e98
mov eax, dword [ebp - 4]
call fcn.00415018
test al, al
je 0x5b4e98
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
call fcn.0045ee68
cmp al, 7
je 0x5b4efb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov dl, 7
call fcn.004600c4
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434ba8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov cl, 0xff
call fcn.00555898
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
mov edx, 0xff00ff
call fcn.0046022c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x42e780]
call fcn.0043a868
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043a8e4
mov dl, 1
mov eax, dword [0x42e780]
call fcn.0043a868
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043a8e4
xor eax, eax
push ebp
push 0x5b69d0
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 0x5b69a1
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x5c]
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 0x5b6995
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, 0x5b7380
call fcn.00407774
jne 0x5b500b
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
mov edx, 0x5b7358
call fcn.00407774
je 0x5b6989
push 0
lea eax, [ebp - 4]
push eax
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]
push eax
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 4], 0
je 0x5b6989
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x5b5a16
sub ax, 0x1f
je 0x5b5299
sub ax, 0x1e
je 0x5b5462
sub ax, 0x20
jne 0x5b60e4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 8]
call fcn.0040708c
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 4]
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov byte [eax + ebx*8 + 0x24], 1
lea eax, [ebp - 0x78]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x78]
call fcn.00414ad8
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x7c]
call fcn.00414ad8
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x80]
call fcn.00414ad8
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x84]
call fcn.00414ad8
pop edx
pop ecx
call fcn.00434ba8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 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 - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 + 0x1c], 1
lea eax, [ebp - 0x88]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x88]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x22], ax
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
cmp word [eax + ebx*8 + 0x1e], 0
jle 0x5b523b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x5b523b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
and word [eax + ebx*8 + 0x22], 0xfffe
lea eax, [ebp - 4]
call fcn.00406684
call fcn.0040740c
cmp eax, 0x18
jle 0x5b5284
lea eax, [ebp - 0x8c]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x8c]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x5b6989
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 + 0x1e], 0
jmp 0x5b6989
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 8]
call fcn.0040708c
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 4]
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov byte [eax + ebx*8 + 0x24], 2
lea eax, [ebp - 0x98]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x98]
call fcn.00414ad8
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x9c]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0x9c]
call fcn.00414ad8
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xa0]
call fcn.00414ad8
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xa4]
call fcn.00414ad8
pop edx
pop ecx
call fcn.00434ba8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 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 - 0xa8]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xa8]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x1c], ax
lea eax, [ebp - 0xac]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xac]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x5b6989
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 8]
call fcn.0040708c
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 4]
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov byte [eax + ebx*8 + 0x24], 0
lea eax, [ebp - 0xb8]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xb8]
call fcn.00414ad8
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xbc]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xbc]
call fcn.00414ad8
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xc0]
call fcn.00414ad8
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xc4]
call fcn.00414ad8
pop edx
pop ecx
call fcn.00434ba8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 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 - 0xc8]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xc8]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2c], ax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xcc]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2e], ax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xd0]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x30], ax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xd4]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x32], ax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xd8]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x1c], ax
lea eax, [ebp - 0xdc]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xdc]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x1e], ax
lea eax, [ebp - 0xe0]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xe0]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x22], 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 + 0xa8]
cmp word [edx + eax*8 + 0x1e], 0
jle 0x5b581d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x5b581d
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005abf90
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x1c]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x2c]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x30]
sub eax, edx
dec eax
jne 0x5b580e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005abfa4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x1e]
inc edx
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x2e]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x32]
sub eax, edx
dec eax
jne 0x5b580e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
or word [eax + ebx*8 + 0x22], 1
jmp 0x5b581d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
and word [eax + ebx*8 + 0x22], 0xfffe
lea eax, [ebp - 0xe4]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 0xe4]
call fcn.00414ad8
mov ebx, dword [ebp - 0x28]
mov edx, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x20], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movsx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x30]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x32]
add eax, edx
test eax, eax
jne 0x5b59ef
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 + 0xa8]
cmp word [edx + eax*8 + 0x20], 0
je 0x5b5946
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 + 0xa8]
movzx eax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x5b59ef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005abf90
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005abfa4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.005b025c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x5b6989
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0xec]
mov ecx, 0x5b73c4
mov eax, 1
call fcn.005ac1c8
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0xc]
call fcn.004072b8
mov edx, dword [ebp - 0xc]
mov eax, 0x5b73f0
call fcn.00407af4
test eax, eax
setg bl
test bl, bl
jne 0x5b5a7e
mov edx, dword [ebp - 0xc]
mov eax, 0x5b7408
call fcn.00407af4
test eax, eax
jle 0x5b6989
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x160], 0
je 0x5b5b9f
mov eax, dword [0x7290d0]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x5b5c44
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xf0]
call fcn.00413908
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
call fcn.00407774
jne 0x5b5b90
mov dl, 1
mov eax, dword [0x454e20]
call fcn.0045e448
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
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 0x5b5b27
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5b5c44
mov dl, 1
mov eax, dword [0x559c3c]
call fcn.0055c110
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
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]
fld xword [0x5b7414]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5b5b7c
mov eax, esi
call fcn.005635bc
jmp 0x5b5b83
mov eax, esi
call fcn.005634fc
lea eax, [ebp - 0x2c]
call fcn.0041d008
jmp 0x5b5c44
inc dword [ebp - 0x28]
dec edi
jne 0x5b5aa9
jmp 0x5b5c44
mov edx, dword [ebp - 0xc]
mov eax, 0x5b73c0
call fcn.00407af4
dec eax
jge 0x5b5bc6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00407570
mov eax, dword [ebp - 0xc]
call fcn.00415018
test al, al
je 0x5b5c44
mov dl, 1
mov eax, dword [0x454e20]
call fcn.0045e448
mov esi, eax
test bl, bl
je 0x5b5bf0
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x5b5c44
mov dl, 1
mov eax, dword [0x559c3c]
call fcn.0055c110
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]
fld xword [0x5b7414]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5b5c35
mov eax, esi
call fcn.005635bc
jmp 0x5b5c3c
mov eax, esi
call fcn.005634fc
lea eax, [ebp - 0x2c]
call fcn.0041d008
test esi, esi
je 0x5b6989
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5b6989
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
xor eax, eax
push ebp
push 0x5b60da
push dword fs:[eax]
mov dword fs:[eax], esp
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 + 0xa8]
mov dword [edx + eax*8], esi
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 + 0xa8]
mov eax, dword [edx + eax*8]
call fcn.0045ed68
call fcn.004594d0
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 + 0xa8]
mov eax, dword [edx + eax*8]
call fcn.0045ed68
call fcn.004584e0
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.005b0158
mov edx, 4
call fcn.0040e7c8
mov edx, dword [0x6a0cb0]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x28]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xa8]
mov byte [ecx + edx*8 + 0x24], al
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 + 0xa8]
mov eax, dword [edx + eax*8]
call fcn.0045ee68
cmp al, 7
je 0x5b5df0
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 + 0xa8]
mov eax, dword [edx + eax*8]
mov dl, 7
call fcn.004600c4
push 1
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 + 0xa8]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
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 + 0xa8]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434ba8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x28]
mov ecx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xa8]
mov eax, dword [ecx + eax*8]
mov cl, 0xff
call fcn.00555898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b6989
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xf4]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 8]
call fcn.0040708c
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 4]
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x1c], ax
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x1e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434ba8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 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 - 0xfc]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004072e0
mov eax, dword [ebp - 0xfc]
mov edx, 0x5b73c4
call fcn.005ac348
cmp eax, 4
jle 0x5b5fa3
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2c], ax
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2e], ax
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x30], ax
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x5b604d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005abf90
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 - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005abfa4
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 - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x32], ax
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004072e0
mov eax, dword [ebp - 0x100]
mov edx, 0x5b73c4
call fcn.005ac348
cmp eax, 8
jle 0x5b6097
mov ecx, 0x5b73c4
mov edx, dword [ebp - 4]
mov eax, 9
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x22], ax
jmp 0x5b60a7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 + 0x22], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
cmp byte [eax + ebx*8 + 0x24], 0
jne 0x5b60d9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.005b025c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x34], ax
ret
mov edx, dword [ebp - 4]
mov eax, 0x5b742c
call fcn.00407af4
test eax, eax
jle 0x5b6533
mov eax, dword [ebp - 4]
mov edx, 0x5b742c
call fcn.00407774
je 0x5b6989
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
lea ecx, [ebp - 0x108]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.00413908
mov edx, dword [ebp - 0x104]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x30]
call fcn.0040708c
lea ecx, [ebp - 0x110]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00413908
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x34]
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x118]
mov ecx, 0x5b7430
mov eax, 2
call fcn.005ac1c8
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
call fcn.004072b8
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.005b0158
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.005b0158
push eax
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005b0158
push eax
mov ecx, 0x5b7470
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005b0158
pop edx
pop ecx
call fcn.00434ba8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 - 0x2c]
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 - 0x11c]
push eax
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x120]
mov ecx, 0x5b7430
mov eax, 3
call fcn.005ac1c8
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 8]
call fcn.004072b8
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x1c], 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 + 0xa8]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x5b6300
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x1a], 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 + 0xa8]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x5b634e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x1a], 0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x128]
mov ecx, 0x5b7450
mov eax, 3
call fcn.005ac1c8
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.004072b8
cmp dword [ebp - 0xc], 0
je 0x5b63d7
mov eax, dword [ebp - 0xc]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x18], 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 + 0xa8]
cmp word [edx + eax*8 - 0x18], 0
jge 0x5b63e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x5b63e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x18], 0
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x130]
mov ecx, 0x5b7450
mov eax, 4
call fcn.005ac1c8
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0xc]
call fcn.004072b8
cmp dword [ebp - 0xc], 0
je 0x5b6442
mov eax, dword [ebp - 0xc]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x5b6452
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [eax + ebx*8 - 0x38]
movsx eax, word [esi + 0x2c]
movsx edx, word [esi + 0x2e]
add eax, edx
movsx edx, word [esi + 0x30]
add eax, edx
movsx edx, word [esi + 0x32]
add eax, edx
test eax, eax
jne 0x5b64ff
cmp word [esi + 0x20], 0
je 0x5b64a6
movzx eax, word [esi + 0x20]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x32], ax
jmp 0x5b64ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005abf90
movsx edx, word [esi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005abfa4
movsx edx, word [esi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x2c]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x2e]
mov word [esi + 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 + 0xa8]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 0x10]
call fcn.005b025c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x5b6989
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00413cd0
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.004070e0
mov edx, dword [ebp - 4]
mov eax, 0x5b73f0
call fcn.00407af4
test eax, eax
jle 0x5b6989
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x160], 0
je 0x5b660a
mov eax, dword [0x7290d0]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x5b6655
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x138]
call fcn.00413908
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 4]
call fcn.00407774
jne 0x5b6602
mov dl, 1
mov eax, dword [0x454e20]
call fcn.0045e448
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x7290d0]
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 [0x7290d0]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5b6655
inc dword [ebp - 0x28]
dec edi
jne 0x5b658f
jmp 0x5b6655
mov edx, dword [ebp - 4]
mov eax, 0x5b73c0
call fcn.00407af4
dec eax
jge 0x5b6631
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407570
mov eax, dword [ebp - 4]
call fcn.00415018
test al, al
je 0x5b6655
mov dl, 1
mov eax, dword [0x454e20]
call fcn.0045e448
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x5b6989
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5b6989
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov dword [eax + ebx*8 - 0x38], esi
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 + 0xa8]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.0045ed68
call fcn.004594d0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045ed68
call fcn.004584e0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x5b697f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045ee68
cmp al, 7
je 0x5b67bc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.004600c4
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
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 + 0xa8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434ba8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.00555898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b6989
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00413908
mov edx, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x30]
call fcn.0040708c
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00413908
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x34]
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x1a], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x1c], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434ba8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 - 0x2c]
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 - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005abf90
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 - 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0xc], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005abfa4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
movsx edx, word [edx + ebx*8 - 0x1a]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0xa], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
movzx eax, word [eax + ebx*8 - 0xa]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea edx, [eax + ebx*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.005b025c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 4], ax
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x5b4fcd
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x5b4f95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b69d7
cmp dword [ebp - 0x1c], 0
je 0x5b69bc
lea eax, [ebp - 0x1c]
call fcn.0041d008
cmp dword [ebp - 0x18], 0
je 0x5b69ca
lea eax, [ebp - 0x18]
call fcn.0041d008
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 0x5b7288
mov ecx, 0x5b749c
mov dl, 1
mov eax, dword [0x44b60c]
call fcn.0044ce8c
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.0044d570
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044d5d8
mov dl, 1
mov eax, dword [0x42e780]
call fcn.0043a868
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043a8e4
mov dl, 1
mov eax, dword [0x42e780]
call fcn.0043a868
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043a8e4
xor eax, eax
push ebp
push 0x5b7281
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.0044d5d8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5b7255
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00413908
mov eax, dword [ebp - 0x14c]
mov edx, 0x5b7380
call fcn.00407774
je 0x5b7249
lea ecx, [ebp - 0x154]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x154]
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 0x5b7249
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
push 0x5b74b4
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x15c], 0
je 0x5b6fa2
mov edx, dword [ebp - 4]
mov eax, 0x5b742c
call fcn.00407af4
test eax, eax
jle 0x5b6fa2
mov eax, dword [ebp - 4]
mov edx, 0x5b742c
call fcn.00407774
je 0x5b723d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
lea ecx, [ebp - 0x164]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.00413908
mov edx, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x30]
call fcn.0040708c
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00413908
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x34]
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x174]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x174]
mov ecx, 0x5b7430
mov eax, 2
call fcn.005ac1c8
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 8]
call fcn.004072b8
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.005b0158
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.005b0158
push eax
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005b0158
push eax
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005b0158
pop edx
pop ecx
call fcn.00434ba8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 - 0x2c]
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 - 0x178]
push eax
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x17c]
mov ecx, 0x5b7430
mov eax, 3
call fcn.005ac1c8
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 8]
call fcn.004072b8
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x1c], 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 + 0xa8]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x5b6d6e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x5b7450
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005b0158
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x1a], 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 + 0xa8]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x5b6dbc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x1a], 0
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x184]
mov ecx, 0x5b7450
mov eax, 3
call fcn.005ac1c8
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0xc]
call fcn.004072b8
cmp dword [ebp - 0xc], 0
je 0x5b6e45
mov eax, dword [ebp - 0xc]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x18], 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 + 0xa8]
cmp word [edx + eax*8 - 0x18], 0
jge 0x5b6e55
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x5b6e55
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x18], 0
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x18c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004072e0
mov edx, dword [ebp - 0x18c]
mov ecx, 0x5b7450
mov eax, 4
call fcn.005ac1c8
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0xc]
call fcn.004072b8
cmp dword [ebp - 0xc], 0
je 0x5b6eb0
mov eax, dword [ebp - 0xc]
call fcn.00414ad8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x5b6ec0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea esi, [eax + ebx*8 - 0x38]
movsx eax, word [esi + 0x2c]
movsx edx, word [esi + 0x2e]
add eax, edx
movsx edx, word [esi + 0x30]
add eax, edx
movsx edx, word [esi + 0x32]
add eax, edx
test eax, eax
jne 0x5b6f6d
cmp word [esi + 0x20], 0
je 0x5b6f14
movzx eax, word [esi + 0x20]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x32], ax
jmp 0x5b6f6d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005abf90
movsx edx, word [esi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005abfa4
movsx edx, word [esi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x2c]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x2e]
mov word [esi + 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 + 0xa8]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.005b025c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov word [edx + ebx*8 - 4], ax
jmp 0x5b723d
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 4]
call fcn.00413cd0
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 4]
call fcn.004070e0
mov edx, dword [ebp - 4]
mov eax, 0x5b73f0
call fcn.00407af4
test eax, eax
jle 0x5b723d
mov edx, dword [ebp - 4]
mov eax, 0x5b73c0
call fcn.00407af4
dec eax
jge 0x5b6ffa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407570
mov eax, dword [ebp - 4]
call fcn.00415018
test al, al
je 0x5b723d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
call fcn.00408914
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov ecx, 1
mov edx, dword [0x514bac]
call fcn.00408adc
add esp, 4
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.0040708c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x5b71dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x454e20]
call fcn.0045e448
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xa8]
mov dword [edx + ebx*8 - 0x38], eax
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 + 0xa8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045ee68
cmp al, 7
je 0x5b714d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.004600c4
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
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 + 0xa8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434ba8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.00555898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b71e6
lea ecx, [ebp - 0x198]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.00413908
mov edx, dword [ebp - 0x194]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x30]
call fcn.0040708c
lea ecx, [ebp - 0x1a0]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
call fcn.00413908
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8 - 0x34]
call fcn.0040708c
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x5b6b01
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x5b6a8b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b7288
cmp dword [ebp - 0x1c], 0
je 0x5b7270
lea eax, [ebp - 0x1c]
call fcn.0041d008
lea eax, [ebp - 0x14]
call fcn.0041d008
lea eax, [ebp - 0x18]
call fcn.0041d008
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b7345
lea eax, [ebp - 0x1a0]
mov edx, 5
call fcn.00407084
lea eax, [ebp - 0x18c]
mov edx, 8
call fcn.004064ac
lea eax, [ebp - 0x16c]
mov edx, 0xf
call fcn.00407084
lea eax, [ebp - 0x130]
mov edx, 8
call fcn.004064ac
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.00407084
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.004064ac
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.00407084
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.004064ac
lea eax, [ebp - 0xe4]
mov edx, 0x23
call fcn.00407084
lea eax, [ebp - 0x48]
call fcn.0040707c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407084
ret