Function at 0x513ac0
Capabilities:
Get disk information
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5dc538
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4c8]
xor ebp, ebp
cmp dword [0x670e18], ebp
je 0x513b13
push ebp
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x104
lea eax, [esp + 0x1ac]
push eax
mov edi, 1
push ebp
mov dword [0x670e18], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x2ac]
push ecx
lea edx, [esp + 0x3b4]
push edx
push ebp
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1b8]
push ecx
call fcn.005c2417
add esp, 0x14
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x513b8d
lea eax, [esp + 0x2ac]
push eax
lea ecx, [esp + 0x3b4]
push ecx
lea edx, [esp + 0x1b0]
push str.c:_s_s
push edx
call fcn.005bd49b
add esp, 0x10
lea eax, [esp + 0x1a8]
mov dword [esp + 0x188], 0xf
mov dword [esp + 0x184], ebp
mov byte [esp + 0x174], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x513bb1
sub eax, edx
push eax
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x178]
call fcn.00408ea0
push 4
push 0x601b84
lea ecx, [esp + 0x178]
mov dword [esp + 0x4c8], ebp
call fcn.004078e0
push 0x40
call fcn.005a1aed
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
cmp esi, ebp
mov byte [esp + 0x4c0], 1
je 0x513c19
mov ecx, esi
call fcn.0050f620
mov dword [esi], vtable.BaseLib::CExecptionTask.0
mov dword [esi + 0x3c], edi
jmp 0x513c1b
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
push ebp
push edi
mov ecx, esi
mov byte [esp + 0x4c8], 0
call eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x174]
mov edi, 0x10
cmp dword [esp + 0x188], edi
jae 0x513c55
lea eax, [esp + 0x174]
push ebx
push eax
call fcn.00512f30
add esp, 8
cmp eax, ebp
mov dword [esi + 0x3c], ebp
je 0x51405e
push 1
push 2
lea ecx, [esp + 0xf8]
call fcn.0040a750
push 1
push 2
lea ecx, [esp + 0x78]
mov byte [esp + 0x4c8], 2
call fcn.0040a750
lea ecx, [esp + 0x14]
push 1
mov bl, 3
push ecx
mov byte [esp + 0x4c8], bl
call fcn.00508a90
add esp, 8
push str.version.txt
push 0x60114c
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x4d0], 4
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00409270
add esp, 8
cmp dword [esp + 0x2c], edi
mov byte [esp + 0x4c0], bl
jb 0x513cf3
mov eax, dword [esp + 0x18]
push eax
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x74]
call fcn.00408c00
cmp dword [eax + 0x18], edi
mov byte [esp + 0x4c0], 5
jb 0x513d13
mov eax, dword [eax + 4]
jmp 0x513d16
add eax, 4
push eax
call fcn.00514170
add esp, 4
cmp dword [esp + 0x2c], edi
mov esi, eax
mov byte [esp + 0x4c0], bl
jb 0x513d3b
mov edx, dword [esp + 0x18]
push edx
call fcn.005a1b1d
add esp, 4
cmp esi, ebp
je 0x513fde
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x74]
call fcn.00408c00
cmp dword [eax + 0x18], edi
mov byte [esp + 0x4c0], 6
jb 0x513d63
mov eax, dword [eax + 4]
jmp 0x513d66
add eax, 4
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.00514300
add esp, 8
cmp dword [esp + 0x6c], edi
mov bl, 8
mov byte [esp + 0x4c0], bl
jb 0x513d93
mov edx, dword [esp + 0x58]
push edx
call fcn.005a1b1d
add esp, 4
mov esi, 0xf
push 0x63a990
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x5c], 0
call fcn.0040b540
push 0x601b74
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c4], 9
call fcn.0040b540
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x194]
push edx
mov byte [esp + 0x4cc], 0xa
call fcn.00510470
add esp, 0xc
cmp dword [esp + 0x48], edi
jb 0x513dfe
mov eax, dword [esp + 0x34]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
mov byte [esp + 0x4c0], bl
jb 0x513e25
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005a1b1d
add esp, 4
push 0x63a990
lea ecx, [esp + 0x18]
call fcn.0040b540
push 0x601b70
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c4], 0xb
call fcn.0040b540
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x194]
push ecx
mov byte [esp + 0x4cc], 0xc
call fcn.00510470
add esp, 0xc
cmp dword [esp + 0x48], edi
jb 0x513e7e
mov edx, dword [esp + 0x34]
push edx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
mov byte [esp + 0x4c0], bl
jb 0x513ea5
mov eax, dword [esp + 0x18]
push eax
call fcn.005a1b1d
add esp, 4
push 0x63a990
lea ecx, [esp + 0x18]
call fcn.0040b540
push 0x6011c4
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c4], 0xd
call fcn.0040b540
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x194]
push eax
mov byte [esp + 0x4cc], 0xe
call fcn.00510470
add esp, 0xc
cmp dword [esp + 0x48], edi
jb 0x513efe
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
mov byte [esp + 0x4c0], bl
jb 0x513f25
mov edx, dword [esp + 0x18]
push edx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x1a4], edi
mov eax, dword [esp + 0x190]
jae 0x513f3c
lea eax, [esp + 0x190]
push eax
push 0x60114c
lea eax, [esp + 0xf8]
push 0x601b64
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00409270
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xf4]
call fcn.00408c00
cmp dword [eax + 0x18], edi
mov byte [esp + 0x4c0], 0xf
jb 0x513f8c
mov eax, dword [eax + 4]
jmp 0x513f8f
add eax, 4
cmp dword [esp + 0x188], edi
mov ecx, dword [esp + 0x174]
jae 0x513fa6
lea ecx, [esp + 0x174]
push eax
push ecx
call fcn.005138e0
add esp, 8
cmp dword [esp + 0x2c], edi
jb 0x513fc3
mov edx, dword [esp + 0x18]
push edx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x1a4], edi
jb 0x514003
mov eax, dword [esp + 0x190]
push eax
call fcn.005a1b1d
add esp, 4
jmp 0x514003
cmp dword [esp + 0x188], edi
mov eax, dword [esp + 0x174]
jae 0x513ff5
lea eax, [esp + 0x174]
push 0x601b64
push eax
call fcn.005138e0
add esp, 8
lea ecx, [esp + 0xbc]
mov byte [esp + 0x4c0], 2
call fcn.00409510
lea ecx, [esp + 0xbc]
mov esi, vtable.std::ios_base.0
push ecx
mov dword [esp + 0xc0], esi
call fcn.005d9cc4
add esp, 4
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4c0], 0
call fcn.00409510
lea edx, [esp + 0x13c]
push edx
mov dword [esp + 0x140], esi
call fcn.005d9cc4
add esp, 4
cmp dword [esp + 0x188], edi
jb 0x514077
mov eax, dword [esp + 0x174]
push eax
call fcn.005a1b1d
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x4b0
ret 4