Function at 0x431850
Capabilities:
Get disk information
Move file

Disassembly:
push 0xffffffffffffffff
push 0x47cd00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor ebx, ebx
push ebx
push ebx
call edi
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0043379c
add esp, 4
mov ebp, eax
push ebp
push esi
call edi
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4318a0
sub eax, edx
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.00434e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4318cb
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
cmp edi, ebx
mov dword [esp + 0x38], ebx
ja 0x43192a
push ebp
call fcn.00433797
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431910
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
mov edi, dword [esp + 0x18]
cmp ebp, ebx
jne 0x431932
xor eax, eax
jmp 0x431942
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x431937
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401910
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], ebx
jl 0x431b6c
mov cl, byte [esi]
mov byte [esp + 0x24], cl
mov edx, dword [esp + 0x24]
push edx
call fcn.0040ad80
add esp, 4
test eax, eax
je 0x43198e
lea ebp, [edi + ebp + 1]
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x431980
jmp 0x431b59
cmp dword [esi - 0xc], ebx
jl 0x431b6c
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x18]
push str._c:computer.._
push ecx
call fcn.00401c20
mov esi, dword [esp + 0x20]
push esi
call fcn.0040a6c0
add esp, 0x10
test eax, eax
jne 0x4319d2
lea ebp, [edi + ebp + 1]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4319c4
jmp 0x431b59
cmp dword [esi - 0xc], ebx
jl 0x431b6c
mov dl, byte [esi]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x28], dl
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.0042a950
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.00401b60
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431a29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], ebx
mov esi, dword [esp + 0x14]
je 0x431a5e
call fcn.00434e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4318c1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 2
jmp 0x431a97
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0042c360
test eax, eax
jne 0x431ae6
call fcn.00434e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4318c1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 3
cmp dword [esi - 0xc], ebx
jl 0x431b6c
movsx ecx, byte [esi]
push ecx
lea edx, [esp + 0x24]
push str._c:1212121212a
push edx
call fcn.00401c20
mov edi, dword [esp + 0x2c]
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431ae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
jl 0x431b6c
movsx ecx, byte [esi]
push ecx
lea edx, [esp + 0x18]
push str._c:computer.._
push edx
call fcn.00401c20
mov esi, dword [esp + 0x20]
push esi
call fcn.0040a6c0
add esp, 0x10
test eax, eax
je 0x431b40
cmp dword [esp + 0x40], ebx
je 0x431b20
lea eax, [esp + 0x14]
push eax
jmp 0x431b35
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0042c360
test eax, eax
jne 0x431b40
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.0042be70
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ebp, [eax + ebp + 1]
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x431b50
sub eax, edx
cmp eax, ebx
mov dword [esp + 0x18], eax
ja 0x431926
jmp 0x4318e3
push 0x80070057
call fcn.00401000
int3