Function at 0x406ca0
Capabilities:
Contain obfuscated stackstrings
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
push ebx
push esi
push edi
mov eax, 0x50df74
call fcn.004f505c
mov dword [ebp - 0x44], 1
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.00503970
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0xc
mov word [ebp - 0x50], 0x18
lea eax, [ebp - 4]
call fcn.00401be8
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0xc
mov word [ebp - 0x50], 0x24
lea eax, [ebp - 8]
call fcn.00401be8
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0xc
mov word [ebp - 0x50], 0x30
lea eax, [ebp - 0xc]
call fcn.00401be8
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0xc
mov word [ebp - 0x50], 0x3c
lea eax, [ebp - 0x10]
call fcn.00401be8
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0xc
mov dword [ebp - 0x64], 0xa
push 0x3e8
call sub.KERNEL32.DLL_Sleep
xor edx, edx
mov dword [ebp - 0x68], edx
mov word [ebp - 0x50], 0xc
cmp dword [ebp - 0x68], 0x96
jge 0x406d72
mov ecx, dword [0x519ca8]
mov eax, dword [ecx]
call fcn.0047f174
push 0x64
call sub.KERNEL32.DLL_Sleep
inc dword [ebp - 0x68]
cmp dword [ebp - 0x68], 0x96
jl 0x406d52
call sub.KERNEL32.DLL_GetLogicalDrives
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x50], 0xc
lea eax, [ebp + 0x10]
mov edx, 1
call fcn.0040729c
movsx ecx, byte [eax]
add ecx, 0xffffffbf
mov eax, 1
shl eax, cl
mov dword [ebp - 0x70], eax
jmp 0x406db1
push 0x1f4
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetLogicalDrives
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x70]
and edx, dword [ebp - 0x6c]
jne 0x406dc4
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x64], 0xffffffff
test ecx, ecx
jne 0x406d9f
mov word [ebp - 0x50], 0x48
lea eax, [ebp - 0x18]
call fcn.00401be8
push eax
inc dword [ebp - 0x44]
mov edx, str..system_servicepack.txt
lea eax, [ebp - 0x14]
call fcn.00503938
inc dword [ebp - 0x44]
lea edx, [ebp - 0x14]
lea eax, [ebp + 0x10]
pop ecx
call fcn.00503a04
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.005039dc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005039ac
mov dword [ebp - 0x64], 0xa
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x50], 0xc
jmp 0x406e71
push 0x1f4
call sub.KERNEL32.DLL_Sleep
mov word [ebp - 0x50], 0x54
push 0x50c9bf
lea eax, [ebp - 4]
call fcn.00402470
push eax
call fcn.004f6de8
add esp, 8
mov dword [ebp - 0x74], eax
mov word [ebp - 0x50], 0xc
jmp 0x406e71
cmp dword [ebp - 0x74], 0
jne 0x406e82
mov edx, dword [ebp - 0x64]
add dword [ebp - 0x64], 0xffffffff
test edx, edx
jne 0x406e31
cmp dword [ebp - 0x74], 0
je 0x40712a
mov byte [ebp - 0x178], 0
jmp 0x406f0c
mov byte [ebp - 0x278], 0
push dword [ebp - 0x74]
push 0xff
lea ecx, [ebp - 0x278]
push ecx
call fcn.004f6a78
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
call fcn.00406c18
pop ecx
lea edx, [ebp - 0x278]
push edx
call fcn.00406c60
pop ecx
lea ecx, [ebp - 0x278]
push ecx
call fcn.004f4d04
pop ecx
test eax, eax
je 0x406f0c
movsx eax, byte [ebp - 0x278]
cmp eax, 0x53
jne 0x406f0c
movsx edx, byte [ebp - 0x277]
cmp edx, 0x50
jne 0x406f0c
lea ecx, [ebp - 0x278]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.004f4ccc
add esp, 8
mov edx, dword [ebp - 0x74]
test byte [edx + 0x12], 0x20
je 0x406e95
push dword [ebp - 0x74]
call fcn.004f6928
pop ecx
push 2
push 0x50c9c2
lea ecx, [ebp - 0x178]
push ecx
call fcn.004f4dd0
add esp, 0xc
test eax, eax
jne 0x40706b
push 0x50c9c5
lea eax, [ebp - 0x176]
push eax
call fcn.004f4f5c
add esp, 8
mov dword [ebp - 0x78], eax
mov word [ebp - 0x50], 0xc
mov word [ebp - 0x50], 0x60
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x78]
call fcn.00503938
inc dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.005039dc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005039ac
xor ecx, ecx
mov dword [ebp - 0x64], ecx
push 0x2e
push dword [ebp - 0x78]
call fcn.004f4e0c
add esp, 8
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x406fbe
inc dword [ebp - 0x64]
push 0x2e
mov eax, dword [ebp - 0x78]
inc eax
push eax
call fcn.004f4e0c
add esp, 8
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x406fa3
mov edx, 3
sub edx, dword [ebp - 0x64]
dec edx
mov dword [ebp - 0x64], edx
jmp 0x407025
mov word [ebp - 0x50], 0x6c
lea eax, [ebp - 0x24]
call fcn.00401be8
push eax
inc dword [ebp - 0x44]
mov edx, 0x50c9c7
lea eax, [ebp - 0x20]
call fcn.00503938
inc dword [ebp - 0x44]
lea edx, [ebp - 0x20]
lea eax, [ebp - 8]
pop ecx
call fcn.00503a04
lea edx, [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.005039dc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005039ac
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x64], 0xffffffff
test ecx, ecx
jg 0x406fcc
mov word [ebp - 0x50], 0x78
lea eax, [ebp - 0x28]
call fcn.00401be8
mov ecx, eax
inc dword [ebp - 0x44]
lea edx, [ebp - 8]
mov eax, 0x50c9ca
call fcn.00503c2c
lea edx, [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.005039dc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.005039ac
mov word [ebp - 0x50], 0x84
mov edx, 0x50c9cd
lea eax, [ebp - 0x2c]
call fcn.00503938
inc dword [ebp - 0x44]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00503aa8
push eax
dec dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005039ac
pop ecx
test cl, cl
je 0x40712a
mov word [ebp - 0x50], 0x90
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.005039dc
mov eax, dword [ebp + 8]
mov word [ebp - 0x50], 0x9c
push eax
dec dword [ebp - 0x44]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.005039ac
pop eax
mov word [ebp - 0x50], 0x90
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x60]
mov dword fs:[0], edx
jmp 0x407285
mov word [ebp - 0x50], 0xa8
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x3a8]
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
call fcn.00401be8
push eax
inc dword [ebp - 0x44]
call fcn.00406890
add esp, 0xc
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.005039dc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005039ac
mov word [ebp - 0x50], 0xb4
mov edx, str.1.2.0.0
lea eax, [ebp - 0x34]
call fcn.00503938
inc dword [ebp - 0x44]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.00503a90
push eax
dec dword [ebp - 0x44]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005039ac
pop ecx
test cl, cl
je 0x4071d5
mov word [ebp - 0x50], 0xc0
mov edx, str.1.1.0.0
lea eax, [ebp - 0x38]
call fcn.00503938
inc dword [ebp - 0x44]
lea edx, [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.005039dc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.005039ac
jmp 0x407206
mov word [ebp - 0x50], 0xcc
mov edx, str.1.0.0.0
lea eax, [ebp - 0x3c]
call fcn.00503938
inc dword [ebp - 0x44]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.005039dc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005039ac
mov word [ebp - 0x50], 0xd8
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.005039dc
mov eax, dword [ebp + 8]
mov word [ebp - 0x50], 0xe4
push eax
dec dword [ebp - 0x44]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005039ac
dec dword [ebp - 0x44]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.005039ac
pop eax
mov word [ebp - 0x50], 0xd8
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x60]
mov dword fs:[0], edx
mov edi, dword [ebp - 0x284]
mov esi, dword [ebp - 0x280]
mov ebx, dword [ebp - 0x27c]
mov esp, ebp
pop ebp
ret