Function at 0x799648
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x799650
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x79a53c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c338]
call fcn.00404418
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [0x41c338]
call fcn.00404418
mov dword [ebp - 0x38], eax
mov dl, 1
mov eax, dword [0x41c338]
call fcn.00404418
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x94]
mov eax, dword [0x7d6e68]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x88]
call fcn.00405278
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 8]
add edx, 0x40
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x9c]
call fcn.004032b0
mov edx, 0x79a548
lea eax, [ebp - 0x9c]
mov cl, 2
call fcn.00403280
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0x28]
call fcn.004054ec
mov eax, dword [0x7d66a8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x7997bd
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
mov eax, dword [0x7d66a8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
call fcn.0040588c
test eax, eax
jle 0x7997ae
lea eax, [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x79a554
call fcn.0040588c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.004057a8
mov eax, dword [ebp - 0xa0]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jle 0x7997ae
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0xc]
call fcn.0040a83c
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x18]
dec dword [ebp - 0x90]
jne 0x799736
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x7998ef
lea ecx, [ebp - 0xa8]
xor edx, edx
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xa8]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jle 0x7998e7
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x799871
push dword [ebp - 0x28]
push 0x79a560
lea edx, [ebp - 0xb0]
mov eax, 0x56
call fcn.005bfab4
push dword [ebp - 0xb0]
push 0x79a56c
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
call fcn.0040a83c
push dword [ebp - 0xb4]
push 0x79a578
lea eax, [ebp - 0xac]
mov edx, 6
call fcn.00405608
mov edx, dword [ebp - 0xac]
imul ecx, dword [ebp - 0xc], 0x3e8
add ecx, 0x2710
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x7998ef
push 0x79a584
push dword [ebp - 0x28]
push 0x79a590
lea edx, [ebp - 0xbc]
mov eax, 0x56
call fcn.005bfab4
push dword [ebp - 0xbc]
push 0x79a56c
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0xc]
call fcn.0040a83c
push dword [ebp - 0xc0]
push 0x79a578
lea eax, [ebp - 0xb8]
mov edx, 7
call fcn.00405608
mov edx, dword [ebp - 0xb8]
imul ecx, dword [ebp - 0xc], 0x3e8
add ecx, 0x2710
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x7998ef
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x799abe
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405278
lea ecx, [ebp - 0xc4]
xor edx, edx
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc4]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x7999a4
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push dword [eax - 0x10]
lea ecx, [ebp - 0xc8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0xc8]
push 0x79a5a0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov edx, 3
call fcn.00405608
lea ecx, [ebp - 0xcc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xcc]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x90]
jne 0x799945
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00405548
dec eax
jle 0x7999cf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00405548
mov edx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov ecx, 1
call fcn.004057e8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00405548
test eax, eax
jle 0x799ab6
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x799a4e
push dword [ebp - 0x28]
push 0x79a560
lea edx, [ebp - 0xd4]
mov eax, 0x56
call fcn.005bfab4
push dword [ebp - 0xd4]
push 0x79a56c
mov eax, dword [ebp + 8]
push dword [eax - 0x10]
push 0x79a578
lea eax, [ebp - 0xd0]
mov edx, 6
call fcn.00405608
mov edx, dword [ebp - 0xd0]
imul ecx, dword [ebp - 0xc], 0x3e8
add ecx, 0x2710
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x799abe
push 0x79a584
push dword [ebp - 0x28]
push 0x79a590
lea edx, [ebp - 0xdc]
mov eax, 0x56
call fcn.005bfab4
push dword [ebp - 0xdc]
push 0x79a56c
mov eax, dword [ebp + 8]
push dword [eax - 0x10]
push 0x79a578
lea eax, [ebp - 0xd8]
mov edx, 7
call fcn.00405608
mov edx, dword [ebp - 0xd8]
imul ecx, dword [ebp - 0xc], 0x3e8
add ecx, 0x2710
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x799abe
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x799bf3
lea eax, [ebp - 0xe0]
mov edx, dword [ebp - 8]
add edx, 0x40
call fcn.00405460
lea eax, [ebp - 0xe0]
mov edx, 0x79a5ac
call fcn.00405550
mov eax, dword [ebp - 0xe0]
call fcn.00405748
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x10], eax
mov eax, dword [0x7d6688]
mov edx, dword [ebp - 0x10]
cmp edx, 0xff
ja 0x799b16
bt dword [eax], edx
jae 0x799bf3
mov byte [ebp - 0x29], 1
cmp dword [ebp - 0x10], 2
jne 0x799b3f
cmp dword [ebp - 8], 2
jg 0x799b3f
mov eax, dword [ebp - 8]
add eax, 0x40
call fcn.005afe34
test al, al
je 0x799b3f
mov byte [ebp - 0x29], 0
cmp byte [ebp - 0x29], 0
je 0x799bf3
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x799bae
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 8]
add edx, 0x40
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x9c]
call fcn.004032b0
mov edx, 0x79a548
lea eax, [ebp - 0x9c]
mov cl, 2
call fcn.00403280
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0xe4]
call fcn.004054ec
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x799bf3
push 0x79a584
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 8]
add edx, 0x40
call fcn.00405460
push dword [ebp - 0xec]
push 0x79a5b8
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.00405608
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1b
jne 0x7996c8
mov eax, dword [ebp - 0x30]
call fcn.00404448
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x79a4be
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xf0]
call fcn.00405548
cmp eax, 2
jl 0x79a4af
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, 0x3e8
cdq
idiv ecx
mov byte [ebp - 0x89], dl
lea edx, [ebp - 0xf4]
mov eax, dword [0x7d6938]
mov eax, dword [eax]
call fcn.0040a0f8
mov eax, dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0xf8]
mov dl, byte [ebp - 0x89]
call fcn.00405460
mov eax, dword [ebp - 0xf8]
pop edx
call fcn.0040588c
test eax, eax
jg 0x79a4af
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov al, byte [ebp - 0x89]
sub al, 0x40
mov byte [ebp - 0x3d], al
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x7c]
mov al, byte [ebp - 0x89]
call fcn.007b7f28
cmp dword [ebp - 0x7c], 0
je 0x799d32
mov edx, dword [ebp - 0x3c]
mov eax, 0x79a5c8
call fcn.0040588c
test eax, eax
jle 0x799d1a
mov edx, dword [ebp - 0x3c]
mov eax, 0x79a5c8
call fcn.0040588c
push eax
lea eax, [ebp - 0xfc]
mov ecx, 0x79a554
mov edx, dword [ebp - 0x7c]
call fcn.00405594
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0x3c]
pop ecx
call fcn.00405830
jmp 0x799d32
push dword [ebp - 0x3c]
push 0x79a554
push dword [ebp - 0x7c]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405608
mov al, byte [ebp - 0x3d]
call fcn.0040b31c
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
jne 0x799d4e
cmp dword [ebp - 0x50], 0
jae 0x799d84
jmp 0x799d50
jge 0x799d84
mov eax, dword [ebp - 0x3c]
call fcn.00405548
mov edx, dword [ebp - 0x3c]
mov dl, byte [edx + eax - 2]
lea eax, [ebp - 0x100]
call fcn.00405460
mov edx, dword [ebp - 0x100]
mov eax, dword [0x7d6448]
call fcn.00405550
mov eax, dword [0x7d6448]
jmp 0x79a4af
mov al, byte [ebp - 0x3d]
call fcn.0040b350
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
fild qword [ebp - 0x48]
fstp xword [ebp - 0x60]
wait
fild qword [ebp - 0x50]
fstp xword [ebp - 0x70]
wait
fld xword [ebp - 0x60]
fcomp dword [0x79a5cc]
fnstsw ax
sahf
je 0x79a4af
lea ecx, [ebp - 0x28]
mov edx, 0x79a5d8
mov eax, dword [ebp - 0x38]
call fcn.00420344
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405548
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x28]
call fcn.004057a8
mov eax, dword [ebp - 0x104]
mov edx, 0x79a5e8
call fcn.00405694
jne 0x799e28
mov byte [ebp - 0x2a], 1
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405548
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.004057a8
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x14]
call fcn.004038a0
mov dword [ebp - 0x10], eax
jmp 0x799e3a
mov byte [ebp - 0x2a], 0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.004038a0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
mov edx, 0x79a5f4
mov eax, dword [ebp - 0x38]
call fcn.00420344
mov eax, dword [ebp - 0x28]
mov edx, 0x79a604
call fcn.00405694
jne 0x799f34
lea eax, [ebp - 0x98]
xor edx, edx
mov dl, byte [ebp - 0x3d]
add edx, 0x40
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x9c]
call fcn.004032b0
mov edx, 0x79a548
lea eax, [ebp - 0x9c]
mov cl, 2
call fcn.00403280
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0x10c]
call fcn.004054ec
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x38]
call fcn.00420344
cmp dword [ebp - 0x28], 0
je 0x799f34
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405548
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x28]
call fcn.004057a8
mov eax, dword [ebp - 0x110]
mov edx, 0x79a5e8
call fcn.00405694
jne 0x799f22
mov byte [ebp - 0x2a], 1
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405548
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.004057a8
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x14]
call fcn.004038a0
mov dword [ebp - 0x10], eax
jmp 0x799f34
mov byte [ebp - 0x2a], 0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.004038a0
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x2a], 0
je 0x799fa4
push 0
push 0x100000
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
call fcn.00406410
push edx
push eax
mov eax, dword [ebp - 0x10]
cdq
cmp edx, dword [esp + 4]
jne 0x799f61
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x799f97
jmp 0x799f65
pop edx
pop eax
jle 0x799f97
push 0x79a560
lea edx, [ebp - 0x118]
mov eax, 0x114
call fcn.005bfab4
push dword [ebp - 0x118]
push 0x79a578
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00405608
jmp 0x79a014
lea eax, [ebp - 0x84]
call fcn.00405278
jmp 0x79a014
mov eax, dword [ebp - 0x10]
cdq
push edx
push eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.004063ec
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
fild qword [ebp - 0x120]
fdiv dword [0x79a608]
fild qword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jae 0x79a009
push 0x79a560
lea edx, [ebp - 0x124]
mov eax, 0x114
call fcn.005bfab4
push dword [ebp - 0x124]
push 0x79a578
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00405608
jmp 0x79a014
lea eax, [ebp - 0x84]
call fcn.00405278
mov eax, dword [0x7d6cd0]
mov al, byte [eax]
mov byte [ebp - 0x71], al
mov eax, dword [ebp + 8]
cmp byte [eax + 0x10], 0
je 0x79a02b
mov byte [ebp - 0x71], 0
mov al, byte [ebp - 0x71]
dec al
je 0x79a03b
dec al
je 0x79a08f
jmp 0x79a0e6
lea eax, [ebp - 0x128]
push eax
fild qword [ebp - 0x48]
fdiv dword [0x79a60c]
fstp xword [ebp - 0x134]
wait
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 3
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x79a618
call fcn.0040beb0
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x1c]
mov ecx, 0x79a628
call fcn.00405594
jmp 0x79a118
lea eax, [ebp - 0x138]
push eax
fild qword [ebp - 0x48]
fdiv dword [0x79a60c]
fdiv dword [0x79a62c]
fstp xword [ebp - 0x134]
wait
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 3
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x79a638
call fcn.0040beb0
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x1c]
mov ecx, 0x79a648
call fcn.00405594
jmp 0x79a118
push 0
push 0x100000
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.00406410
push edx
push eax
lea eax, [ebp - 0x13c]
call fcn.0040a928
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 0x1c]
mov ecx, 0x79a654
call fcn.00405594
mov al, byte [ebp - 0x71]
dec al
je 0x79a128
dec al
je 0x79a17c
jmp 0x79a1d3
lea eax, [ebp - 0x140]
push eax
fild qword [ebp - 0x50]
fdiv dword [0x79a60c]
fstp xword [ebp - 0x134]
wait
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 3
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x79a618
call fcn.0040beb0
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x20]
mov ecx, 0x79a628
call fcn.00405594
jmp 0x79a205
lea eax, [ebp - 0x144]
push eax
fild qword [ebp - 0x50]
fdiv dword [0x79a60c]
fdiv dword [0x79a62c]
fstp xword [ebp - 0x134]
wait
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 3
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x79a638
call fcn.0040beb0
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x20]
mov ecx, 0x79a648
call fcn.00405594
jmp 0x79a205
push 0
push 0x100000
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
call fcn.00406410
push edx
push eax
lea eax, [ebp - 0x148]
call fcn.0040a928
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x20]
mov ecx, 0x79a654
call fcn.00405594
mov eax, dword [ebp + 8]
cmp byte [eax + 0x10], 0
je 0x79a2bc
push 0x79a660
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0x3c]
call fcn.004a1514
push dword [ebp - 0x150]
push 0x79a680
push dword [ebp - 0x1c]
push 0x79a698
push dword [ebp - 0x20]
push 0x79a6b0
lea eax, [ebp - 0x154]
push eax
fld xword [ebp - 0x70]
fld xword [ebp - 0x60]
fdivp st(1)
fmul dword [0x79a608]
fstp xword [ebp - 0x134]
wait
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 3
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x79a6d0
call fcn.0040beb0
push dword [ebp - 0x154]
push 0x79a6e0
push dword [ebp - 0x84]
push 0x79a6ec
lea eax, [ebp - 0x14c]
mov edx, 0xb
call fcn.00405608
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x79a4af
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x79a3ef
lea eax, [ebp - 0x15c]
push eax
xor ecx, ecx
mov edx, 0x28
mov eax, dword [ebp - 0x3c]
call fcn.004a03a8
push dword [ebp - 0x15c]
lea eax, [ebp - 0x160]
push eax
xor ecx, ecx
mov edx, 0x14
mov eax, dword [ebp - 0x1c]
call fcn.004a03a8
push dword [ebp - 0x160]
lea eax, [ebp - 0x164]
push eax
xor ecx, ecx
mov edx, 0x14
mov eax, dword [ebp - 0x20]
call fcn.004a03a8
push dword [ebp - 0x164]
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
push eax
fld xword [ebp - 0x70]
fld xword [ebp - 0x60]
fdivp st(1)
fmul dword [0x79a608]
fstp xword [ebp - 0x134]
wait
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 3
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x79a6d0
call fcn.0040beb0
push dword [ebp - 0x170]
push 0x79a6e0
push dword [ebp - 0x84]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x16c]
xor ecx, ecx
mov edx, 0x19
call fcn.004a03a8
push dword [ebp - 0x168]
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ax, word [ebp - 0x68]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea eax, [ebp - 0x174]
call fcn.007991d0
pop ecx
push dword [ebp - 0x174]
lea eax, [ebp - 0x158]
mov edx, 5
call fcn.00405608
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x79a4af
push 0x79a6fc
push dword [ebp - 0x3c]
push 0x79a710
push dword [ebp - 0x1c]
push 0x79a710
push dword [ebp - 0x20]
push 0x79a710
lea eax, [ebp - 0x17c]
push eax
fld xword [ebp - 0x70]
fld xword [ebp - 0x60]
fdivp st(1)
fmul dword [0x79a608]
fstp xword [ebp - 0x134]
wait
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 3
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x79a6d0
call fcn.0040beb0
push dword [ebp - 0x17c]
push 0x79a6e0
push dword [ebp - 0x84]
push 0x79a728
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ax, word [ebp - 0x68]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea eax, [ebp - 0x180]
call fcn.007991d0
pop ecx
push dword [ebp - 0x180]
lea eax, [ebp - 0x178]
mov edx, 0xc
call fcn.00405608
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x18]
dec dword [ebp - 0x90]
jne 0x799c27
mov eax, dword [ebp - 0x34]
call fcn.00404448
mov eax, dword [ebp - 0x38]
call fcn.00404448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79a543
lea eax, [ebp - 0x180]
mov edx, 0x13
call fcn.0040529c
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0040529c
lea eax, [ebp - 0x118]
mov edx, 0x1f
call fcn.0040529c
lea eax, [ebp - 0x94]
call fcn.00405278
lea eax, [ebp - 0x88]
mov edx, 5
call fcn.0040529c
lea eax, [ebp - 0x3c]
call fcn.00405278
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040529c
ret