Function at 0x403640
Capabilities:
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4230fe
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0xff
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x1cc]
push eax
push 0x523370
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4039e5
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1d4]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x1b8]
push edx
mov dword [ebp - 0x1b8], 0x5c3a43
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
setne al
cmp al, bl
je 0x4039e5
lea eax, [ebp - 0x1d0]
push eax
push 0x42ef00
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4039e5
mov edi, 0x523370
call fcn.00402c30
mov edi, 0x42ef00
mov esi, eax
call fcn.00402c30
mov ecx, dword [ebp - 0x1d4]
add eax, esi
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x1b8]
push edx
push 0x42eb18
mov word [ebp - 0x1b8], 0x6425
mov byte [ebp - 0x1b6], bl
call fcn.0040bd2d
lea eax, [ebp - 0x1c8]
push eax
call fcn.0040d517
lea ecx, [ebp - 0x1c8]
push ecx
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edx
call fcn.0040c579
mov edx, dword [eax + 4]
push edx
lea eax, [ebp - 0x110]
push str._02i
push eax
call fcn.0040bd2d
lea ecx, [ebp - 0x144]
push ecx
call fcn.00403540
add esp, 0x24
mov edi, eax
mov esi, 0x42cb74
mov dword [ebp - 4], ebx
call fcn.00401450
mov esi, 0x10
cmp dword [ebp - 0x130], esi
jb 0x40379f
mov edx, dword [ebp - 0x144]
push edx
call fcn.0040bc51
add esp, 4
cmp dword [0x42cb88], esi
jb 0x4037b4
mov eax, dword [0x42cb74]
mov dword [ebp - 0x1b8], eax
jmp 0x4037be
mov dword [ebp - 0x1b8], 0x42cb74
mov dword [ebp - 0x118], 0x3d327826
mov byte [ebp - 0x114], bl
sub esp, 0x1c
mov dword [ebp - 4], 1
mov esi, esp
mov eax, 0x42eb18
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x1bc], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4037f4
sub eax, edi
push eax
push 0x42eb18
mov ecx, esi
call fcn.00401640
lea ecx, [ebp - 0x144]
call fcn.00409100
add esp, 0x1c
mov dword [ebp - 0x1bc], eax
mov edi, 0x74830c
lea esi, [ebp - 0x128]
call fcn.00407f50
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00407f90
push eax
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.00407fe0
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x1b8]
lea ecx, [ebp - 0x198]
call fcn.00407fe0
add esp, 0xc
mov edi, 0x10
cmp dword [ebp - 0x168], edi
jb 0x40388f
mov edx, dword [ebp - 0x17c]
push edx
call fcn.0040bc51
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], ebx
mov byte [ebp - 0x17c], bl
cmp dword [ebp - 0x14c], edi
jb 0x4038bd
mov eax, dword [ebp - 0x160]
push eax
call fcn.0040bc51
add esp, 4
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], ebx
mov byte [ebp - 0x160], bl
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
mov word [ebp - 0x11c], bx
mov byte [ebp - 0x11a], bl
cmp dword [ebp - 0x130], edi
jb 0x403905
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.0040bc51
add esp, 4
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], ebx
mov byte [ebp - 0x144], bl
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1bc], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x42cb74
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x114], bl
mov byte [ecx], bl
call fcn.00401740
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x1b8], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x198]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00401740
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1d8], esp
mov byte [ebp - 4], 0xd
push 0x11
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.vip_playstory.com
mov byte [ecx], bl
call fcn.00401640
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xb
call fcn.00402cb0
add esp, 0x54
mov edi, eax
mov esi, 0x42cb58
mov byte [ebp - 4], 0xe
call fcn.00401450
mov esi, 0x10
cmp dword [ebp - 0x1a0], esi
jb 0x4039ce
mov eax, dword [ebp - 0x1b4]
push eax
call fcn.0040bc51
add esp, 4
cmp dword [ebp - 0x184], esi
jb 0x4039e5
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.0040bc51
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret