Function at 0x431274
Capabilities:
Get disk information
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd00
push ebx
xor edx, edx
mov dword [ebp - 0x2f0], edx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4318ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x40050], 0xffffffff
mov dword [eax + 0x40054], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x48]
call fcn.004048b8
push 0x10
lea eax, [ebp - 0x27d]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x105
lea eax, [ebp - 0x26d]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x284]
mov ecx, 0x431900
call fcn.00404be0
mov eax, dword [ebp - 0x284]
call fcn.00404d94
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x431419
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0xb
lea eax, [ebp - 0x26d]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x298], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x294], eax
mov byte [ebp - 0x290], 0
lea eax, [ebp - 0x27d]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 0x288], 6
lea edx, [ebp - 0x2b4]
mov ecx, 5
mov eax, 0x43190c
call fcn.0040c3d0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0x431920
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x431419
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x44], 4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x48]
call fcn.00404d94
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x3c]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [ebp - 0x20], 0xffffffff
je 0x43143e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
imul dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40050], eax
mov dword [ecx + 0x40054], edx
jmp 0x43189e
call fcn.0040d404
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x2bc]
call fcn.0040cdf8
mov ecx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b8]
mov edx, 0x43194c
call fcn.00404be0
mov edx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x168]
mov ecx, 0xff
call fcn.00404b70
xor eax, eax
mov al, byte [ebp - 0x168]
mov dword [ebp - 0x2c], eax
push 0
push 2
push 0x24000000
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x2c0]
mov ecx, 0x431990
call fcn.00404be0
mov eax, dword [ebp - 0x2c0]
call fcn.00404d94
mov ecx, 3
mov edx, 0xc0000000
call fcn.004297c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x431512
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x2cc]
call fcn.0040ea48
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 0x2c4], 0xb
lea eax, [ebp - 0x2c8]
push eax
push 0
mov ecx, 0x4319b4
mov dl, 1
mov eax, dword [0x4308f4]
call fcn.0040f29c
call fcn.0040426c
xor edx, edx
push ebp
push 0x431897
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor edx, edx
push edx
push eax
push 0
push 0x400
call fcn.0042a970
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402d80
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4315ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00407290
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x167]
mov ecx, dword [ebp - 0x2c]
call fcn.00403054
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x431591
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x4315d3
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x2d0]
call fcn.0040ea48
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 0x2c4], 0xb
lea eax, [ebp - 0x2c8]
push eax
push 0
mov ecx, 0x4319f0
mov dl, 1
mov eax, dword [0x4308f4]
call fcn.0040f29c
call fcn.0040426c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4315f3
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00402db0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4318f1
lea eax, [ebp - 0x2f0]
call fcn.004048b8
lea eax, [ebp - 0x2d4]
mov edx, 3
call fcn.004048dc
lea eax, [ebp - 0x2c0]
mov edx, 3
call fcn.004048dc
lea eax, [ebp - 0x284]
call fcn.004048b8
lea eax, [ebp - 0x48]
call fcn.004048b8
ret