Function at 0x58dad8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x58dae1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58fe94
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004c9044
mov dword [ebp - 0x74], eax
cmp dword [0x5ac7c4], 0
je 0x58db2a
mov eax, 0x5ac7c4
call fcn.0040edc4
mov eax, 0x5ac7c8
call fcn.0040edc4
cmp byte [0x5ac50b], 0
je 0x58dbc9
cmp byte [0x5ac508], 0
jne 0x58dbc9
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x9c]
call fcn.004097a0
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x58feac
call fcn.00404cb0
mov eax, dword [ebp - 0x98]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
call fcn.0058d9cc
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa4]
call fcn.004097a0
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 0x58fed4
call fcn.00404cb0
mov eax, dword [ebp - 0xa0]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x18], 0xffffffff
jle 0x58dc10
lea eax, [ebp - 0xac]
imul edx, dword [ebp - 0x18], 0x69
mov ecx, dword [0x5ac6f4]
lea edx, [ecx + edx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.004091c4
mov eax, dword [ebp - 0xa8]
mov edx, 0x58fefc
call fcn.00404db0
je 0x58dc14
xor eax, eax
jmp 0x58dc16
mov al, 1
mov byte [0x5ac7e8], al
cmp dword [ebp - 0x18], 0xffffffff
jle 0x58dc62
lea eax, [ebp - 0xb4]
imul edx, dword [ebp - 0x18], 0x69
mov ecx, dword [0x5ac6f4]
lea edx, [ecx + edx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.004091c4
mov eax, dword [ebp - 0xb0]
mov edx, 0x58ff0c
call fcn.00404db0
je 0x58dc66
xor eax, eax
jmp 0x58dc68
mov al, 1
mov byte [0x5ac7e9], al
cmp dword [ebp - 0x18], 0xffffffff
jle 0x58dca1
lea eax, [ebp - 0xb8]
imul edx, dword [ebp - 0x18], 0x69
mov ecx, dword [0x5ac6f4]
lea edx, [ecx + edx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
mov eax, dword [ebp - 0xb8]
call fcn.004c8b7c
mov dword [ebp - 0x3c], eax
jmp 0x58dca6
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x58dcb2
mov byte [ebp - 0x76], 1
jmp 0x58dcb6
mov byte [ebp - 0x76], 0
mov dl, 1
mov eax, dword [0x48209c]
call fcn.00482878
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
call fcn.0044dbf8
mov edx, eax
mov eax, dword [ebp - 0x48]
call fcn.0048286c
mov eax, dword [ebp - 4]
call fcn.0044dc3c
mov edx, eax
mov eax, dword [ebp - 0x48]
call fcn.004826bc
mov eax, dword [0x5ac72c]
push eax
mov eax, dword [ebp - 0x48]
call fcn.0048322c
xor ecx, ecx
xor edx, edx
call fcn.00425808
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 8
call fcn.0040330c
cmp dword [0x5ac7cc], 1
jle 0x58de0e
mov eax, dword [0x5ac7cc]
dec eax
test eax, eax
jle 0x58de0e
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 1
lea edi, [ebp - 0x54]
mov dword [ebp - 0x84], 0x5ac7d4
mov esi, 0x5ac730
mov eax, dword [0x5a60a8]
mov eax, dword [eax]
xor edx, edx
call fcn.0046cf68
call fcn.0046cc84
mov ebx, eax
mov eax, dword [0x5a60a8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x7c]
call fcn.0046cf68
call fcn.0046cc84
cmp ebx, eax
jne 0x58dda0
mov eax, dword [0x5a60a8]
mov eax, dword [eax]
xor edx, edx
call fcn.0046cf68
call fcn.0046cc50
mov ebx, eax
mov eax, dword [0x5a60a8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x7c]
call fcn.0046cf68
call fcn.0046cc50
cmp ebx, eax
je 0x58ddf1
mov dl, 1
mov eax, dword [0x48209c]
call fcn.00482878
mov ebx, eax
mov dword [edi], ebx
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
call fcn.0044dbf8
mov edx, eax
mov eax, ebx
call fcn.0048286c
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
call fcn.0044dc3c
mov edx, eax
mov eax, dword [edi]
call fcn.004826bc
mov eax, dword [esi]
push eax
mov eax, dword [edi]
call fcn.0048322c
xor ecx, ecx
xor edx, edx
call fcn.00425808
jmp 0x58ddf5
xor eax, eax
mov dword [edi], eax
inc dword [ebp - 0x7c]
add esi, 4
add dword [ebp - 0x84], 4
add edi, 4
dec dword [ebp - 0x80]
jne 0x58dd46
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc0]
call fcn.004097a0
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, 0x58ff1c
call fcn.00404cb0
mov eax, dword [ebp - 0xbc]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov dl, 1
mov eax, dword [0x418460]
call fcn.00403aa0
mov dword [ebp - 0x40], eax
mov dl, 1
mov eax, dword [0x423768]
call fcn.00427cf8
mov dword [ebp - 0x38], eax
xor edx, edx
push ebp
push 0x58fe32
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x58fdd1
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp - 0x19], 0
je 0x58def9
mov eax, dword [ebp - 0x48]
call fcn.0048322c
xor edx, edx
call fcn.0058bb00
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4b0]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov eax, dword [0x5ac7cc]
dec eax
test eax, eax
jle 0x58def9
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 1
lea esi, [ebp - 0x54]
mov ebx, dword [esi]
test ebx, ebx
je 0x58deee
mov eax, ebx
call fcn.0048322c
mov edx, dword [ebp - 0x7c]
call fcn.0058bb00
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [esi]
call fcn.00483398
inc dword [ebp - 0x7c]
add esi, 4
dec dword [ebp - 0x80]
jne 0x58dec5
cmp dword [ebp - 0x18], 0xffffffff
jle 0x58fdc7
mov eax, dword [ebp - 4]
mov byte [eax + 0x499], 0
mov eax, dword [ebp - 4]
call fcn.00599564
mov eax, dword [0x5ac50c]
mov dword [ebp - 0x68], eax
imul ebx, dword [ebp - 0x18], 0x69
mov eax, dword [0x5ac6f4]
mov eax, dword [eax + ebx*8 + 0x238]
cmp eax, 0xffffffff
je 0x58df35
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x34]
call fcn.0058b0b0
push dword [ebp - 0x34]
push 0x58ff4c
lea eax, [ebp - 0xc4]
mov edx, dword [0x5ac6f4]
lea edx, [edx + ebx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
push dword [ebp - 0xc4]
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404d24
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xcc]
call fcn.004097a0
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov edx, 0x58ff5c
call fcn.00404cb0
mov eax, dword [ebp - 0xc8]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov eax, dword [0x5ac6f8]
mov edx, dword [ebp - 0x18]
cmp dword [eax + edx*4], 0
jne 0x58e0cc
cmp byte [ebp - 0x76], 0
jne 0x58dff7
lea eax, [ebp - 0xd0]
imul edx, dword [ebp - 0x18], 0x69
mov ecx, dword [0x5ac6f4]
lea edx, [ecx + edx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
mov eax, dword [ebp - 0xd0]
call fcn.0058bbdc
test al, al
je 0x58e063
imul ebx, dword [ebp - 0x18], 0x69
mov eax, dword [0x5ac6f4]
mov eax, dword [eax + ebx*8]
mov edx, dword [0x5ac4a0]
sub edx, dword [0x5ac49c]
add eax, edx
cdq
push edx
push eax
mov eax, dword [0x5ac6f4]
mov eax, dword [eax + ebx*8 + 8]
cdq
push edx
push eax
mov eax, dword [0x5ac6f4]
mov eax, dword [eax + ebx*8 + 4]
cdq
push edx
push eax
lea edx, [ebp - 0xd4]
mov eax, dword [0x5a5c80]
mov eax, dword [eax]
call fcn.0046fb04
mov edx, dword [ebp - 0xd4]
imul eax, dword [ebp - 0x18], 0x69
mov ecx, dword [0x5ac6f4]
cmp dword [ecx + eax*8 + 8], 0
setg cl
mov eax, dword [ebp - 0x40]
call fcn.0058aeac
jmp 0x58e0f1
imul ebx, dword [ebp - 0x18], 0x69
mov eax, dword [0x5ac6f4]
mov eax, dword [eax + ebx*8]
mov edx, dword [0x5ac4a0]
sub edx, dword [0x5ac49c]
add eax, edx
cdq
push edx
push eax
mov eax, dword [0x5ac6f4]
mov eax, dword [eax + ebx*8 + 8]
cdq
push edx
push eax
mov eax, dword [0x5ac6f4]
mov eax, dword [eax + ebx*8 + 4]
cdq
push edx
push eax
lea edx, [ebp - 0xd8]
mov eax, dword [0x5a5c80]
mov eax, dword [eax]
call fcn.0046fb04
mov eax, dword [ebp - 0xd8]
imul edx, dword [ebp - 0x18], 0x69
mov ecx, dword [0x5ac6f4]
cmp dword [ecx + edx*8 + 8], 0
setg cl
mov edx, dword [ebp - 0x58]
call fcn.0058ab9c
jmp 0x58e0f1
push 0
mov eax, dword [ebp - 0x58]
call fcn.00404e64
push eax
mov eax, dword [0x5ac6f8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
call fcn.00404e64
push eax
call sub.KERNEL32.DLL_CopyFileA
mov byte [ebp - 0x76], 0
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xe0]
call fcn.004097a0
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
mov edx, 0x58ff88
call fcn.00404cb0
mov eax, dword [ebp - 0xdc]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xe4]
imul ebx, dword [ebp - 0x18], 0x69
mov edx, dword [0x5ac6f4]
lea edx, [edx + ebx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
mov eax, dword [ebp - 0xe4]
call fcn.0058bbdc
test al, al
je 0x58e528
mov eax, dword [ebp - 0x48]
call fcn.0058cac4
lea edx, [ebp - 0x48]
mov al, 1
call fcn.0058ce04
cmp dword [0x5ac7cc], 1
jle 0x58e27c
mov eax, dword [0x5ac7cc]
dec eax
test eax, eax
jle 0x58e27c
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 1
lea esi, [ebp - 0x54]
mov dword [ebp - 0x84], 0x5ac808
mov edi, dword [0x5a6134]
add edi, 0x64
mov ebx, 0x5ac7d4
mov eax, dword [esi]
test eax, eax
je 0x58e1ce
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [edx + ecx*4 + 0x4b0]
call fcn.00483398
jmp 0x58e1e3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
call fcn.00483590
mov eax, dword [ebp - 0x7c]
mov dword [0x5ac848], eax
cmp byte [edi], 0
je 0x58e256
mov eax, dword [0x5ac848]
call fcn.004c8120
mov eax, dword [ebp - 4]
push eax
push 0x59a498
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
call fcn.004a78d4
push eax
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.00486664
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x80]
inc dword [ebp - 0x7c]
add ebx, 4
add edi, 0x54
add dword [ebp - 0x84], 4
add esi, 4
dec dword [ebp - 0x80]
jne 0x58e1b4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4b0]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4b0]
mov eax, dword [0x5ac804]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x5ac804]
call fcn.00483590
xor eax, eax
mov dword [0x5ac848], eax
mov eax, dword [0x5a6134]
cmp byte [eax + 0x10], 0
je 0x58e2fb
mov eax, dword [0x5ac848]
call fcn.004c8120
mov eax, dword [ebp - 4]
push eax
push 0x59a498
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
call fcn.004a78d4
push eax
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.00486664
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
mov edx, dword [eax]
call dword [edx + 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
call fcn.00403ad0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x308]
mov dl, 1
mov eax, dword [0x56516c]
call fcn.00566f4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x49c], eax
mov al, byte [0x5ac511]
xor al, 1
call fcn.0057530c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
mov dl, 5
call fcn.0044d708
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x1c0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
mov edx, 0x58ffac
mov ecx, dword [eax]
call dword [ecx + 0x210]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x254], edx
mov dword [eax + 0x250], 0x58d468
mov dl, 1
call fcn.0044e114
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0041d130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0xd4]
cmp byte [0x5ac518], 0
je 0x58e3fb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x40]
call fcn.004d99f4
xor eax, eax
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x6c]
call fcn.004d9920
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
call fcn.004d9988
mov dword [ebp - 0x88], eax
push ebp
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x68]
call fcn.0058d4a0
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
xor edx, edx
call fcn.0044d988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
xor edx, edx
call fcn.0044d964
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
call fcn.0044d9b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
call fcn.0044d9d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov dl, 1
call fcn.0044e114
mov eax, dword [ebp - 4]
mov byte [eax + 0x499], 1
imul ebx, dword [ebp - 0x18], 0x69
mov eax, dword [0x5ac6f4]
cmp dword [eax + ebx*8 + 0x234], 0xfffffffe
je 0x58e4d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov dl, 1
call fcn.00434de0
mov eax, dword [0x5ac6f4]
cmp dword [eax + ebx*8 + 0x234], 0xffffffff
jg 0x58e4f2
mov eax, dword [0x5ac6f4]
mov dword [eax + ebx*8 + 0x234], 0x15180
mov eax, dword [ebp - 4]
mov dword [eax + 0x490], 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x494], edx
mov byte [0x5ac513], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
mov edx, dword [eax]
call dword [edx + 0xec]
jmp 0x58fd85
lea eax, [ebp - 0xe8]
mov edx, dword [0x5ac6f4]
lea edx, [edx + ebx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
mov eax, dword [ebp - 0xe8]
call fcn.0058bc84
test al, al
je 0x58e899
mov eax, dword [ebp - 0x48]
call fcn.0058cac4
lea edx, [ebp - 0x48]
mov al, 1
call fcn.0058ce04
cmp dword [0x5ac7cc], 1
jle 0x58e669
mov eax, dword [0x5ac7cc]
dec eax
test eax, eax
jle 0x58e669
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 1
lea ebx, [ebp - 0x54]
mov edi, 0x5ac808
mov eax, dword [0x5a6134]
add eax, 0x64
mov dword [ebp - 0x84], eax
mov esi, 0x5ac7d4
mov eax, dword [ebx]
test eax, eax
je 0x58e5c1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [edx + ecx*4 + 0x4b0]
call fcn.00483398
jmp 0x58e5d6
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
call fcn.00483590
mov eax, dword [ebp - 0x7c]
mov dword [0x5ac848], eax
mov eax, dword [ebp - 0x84]
cmp byte [eax], 0
je 0x58e643
mov eax, dword [0x5ac848]
call fcn.004c8120
mov eax, dword [ebp - 4]
push eax
push 0x59a498
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
call fcn.004a78d4
push eax
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.00486664
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x80]
inc dword [ebp - 0x7c]
add esi, 4
add dword [ebp - 0x84], 0x54
add edi, 4
add ebx, 4
dec dword [ebp - 0x80]
jne 0x58e5a7
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4b0]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4b0]
mov eax, dword [0x5ac804]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x5ac804]
call fcn.00483590
xor eax, eax
mov dword [0x5ac848], eax
mov eax, dword [0x5a6134]
cmp byte [eax + 0x10], 0
je 0x58e6e8
mov eax, dword [0x5ac848]
call fcn.004c8120
mov eax, dword [ebp - 4]
push eax
push 0x59a498
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
call fcn.004a78d4
push eax
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.00486664
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
xor edx, edx
call fcn.004ce3e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
xor edx, edx
call fcn.004ce45c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004cd90c
push dword [ebp - 0x34]
push 0x58ff4c
lea eax, [ebp - 0xec]
imul edx, dword [ebp - 0x18], 0x69
mov ecx, dword [0x5ac6f4]
lea edx, [ecx + edx*8 + 0xc]
mov ecx, 5
call fcn.00404c14
push dword [ebp - 0xec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
add eax, 0x318
mov edx, 3
call fcn.00404d24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004cd698
cmp dword [0x5ac4a4], 1
jne 0x58e78c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov byte [eax + 0x31e], 1
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004ce60c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
push ebp
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004ce60c
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 0x68]
call fcn.0058d4a0
pop ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004ce45c
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004ce570
cmp byte [0x5ac515], 0
je 0x58e82c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
xor edx, edx
call fcn.0058b19c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004cd9d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov dl, 1
call fcn.0044e114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dl, 1
call fcn.004ce3e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00434de0
mov eax, dword [ebp - 4]
mov byte [eax + 0x498], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x490], 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x494], edx
mov byte [0x5ac513], 0
jmp 0x58fd85
xor eax, eax
mov dword [ebp - 0x70], eax
cmp byte [ebp - 0x19], 0
jne 0x58f934
inc dword [0x5a5328]
mov eax, dword [0x5a5328]
cmp eax, dword [0x5ac7cc]
jl 0x58e8c2
xor eax, eax
mov dword [0x5a5328], eax
mov eax, dword [0x5a5328]
mov dword [0x5ac848], eax
mov eax, dword [0x5a5328]
call fcn.004c8120
mov eax, dword [0x5a5328]
mov edx, dword [eax*4 + 0x5ac72c]
mov eax, dword [0x5ac784]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [0x5a5328], 0
jle 0x58e906
mov eax, dword [0x5a5328]
mov edx, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x5ac784]
call fcn.00483590
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
cmp byte [eax + 0x10], 0
je 0x58e93f
push 2
push 0
push 0
push 1
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, 0x58ffc4
mov edx, dword [0x5ac784]
call fcn.004a67a8
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x104]
call fcn.004097a0
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov edx, 0x58ffd4
call fcn.00404cb0
mov eax, dword [ebp - 0x100]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
cmp byte [0x5ac6fc], 0
je 0x58e9ac
mov byte [0x5ac6fc], 0
mov eax, 0x5ac700
call fcn.0040edc4
cmp dword [0x5ac704], 0
je 0x58e9ac
mov eax, 0x5ac704
call fcn.0040edc4
mov byte [ebp - 0x75], 0
cmp byte [ebp - 0x76], 0
jne 0x58ea50
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10c]
call fcn.004097a0
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov edx, 0x58fff8
call fcn.00404cb0
mov eax, dword [ebp - 0x108]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x38]
call fcn.00427ef8
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x114]
call fcn.004097a0
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, 0x590024
call fcn.00404cb0
mov eax, dword [ebp - 0x110]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
jmp 0x58ea5b
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dl, 1
mov eax, dword [0x48209c]
call fcn.00482878
mov dword [0x5ac700], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [0x5ac700]
call fcn.0048286c
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [0x5ac700]
call fcn.004826bc
xor edx, edx
mov eax, dword [0x5ac700]
call fcn.00482c44
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x11c]
call fcn.004097a0
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edx, 0x59004c
call fcn.00404cb0
mov eax, dword [ebp - 0x118]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
cmp byte [0x5ac7e9], 0
je 0x58eb13
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x4bfdb4]
call fcn.00403c5c
test al, al
je 0x58eb13
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x4bfdb4]
call fcn.00403c80
cmp byte [eax + 0x69], 0
je 0x58eb13
mov byte [ebp - 0x75], 1
cmp byte [0x5ac7e8], 0
je 0x58ec3b
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x124]
call fcn.004097a0
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, 0x590074
call fcn.00404cb0
mov eax, dword [ebp - 0x120]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [0x5ac7ec], eax
cmp byte [ebp - 0x76], 0
je 0x58eb89
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.0041d130
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00590310
jmp 0x58eb96
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00590310
mov eax, dword [0x5ac7f8]
mov eax, dword [eax + 0x18c]
call fcn.00476fd0
dec eax
jg 0x58ec3b
mov eax, dword [0x5ac7f4]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x58ec2c
mov dword [ebp - 0x24], 0x1fffffff
lea ecx, [ebp - 0x24]
mov edx, dword [0x5ac7ec]
mov eax, dword [0x5ac7f8]
call fcn.0047a244
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [0x5ac700]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [0x5ac7ec]
mov eax, dword [0x5ac7f4]
call fcn.00476fd8
mov eax, dword [eax + 0x20]
call fcn.00482288
mov edx, eax
mov eax, 0x5ac700
call fcn.0058bdac
mov byte [ebp - 0x75], 1
xor edx, edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebp - 0x76], 0
je 0x58ec27
lea eax, [ebp - 0x3c]
call fcn.0040edc4
jmp 0x58ec2c
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00599564
mov byte [0x5ac7e8], 0
cmp byte [0x5ac7e8], 0
je 0x58ed43
call fcn.004c9044
mov dword [0x5ac7f0], eax
mov edx, dword [0x5ac7ec]
mov eax, dword [0x5ac7f8]
call fcn.0047a9d8
mov dword [ebp - 0x24], 0x1fffffff
lea ecx, [ebp - 0x24]
mov edx, dword [0x5ac7ec]
mov eax, dword [0x5ac7f8]
call fcn.0047a244
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [0x5ac700]
mov ecx, dword [eax]
call dword [ecx + 8]
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x12c]
call fcn.004097a0
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
mov edx, 0x59009c
call fcn.00404cb0
mov eax, dword [ebp - 0x128]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov eax, dword [0x5ac7f4]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x58ecfe
mov edx, dword [0x5ac7ec]
mov eax, dword [0x5ac7f4]
call fcn.00476fd8
mov eax, dword [eax + 0x20]
call fcn.00482288
mov edx, eax
mov eax, 0x5ac700
call fcn.0058bdac
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x134]
call fcn.004097a0
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
mov edx, 0x5900c0
call fcn.00404cb0
mov eax, dword [ebp - 0x130]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
jmp 0x58edda
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x13c]
call fcn.004097a0
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
mov edx, 0x5900f0
call fcn.00404cb0
mov eax, dword [ebp - 0x138]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [0x5ac700]
call fcn.0048322c
xor ecx, ecx
xor edx, edx
call fcn.00425808
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x144]
call fcn.004097a0
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x140]
mov edx, 0x59011c
call fcn.00404cb0
mov eax, dword [ebp - 0x140]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
imul eax, dword [ebp - 0x18], 0x69
mov edx, dword [0x5ac6f4]
mov edx, dword [edx + eax*8 + 0x244]
mov eax, dword [0x5ac700]
call fcn.004c82c0
mov byte [0x5ac6fc], 1
xor eax, eax
mov dword [ebp - 0x44], eax
imul eax, dword [ebp - 0x18], 0x69
mov edx, dword [0x5ac6f4]
cmp dword [edx + eax*8 + 0x23c], 0xffffffff
jle 0x58ee48
mov dl, 1
mov eax, dword [0x48209c]
call fcn.00482878
mov dword [ebp - 0x44], eax
imul eax, dword [ebp - 0x18], 0x69
mov edx, dword [0x5ac6f4]
mov edx, dword [edx + eax*8 + 0x23c]
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.005907e4
mov eax, dword [ebp - 0x44]
mov dword [0x5ac704], eax
mov esi, dword [0x5ac700]
mov eax, dword [0x5ac704]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x58eecb
mov dl, 1
mov eax, dword [0x48209c]
call fcn.00482878
mov dword [ebp - 0x4c], eax
mov edx, esi
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 8]
xor edx, edx
mov eax, esi
call fcn.00482c44
mov eax, dword [ebp - 0x44]
push eax
cmp byte [0x5ac7e8], 0
jne 0x58ee91
cmp byte [ebp - 0x75], 0
je 0x58ee95
xor eax, eax
jmp 0x58ee97
mov al, 1
push eax
push 1
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [esi + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea ecx, [ebp - 0xfc]
mov edx, esi
mov eax, dword [ebp - 0x4c]
call fcn.0058b358
mov eax, dword [ebp - 0x4c]
call fcn.00403ad0
jmp 0x58eee1
cmp byte [0x5ac7e8], 0
jne 0x58eee1
cmp byte [ebp - 0x75], 0
jne 0x58eee1
mov eax, esi
call fcn.00483590
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14c]
call fcn.004097a0
mov ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x148]
mov edx, 0x590144
call fcn.00404cb0
mov eax, dword [ebp - 0x148]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x68], 1
je 0x58ef30
cmp byte [0x5a52e8], 0
je 0x58ef94
push 0
push 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
push esi
lea esi, [ebp - 0xfc]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
jmp 0x58f4b0
cmp dword [ebp - 0x68], 0
jne 0x58f12c
mov eax, dword [ebp - 0x48]
fild dword [eax + 0x30]
fild dword [esi + 0x30]
fdivp st(1)
mov eax, dword [ebp - 0x48]
fild dword [eax + 0x34]
fild dword [esi + 0x34]
fdivp st(1)
fcompp
fnstsw ax
sahf
jbe 0x58f0a7
push 0
push 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x30]
cdq
idiv dword [esi + 0x30]
mov ecx, eax
sar ecx, 1
jns 0x58efe7
adc ecx, 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
sar eax, 1
jns 0x58eff4
adc eax, 0
add ecx, eax
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x30]
cdq
idiv dword [esi + 0x30]
sar eax, 1
jns 0x58f00a
adc eax, 0
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
sar eax, 1
jns 0x58f018
adc eax, 0
pop edx
sub eax, edx
xor edx, edx
call fcn.00406efc
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x30]
cdq
idiv dword [esi + 0x30]
mov ecx, eax
sar ecx, 1
jns 0x58f056
adc ecx, 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
sar eax, 1
jns 0x58f063
adc eax, 0
add ecx, eax
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x30]
cdq
idiv dword [esi + 0x30]
sar eax, 1
jns 0x58f079
adc eax, 0
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
sar eax, 1
jns 0x58f087
adc eax, 0
pop edx
sub eax, edx
xor edx, edx
call fcn.00406efc
push esi
lea esi, [ebp - 0xfc]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
jmp 0x58f4b0
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x34]
cdq
idiv dword [esi + 0x34]
sar eax, 1
jns 0x58f0bb
adc eax, 0
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0x30]
sar edx, 1
jns 0x58f0c8
adc edx, 0
add eax, edx
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x34]
cdq
idiv dword [esi + 0x34]
sar eax, 1
jns 0x58f0e6
adc eax, 0
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0x30]
sar edx, 1
jns 0x58f0f3
adc edx, 0
sub edx, eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor eax, eax
call fcn.00406efc
push esi
lea esi, [ebp - 0x94]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
jmp 0x58f4b0
cmp dword [ebp - 0x68], 2
je 0x58f13c
cmp dword [ebp - 0x68], 4
jne 0x58f1f6
cmp dword [ebp - 0x68], 4
jne 0x58f179
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x48]
cmp eax, dword [edx + 0x30]
jg 0x58f158
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x48]
cmp eax, dword [edx + 0x34]
jle 0x58f179
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
call fcn.0058b1e0
jmp 0x58f1cc
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
sub eax, dword [esi + 0x30]
sar eax, 1
jns 0x58f189
adc eax, 0
add eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
sub ecx, dword [esi + 0x34]
sar ecx, 1
jns 0x58f1a4
adc ecx, 0
add ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x30]
sub edx, dword [esi + 0x30]
sar edx, 1
jns 0x58f1b7
adc edx, 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
sub eax, dword [esi + 0x34]
sar eax, 1
jns 0x58f1c7
adc eax, 0
call fcn.00406efc
push esi
lea esi, [ebp - 0x94]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
jmp 0x58f4b0
cmp dword [ebp - 0x68], 3
je 0x58f224
cmp dword [ebp - 0x68], 5
jne 0x58f2ca
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
cmp eax, dword [esi + 0x34]
jl 0x58f2ca
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
cmp eax, dword [esi + 0x30]
jl 0x58f2ca
mov eax, dword [ebp - 0x48]
mov edi, dword [eax + 0x34]
sub edi, dword [esi + 0x34]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
sub eax, dword [esi + 0x30]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0xffffffff
test edi, edi
jle 0x58f24b
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x64], 0xffffffff
cmp dword [ebp - 0x5c], 0
jle 0x58f25f
mov dword [ebp - 0x64], 1
mov eax, edi
cdq
xor eax, edx
sub eax, edx
call fcn.0040332c
imul dword [ebp - 0x60]
mov edi, eax
mov eax, dword [ebp - 0x5c]
cdq
xor eax, edx
sub eax, edx
call fcn.0040332c
imul dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x30]
add eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [esi + 0x34]
add ecx, edi
mov edx, dword [ebp - 0x5c]
mov eax, edi
call fcn.00406efc
push esi
lea esi, [ebp - 0x94]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
jmp 0x58f4b0
cmp dword [ebp - 0x68], 6
jne 0x58f403
mov eax, dword [ebp - 0x48]
fild dword [eax + 0x30]
fild dword [esi + 0x30]
fdivp st(1)
mov eax, dword [ebp - 0x48]
fild dword [eax + 0x34]
fild dword [esi + 0x34]
fdivp st(1)
fcompp
fnstsw ax
sahf
jae 0x58f37e
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x30]
cdq
idiv dword [esi + 0x30]
mov ecx, eax
sar ecx, 1
jns 0x58f319
adc ecx, 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
sar eax, 1
jns 0x58f326
adc eax, 0
add ecx, eax
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x30]
cdq
idiv dword [esi + 0x30]
sar eax, 1
jns 0x58f33c
adc eax, 0
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
sar eax, 1
jns 0x58f34a
adc eax, 0
pop edx
sub eax, edx
xor edx, edx
call fcn.00406efc
push esi
lea esi, [ebp - 0x94]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
jmp 0x58f4b0
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x34]
cdq
idiv dword [esi + 0x34]
sar eax, 1
jns 0x58f392
adc eax, 0
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0x30]
sar edx, 1
jns 0x58f39f
adc edx, 0
add eax, edx
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x48]
imul dword [edx + 0x34]
cdq
idiv dword [esi + 0x34]
sar eax, 1
jns 0x58f3bd
adc eax, 0
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0x30]
sar edx, 1
jns 0x58f3ca
adc edx, 0
sub edx, eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor eax, eax
call fcn.00406efc
push esi
lea esi, [ebp - 0x94]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
jmp 0x58f4b0
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x34]
call fcn.0058b1e0
cmp dword [ebp - 0x94], 0
jle 0x58f454
mov eax, dword [ebp - 0x94]
add eax, eax
call fcn.0040332c
mov edi, eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x94]
add eax, edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], edi
cmp dword [ebp - 0x90], 0
jle 0x58f48b
mov eax, dword [ebp - 0x90]
add eax, eax
call fcn.0040332c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x90], eax
push esi
lea esi, [ebp - 0x94]
mov edi, 0x5ac7a4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.0058b704
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x154]
call fcn.004097a0
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
mov edx, 0x590174
call fcn.00404cb0
mov eax, dword [ebp - 0x150]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
cmp byte [0x5ac7e8], 0
jne 0x58f512
imul eax, dword [ebp - 0x18], 0x69
mov edx, dword [0x5ac6f4]
mov eax, dword [edx + eax*8 + 0x244]
and eax, 8
cmp eax, 8
je 0x58f516
xor ebx, ebx
jmp 0x58f518
mov bl, 1
test bl, bl
je 0x58f551
mov edi, 1
mov eax, dword [0x5ac7ac]
add eax, edi
push eax
mov eax, dword [0x5ac7b0]
add eax, edi
push eax
push 0xffffffffffffffff
mov ecx, dword [0x5ac7a8]
sub ecx, edi
mov edx, dword [0x5ac7a4]
sub edx, edi
mov eax, dword [ebp - 0x48]
call fcn.004837bc
inc edi
cmp edi, 0x15
jne 0x58f521
cmp byte [0x5ac529], 0
je 0x58f6a5
mov edx, dword [0x5ac7ac]
sub edx, dword [0x5ac7a4]
add edx, 2
mov eax, dword [0x5ac740]
call fcn.0048286c
mov edx, dword [0x5ac7b0]
sub edx, dword [0x5ac7a8]
add edx, 2
mov eax, dword [0x5ac740]
call fcn.004826bc
test bl, bl
je 0x58f5d2
mov eax, dword [0x5ac740]
mov edx, dword [eax + 0x34]
add edx, 0x28
mov eax, dword [0x5ac740]
call fcn.0048286c
mov eax, dword [0x5ac740]
mov edx, dword [eax + 0x30]
add edx, 0x28
mov eax, dword [0x5ac740]
call fcn.004826bc
mov eax, 0x5ac7a4
mov ecx, 0x14
mov edx, 0x14
call fcn.00482494
xor edx, edx
mov eax, dword [0x5ac740]
call fcn.00482c44
test bl, bl
jne 0x58f620
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x30]
dec eax
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [0x5ac740]
mov ecx, dword [eax + 0x34]
dec ecx
mov edx, 1
mov eax, 1
call fcn.00406efc
lea ecx, [ebp - 0xfc]
mov edx, dword [0x5ac740]
mov eax, esi
call fcn.0048346c
jmp 0x58f694
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x30]
dec eax
sub eax, 0x14
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [0x5ac740]
mov ecx, dword [eax + 0x34]
dec ecx
sub ecx, 0x14
mov edx, 0x15
mov eax, 0x15
call fcn.00406efc
lea ecx, [ebp - 0xfc]
mov edx, dword [0x5ac740]
mov eax, esi
call fcn.0048346c
xor edi, edi
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x34]
dec eax
sub eax, edi
push eax
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x30]
dec eax
sub eax, edi
push eax
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea edx, [edi + 1]
mov eax, dword [0x5ac740]
call fcn.004837bc
inc edi
cmp edi, 0x14
jne 0x58f664
mov dl, 1
mov eax, dword [0x5ac740]
call fcn.00483cc8
jmp 0x58f7dc
mov edx, dword [0x5ac7ac]
sub edx, dword [0x5ac7a4]
mov eax, dword [0x5ac740]
call fcn.0048286c
mov edx, dword [0x5ac7b0]
sub edx, dword [0x5ac7a8]
mov eax, dword [0x5ac740]
call fcn.004826bc
test bl, bl
je 0x58f713
mov eax, dword [0x5ac740]
mov edx, dword [eax + 0x34]
add edx, 0x28
mov eax, dword [0x5ac740]
call fcn.0048286c
mov eax, dword [0x5ac740]
mov edx, dword [eax + 0x30]
add edx, 0x28
mov eax, dword [0x5ac740]
call fcn.004826bc
mov eax, 0x5ac7a4
mov ecx, 0x14
mov edx, 0x14
call fcn.00482494
xor edx, edx
mov eax, dword [0x5ac740]
call fcn.00482c44
test bl, bl
jne 0x58f759
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [0x5ac740]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea ecx, [ebp - 0xfc]
mov edx, dword [0x5ac740]
mov eax, esi
call fcn.0048346c
jmp 0x58f7c7
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x30]
sub eax, 0x14
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [0x5ac740]
mov ecx, dword [eax + 0x34]
sub ecx, 0x14
mov edx, 0x14
mov eax, 0x14
call fcn.00406efc
lea ecx, [ebp - 0xfc]
mov edx, dword [0x5ac740]
mov eax, esi
call fcn.0048346c
xor edi, edi
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x34]
sub eax, edi
push eax
mov eax, dword [0x5ac740]
mov eax, dword [eax + 0x30]
sub eax, edi
push eax
push 0xffffffffffffffff
mov ecx, edi
mov edx, edi
mov eax, dword [0x5ac740]
call fcn.004837bc
inc edi
cmp edi, 0x14
jne 0x58f79b
mov dl, 1
mov eax, esi
call fcn.00483cec
mov dl, 1
mov eax, dword [0x5ac740]
call fcn.00483cc8
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
cmp byte [eax + 0x10], 0
je 0x58f80b
push 2
push 0
push 0
push 1
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, 0x5901a0
mov edx, dword [0x5ac740]
call fcn.004a67a8
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x15c]
call fcn.004097a0
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov edx, 0x5901b4
call fcn.00404cb0
mov eax, dword [ebp - 0x158]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x490], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x494], edx
mov eax, dword [ebp - 0x48]
call fcn.0058cac4
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x490]
call fcn.0058d10c
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0058be14
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.0058ce04
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x164]
call fcn.004097a0
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
mov edx, 0x5901dc
call fcn.00404cb0
mov eax, dword [ebp - 0x160]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x5a5328]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov eax, dword [0x5a5328]
mov eax, dword [eax*4 + 0x5ac7d0]
call fcn.004695f0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x5a5328]
mov eax, dword [eax + edx*4 + 0x4b0]
mov dword [0x5ac788], eax
mov eax, dword [0x5a5328]
mov eax, dword [eax*4 + 0x5ac7d0]
mov dword [0x5ac78c], eax
mov eax, dword [0x5a5328]
mov eax, dword [eax*4 + 0x5ac804]
mov dword [0x5ac800], eax
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x16c]
call fcn.004097a0
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x168]
mov edx, 0x590204
call fcn.00404cb0
mov eax, dword [ebp - 0x168]
call fcn.0058ab54
call fcn.004c9044
mov dword [ebp - 0x74], eax
imul eax, dword [ebp - 0x18], 0x69
mov edx, dword [0x5ac6f4]
cmp dword [edx + eax*8 + 0x240], 0xffffffff
jle 0x58f9b9
cmp byte [0x5ac511], 0
jne 0x58f9b9
cmp byte [0x5a52e8], 0
jne 0x58f9b9
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x490], 0x69
mov edx, dword [0x5ac6f4]
mov edx, dword [edx + eax*8 + 0x240]
mov eax, dword [ebp - 4]
call fcn.0059099c
cmp byte [0x5a52e8], 0
jne 0x58f9d2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x48c], 0
je 0x58fc6d
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x48]
call fcn.0048322c
push eax
mov eax, dword [ebp - 4]
call fcn.004695f0
pop ecx
pop edx
call fcn.00425780
cmp dword [0x5ac7cc], 1
jle 0x58fc07
mov eax, dword [0x5ac7cc]
dec eax
test eax, eax
jle 0x58fc07
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 1
lea esi, [ebp - 0x54]
mov dword [ebp - 0x84], 0x5ac7d4
mov edi, 0x5ac808
mov ebx, dword [0x5a6134]
add ebx, 0x64
cmp dword [esi], 0
je 0x58fb06
mov edx, esi
xor eax, eax
call fcn.0058ce04
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [esi]
call fcn.0048322c
push eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
call fcn.004695f0
pop ecx
pop edx
call fcn.00425780
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [esi]
call fcn.00483398
mov edx, dword [edi]
mov eax, dword [esi]
call fcn.00483398
jmp 0x58fb94
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.0058ce04
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor eax, eax
call fcn.00406efc
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x48]
call fcn.0048322c
push eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
call fcn.004695f0
pop ecx
pop edx
call fcn.00425780
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov edx, dword [eax + edx*4 + 0x4b0]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov edx, dword [edi]
mov eax, dword [ebp - 0x48]
call fcn.00483398
mov eax, dword [edi]
call fcn.00483590
cmp byte [ebx], 0
je 0x58fbeb
mov eax, dword [ebp - 0x7c]
call fcn.004c8120
mov eax, dword [ebp - 4]
push eax
push 0x59a498
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
call fcn.004a78d4
push eax
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.00486664
xor eax, eax
call fcn.004c8120
xor eax, eax
mov dword [0x5ac848], eax
inc dword [ebp - 0x7c]
add ebx, 0x54
add edi, 4
add dword [ebp - 0x84], 4
add esi, 4
dec dword [ebp - 0x80]
jne 0x58fa72
mov edx, dword [ebp - 0x48]
mov eax, dword [0x5ac804]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x5ac804]
call fcn.00483590
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
cmp byte [eax + 0x10], 0
je 0x58fc60
mov eax, dword [ebp - 4]
push eax
push 0x59a498
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
call fcn.004a78d4
push eax
mov eax, dword [0x5a5ddc]
mov eax, dword [eax]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.00486664
mov eax, dword [ebp - 4]
call fcn.005903b8
jmp 0x58fd7d
lea eax, [ebp - 0x30]
mov edx, dword [0x5ac6e8]
call fcn.00404a3c
mov eax, dword [0x5ac524]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x490], 0x69
mov edx, dword [0x5ac6f4]
cmp dword [edx + eax*8 + 0x344], 0xffffffff
je 0x58fcd6
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
imul edx, dword [edx + 0x490], 0x69
mov ecx, dword [0x5ac6f4]
lea edx, [ecx + edx*8 + 0x248]
call fcn.00404c08
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x490], 0x69
mov edx, dword [0x5ac6f4]
mov eax, dword [edx + eax*8 + 0x344]
mov dword [ebp - 0x2c], eax
cmp dword [0x5a5328], 0
jne 0x58fcf7
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2bc], edx
mov dword [eax + 0x2b8], 0x59ab64
jmp 0x58fd1f
cmp dword [0x5a5328], 0
jle 0x58fd1f
mov eax, dword [0x5a5328]
mov eax, dword [eax*4 + 0x5ac7d0]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2bc], edx
mov dword [eax + 0x2b8], 0x59ac48
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax*4 + 0x5a52f4]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push 0x59a924
mov eax, dword [0x5ac800]
push eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00594f48
mov ecx, eax
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x70]
call fcn.0058459c
mov eax, dword [0x5a5950]
cmp dword [eax], 0
je 0x58fd73
mov eax, dword [0x5a5950]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], fcn.00590250
jmp 0x58fd7d
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00590250
mov eax, dword [ebp - 0x58]
call fcn.00409e20
mov eax, dword [ebp - 4]
mov byte [eax + 0x48c], 0
call fcn.004c9044
sub eax, dword [ebp - 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x184]
call fcn.004097a0
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
mov edx, 0x590230
call fcn.00404cb0
mov eax, dword [ebp - 0x180]
call fcn.0058ab54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58fddb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58fe39
mov eax, dword [ebp - 0x38]
call fcn.00403ad0
mov eax, dword [ebp - 0x40]
call fcn.00403ad0
cmp byte [ebp - 0x76], 0
je 0x58fe06
mov eax, dword [ebp - 0x3c]
call fcn.00403ad0
mov eax, dword [ebp - 0x48]
call fcn.00403ad0
mov eax, dword [0x5ac7cc]
dec eax
test eax, eax
jle 0x58fe31
mov dword [ebp - 0x80], eax
lea ebx, [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x58fe29
call fcn.00403ad0
add ebx, 4
dec dword [ebp - 0x80]
jne 0x58fe1e
ret