Function at 0x584ba4
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x584bac
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x587187
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00587e28
cmp dword [0x5aaa78], 0
je 0x5863fe
mov eax, dword [0x5aaa78]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x5871a4
mov edx, 0x5871cc
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x13c], 0
je 0x584cd7
mov eax, dword [0x5aab94]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x584d21
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x3c]
call fcn.00412954
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
call fcn.0040735c
jne 0x584cc9
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
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 [0x5aab94]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
call fcn.0045bfa4
call fcn.0045670c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
call fcn.0045bfa4
call fcn.0045571c
jmp 0x584d21
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x584c3d
jmp 0x584d21
mov edx, dword [ebp - 4]
mov eax, 0x5871f0
call fcn.004076dc
dec eax
jge 0x584cfe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407158
cmp dword [ebp - 4], 0
je 0x584d21
mov eax, dword [ebp - 4]
call fcn.00413d68
test al, al
je 0x584d21
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 6
call fcn.0045d300
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov edx, 0xff00ff
call fcn.0045d468
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x42c0e0]
call fcn.00438058
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x42c0e0]
call fcn.00438058
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5863f7
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 0x5863c8
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x40]
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 0x5863bc
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
mov edx, 0x5871cc
call fcn.0040735c
jne 0x584e2d
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, 0x5871a4
call fcn.0040735c
je 0x5863b0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 4], 0
je 0x5863b0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x585687
sub ax, 0x1f
je 0x58505e
sub ax, 0x1e
je 0x58521e
sub ax, 0x20
jne 0x585c25
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
add esp, 4
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x54]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.00406c84
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov byte [eax + ebx*4 + 0x24], 1
lea eax, [ebp - 0x6c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x6c]
call fcn.0041385c
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x70]
call fcn.0041385c
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x74]
call fcn.0041385c
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x78]
call fcn.0041385c
pop edx
pop ecx
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 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 + 0x94]
mov word [eax + ebx*4 + 0x1c], 1
lea eax, [ebp - 0x7c]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x7c]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x22], ax
lea eax, [ebp - 4]
call fcn.00406530
call fcn.00406ff4
cmp eax, 0x18
jle 0x585049
lea eax, [ebp - 0x80]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x80]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
jmp 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 + 0x1e], 0
jmp 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
add esp, 4
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x84]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.00406c84
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov byte [eax + ebx*4 + 0x24], 2
lea eax, [ebp - 0x8c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x8c]
call fcn.0041385c
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x90]
call fcn.0041385c
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x94]
call fcn.0041385c
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x98]
call fcn.0041385c
pop edx
pop ecx
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 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 - 0x9c]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0x9c]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1c], ax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xa0]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
jmp 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
add esp, 4
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa4]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.00406c84
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov byte [eax + ebx*4 + 0x24], 0
lea eax, [ebp - 0xac]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xac]
call fcn.0041385c
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xb0]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xb0]
call fcn.0041385c
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xb4]
call fcn.0041385c
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xb8]
call fcn.0041385c
pop edx
pop ecx
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 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 - 0xbc]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xbc]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xc0]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xc4]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xc8]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xcc]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1c], ax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xd0]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xd4]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x22], ax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.004073c4
mov eax, dword [ebp - 0xd8]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x20], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movsx eax, word [eax + ebx*4 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x30]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x32]
add eax, edx
test eax, eax
jne 0x5863b0
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 + 0x20], 0
je 0x5855d9
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movzx eax, word [edx + eax*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
jmp 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.0057b0c0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.0057b0d4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
jmp 0x5863b0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 1
call fcn.0057b2e8
mov edx, dword [ebp - 0xc]
mov eax, 0x587220
call fcn.004076dc
test eax, eax
setg bl
test bl, bl
jne 0x5856c8
mov edx, dword [ebp - 0xc]
mov eax, 0x587238
call fcn.004076dc
test eax, eax
jle 0x5863b0
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x13c], 0
je 0x5857c8
mov eax, dword [0x5aab94]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x58584c
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xdc]
call fcn.00412954
mov eax, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xc]
call fcn.0040735c
jne 0x5857b9
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
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 0x585771
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x58584c
mov dl, 1
mov eax, dword [0x534a58]
call fcn.00536f80
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
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, esi
call fcn.0053e36c
lea eax, [ebp - 0x2c]
call fcn.0041a9ac
jmp 0x58584c
inc dword [ebp - 0x28]
dec edi
jne 0x5856f3
jmp 0x58584c
mov edx, dword [ebp - 0xc]
mov eax, 0x5871f0
call fcn.004076dc
dec eax
jge 0x5857ef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00407158
mov eax, dword [ebp - 0xc]
call fcn.00413d68
test al, al
je 0x58584c
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov esi, eax
test bl, bl
je 0x585819
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x58584c
mov dl, 1
mov eax, dword [0x534a58]
call fcn.00536f80
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, esi
call fcn.0053e36c
lea eax, [ebp - 0x2c]
call fcn.0041a9ac
test esi, esi
je 0x5863b0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
add esp, 4
xor eax, eax
push ebp
push 0x585c1b
push dword fs:[eax]
mov dword fs:[eax], esp
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov dword [edx + eax*4], esi
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4]
call fcn.0045bfa4
call fcn.0045670c
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4]
call fcn.0045bfa4
call fcn.0045571c
lea eax, [ebp - 0xe0]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.0057b2e8
mov eax, dword [ebp - 0xe0]
call fcn.0041385c
mov edx, 4
call fcn.0040dd7c
mov edx, dword [0x5a4828]
movzx eax, byte [edx + eax]
imul edx, dword [ebp - 0x28], 0xd
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x94]
mov byte [ecx + edx*4 + 0x24], al
test bl, bl
je 0x585960
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movzx eax, byte [edx + eax*4 + 0x24]
sub al, 1
je 0x585960
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4]
mov dl, 6
call fcn.0045d300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5863b0
lea ecx, [ebp - 0xe4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xe4]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.00406c84
lea ecx, [ebp - 0xe8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.0057b2e8
mov eax, dword [ebp - 0xec]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1c], ax
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.0057b2e8
mov eax, dword [ebp - 0xf0]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 + 0x22], 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 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 edx, 0x5871f4
mov eax, dword [ebp - 4]
call fcn.0057b45c
cmp eax, 4
jle 0x585b70
lea eax, [ebp - 0xf4]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.0057b2e8
mov eax, dword [ebp - 0xf4]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
lea eax, [ebp - 0xf8]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.0057b2e8
mov eax, dword [ebp - 0xf8]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
lea eax, [ebp - 0xfc]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.0057b2e8
mov eax, dword [ebp - 0xfc]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
lea eax, [ebp - 0x100]
push eax
mov ecx, 0x5871f4
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.0057b2e8
mov eax, dword [ebp - 0x100]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
jmp 0x585c1a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.0057b0c0
mov edx, dword [ebp - 0x38]
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 + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.0057b0d4
mov edx, dword [ebp - 0x38]
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 + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
ret
mov edx, dword [ebp - 4]
mov eax, 0x587250
call fcn.004076dc
test eax, eax
jle 0x585ff4
mov eax, dword [ebp - 4]
mov edx, 0x587250
call fcn.0040735c
je 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
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.00412954
mov edx, dword [ebp - 0x104]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.00406c84
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.00412954
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 - 0xc], edx
lea eax, [ebp - 8]
push eax
mov ecx, 0x587254
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.0057b2e8
lea eax, [ebp - 0x114]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.0057b2e8
mov eax, dword [ebp - 0x114]
call fcn.0041385c
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.0057b2e8
mov eax, dword [ebp - 0x118]
call fcn.0041385c
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0057b2e8
mov eax, dword [ebp - 0x11c]
call fcn.0041385c
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x587294
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0057b2e8
mov eax, dword [ebp - 0x120]
call fcn.0041385c
pop edx
pop ecx
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 - 0x28]
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 - 8]
push eax
mov ecx, 0x587254
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.0057b2e8
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0057b2e8
mov eax, dword [ebp - 0x124]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x18], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x18], 1
jge 0x585e3b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x18], 1
lea eax, [ebp - 0x128]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0057b2e8
mov eax, dword [ebp - 0x128]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x16], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x16], 0
jge 0x585e92
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x16], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.0057b2e8
cmp dword [ebp - 0xc], 0
je 0x585eeb
mov eax, dword [ebp - 0xc]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x14], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x14], 0
jge 0x585efb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
jmp 0x585efb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.0057b2e8
cmp dword [ebp - 0xc], 0
je 0x585f2f
mov eax, dword [ebp - 0xc]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x12], ax
jmp 0x585f3f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x12], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [eax + ebx*4 - 0x34]
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 0x5863b0
cmp word [esi + 0x20], 0
je 0x585f96
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 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.0057b0c0
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 + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.0057b0d4
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
jmp 0x5863b0
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
call fcn.00412d1c
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 4]
call fcn.00406cd8
mov edx, dword [ebp - 4]
mov eax, 0x587220
call fcn.004076dc
test eax, eax
jle 0x5863b0
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x13c], 0
je 0x5860cb
mov eax, dword [0x5aab94]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x586116
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x130]
call fcn.00412954
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 4]
call fcn.0040735c
jne 0x5860c3
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x5aab94]
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 [0x5aab94]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x586116
inc dword [ebp - 0x28]
dec edi
jne 0x586050
jmp 0x586116
mov edx, dword [ebp - 4]
mov eax, 0x5871f0
call fcn.004076dc
dec eax
jge 0x5860f2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407158
mov eax, dword [ebp - 4]
call fcn.00413d68
test al, al
je 0x586116
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x5863b0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5863b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
add esp, 4
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov dword [edx + eax*4 - 0x34], esi
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
call fcn.0045bfa4
call fcn.0045670c
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
call fcn.0045bfa4
call fcn.0045571c
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
lea eax, [edx + eax*4 - 0x2c]
xor edx, edx
call fcn.00406c84
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
lea eax, [edx + eax*4 - 0x30]
xor edx, edx
call fcn.00406c84
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0xc], ecx
xor eax, eax
push ebp
push 0x5863a6
push dword fs:[eax]
mov dword fs:[eax], esp
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
mov dl, 6
call fcn.0045d300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5863b0
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00412954
mov edx, dword [ebp - 0x134]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.00406c84
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00412954
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x18], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 - 0x28]
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 + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.0057b0c0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 - 0x18]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.0057b0d4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 - 0x16]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 - 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 4], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 - 6]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 2], ax
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x34]
jne 0x584def
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x584db7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5869cb
cmp dword [ebp - 0x1c], 0
je 0x5863e3
lea eax, [ebp - 0x1c]
call fcn.0041a9ac
cmp dword [ebp - 0x18], 0
je 0x5863f1
lea eax, [ebp - 0x18]
call fcn.0041a9ac
xor eax, eax
mov dword [ebp - 0x14], eax
ret
or ebx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
call fcn.00435e0c
dec eax
test eax, eax
jl 0x586447
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x20]
call fcn.0058c9a4
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x38]
call fcn.0040735c
jne 0x58643f
mov ebx, dword [ebp - 0x20]
jmp 0x586447
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x58641c
test ebx, ebx
jl 0x58714f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
cmp dword [eax + 0x1c], 0
je 0x5864f5
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x138], 0
je 0x58647f
mov eax, dword [ebp - 0x10]
add eax, 0x138
call fcn.0041a9ac
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov edx, 0xff00ff
call fcn.0045d468
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 6
call fcn.0045d300
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
call fcn.00435e0c
dec eax
test eax, eax
jl 0x5869cb
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
cmp dword [eax + 0x10], 0
je 0x586635
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
cmp dword [eax + 0xc], 0
je 0x586635
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov edi, eax
imul esi, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov dword [eax + esi*4 - 0x34], edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
mov edx, dword [eax + 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + esi*4 - 0x34]
mov dl, 6
call fcn.0045d300
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + esi*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + esi*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea edi, [eax + esi*4 - 0x28]
lea esi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x5866c7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
mov eax, dword [eax + 0x28]
pop edx
pop ecx
call fcn.00432508
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
lea esi, [ebp - 0x68]
lea edi, [edx + eax*4 - 0x28]
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 + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
mov eax, dword [eax + 0x18]
lea edx, [ebp - 0x144]
call fcn.00412954
mov edx, dword [ebp - 0x144]
imul esi, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x2c]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x148]
call fcn.00412954
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x30]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x18], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x16], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
cmp word [eax + esi*4 - 0x18], 0
jne 0x5867bc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + esi*4 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
cmp word [eax + esi*4 - 0x18], 0
jne 0x5867dd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + esi*4 - 0x18], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x34]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x14], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x38]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x12], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, byte [eax + 0x3c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov byte [edx + esi*4 - 0x10], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x48]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x40]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 4], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.0058c9a4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.0058f950
movzx eax, word [eax + 0x4c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 2], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea edi, [eax + esi*4 - 0x34]
movsx eax, word [edi + 0x2c]
movsx edx, word [edi + 0x2e]
add eax, edx
movsx edx, word [edi + 0x30]
add eax, edx
movsx edx, word [edi + 0x32]
add eax, edx
test eax, eax
jne 0x5869af
cmp word [edi + 0x20], 0
je 0x586956
movzx eax, word [edi + 0x20]
mov word [edi + 0x2c], ax
movzx eax, word [edi + 0x20]
mov word [edi + 0x2e], ax
movzx eax, word [edi + 0x20]
mov word [edi + 0x30], ax
movzx eax, word [edi + 0x20]
mov word [edi + 0x32], ax
jmp 0x5869af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x28]
xor edx, edx
call fcn.0057b0c0
movsx edx, word [edi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [edi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x28]
xor edx, edx
call fcn.0057b0d4
movsx edx, word [edi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [edi + 0x2e], ax
movzx eax, word [edi + 0x2c]
mov word [edi + 0x30], ax
movzx eax, word [edi + 0x2e]
mov word [edi + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + esi*4 - 0xc], edx
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x58651e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x58714f
mov ecx, 0x5872c0
mov dl, 1
mov eax, dword [0x448848]
call fcn.0044a0c8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044a814
mov dl, 1
mov eax, dword [0x42c0e0]
call fcn.00438058
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x42c0e0]
call fcn.00438058
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x587148
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.0044a814
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x58711c
inc eax
mov dword [ebp - 0x30], 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.00412954
mov eax, dword [ebp - 0x14c]
mov edx, 0x5871cc
call fcn.0040735c
je 0x587110
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 0x587110
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
push 0x5872d8
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 + 0x138], 0
je 0x586ef7
mov edx, dword [ebp - 4]
mov eax, 0x587250
call fcn.004076dc
test eax, eax
jle 0x586ef7
mov eax, dword [ebp - 4]
mov edx, 0x587250
call fcn.0040735c
je 0x587104
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
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.00412954
mov edx, dword [ebp - 0x160]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.00406c84
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.00412954
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 - 0xc], edx
lea eax, [ebp - 8]
push eax
mov ecx, 0x587254
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.0057b2e8
lea eax, [ebp - 0x170]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.0057b2e8
mov eax, dword [ebp - 0x170]
call fcn.0041385c
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x174]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.0057b2e8
mov eax, dword [ebp - 0x174]
call fcn.0041385c
push eax
lea eax, [ebp - 0x178]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0057b2e8
mov eax, dword [ebp - 0x178]
call fcn.0041385c
push eax
lea eax, [ebp - 0x17c]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0057b2e8
mov eax, dword [ebp - 0x17c]
call fcn.0041385c
pop edx
pop ecx
call fcn.00432508
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 - 0x28]
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 - 8]
push eax
mov ecx, 0x587254
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.0057b2e8
lea eax, [ebp - 0x180]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0057b2e8
mov eax, dword [ebp - 0x180]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x18], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x18], 1
jge 0x586d3e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x18], 1
lea eax, [ebp - 0x184]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0057b2e8
mov eax, dword [ebp - 0x184]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x16], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x16], 0
jge 0x586d95
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x16], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.0057b2e8
cmp dword [ebp - 0xc], 0
je 0x586dee
mov eax, dword [ebp - 0xc]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x14], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x14], 0
jge 0x586dfe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
jmp 0x586dfe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x587274
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.0057b2e8
cmp dword [ebp - 0xc], 0
je 0x586e32
mov eax, dword [ebp - 0xc]
call fcn.0041385c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x12], ax
jmp 0x586e42
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x12], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [eax + ebx*4 - 0x34]
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 0x587104
cmp word [esi + 0x20], 0
je 0x586e99
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 0x587104
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.0057b0c0
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 + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.0057b0d4
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
jmp 0x587104
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.00412d1c
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 4]
call fcn.00406cd8
mov edx, dword [ebp - 4]
mov eax, 0x587220
call fcn.004076dc
test eax, eax
jle 0x587104
mov edx, dword [ebp - 4]
mov eax, 0x5871f0
call fcn.004076dc
dec eax
jge 0x586f4f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407158
mov eax, dword [ebp - 4]
call fcn.00413d68
test al, al
je 0x587104
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.0040845c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x4fa2c8]
call fcn.00408624
add esp, 4
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
xor edx, edx
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
xor edx, edx
call fcn.00406c84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 - 0xc], edx
xor eax, eax
push ebp
push 0x5870a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x45205c]
call fcn.0045b684
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov dword [edx + ebx*4 - 0x34], eax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4 - 0x34]
mov dl, 6
call fcn.0045d300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5870ad
lea ecx, [ebp - 0x190]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x18c]
call fcn.00412954
mov edx, dword [ebp - 0x18c]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.00406c84
lea ecx, [ebp - 0x198]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.00412954
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.00406c84
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x34]
jne 0x586ad7
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x586a61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58714f
cmp dword [ebp - 0x1c], 0
je 0x587137
lea eax, [ebp - 0x1c]
call fcn.0041a9ac
lea eax, [ebp - 0x14]
call fcn.0041a9ac
lea eax, [ebp - 0x18]
call fcn.0041a9ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58718e
lea eax, [ebp - 0x198]
mov edx, 0x4c
call fcn.00406c7c
lea eax, [ebp - 0x58]
mov edx, 8
call fcn.00406c7c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406c7c
ret