Function at 0x420890
Capabilities:
Check os version
Get file system object information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b5ab
mov eax, dword fs:[0]
push eax
sub esp, 0xbf8
mov eax, dword [0x608ec4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xbd4], edi
push ecx
mov dword [ebp - 0xbe0], 0
mov esi, esp
mov dword [ebp - 0xbbc], esi
mov eax, dword [edi + 0x488]
sub eax, 0x10
mov dword [ebp - 0xbd8], esp
push eax
call fcn.004039d0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov esi, esp
mov dword [ebp - 0xbe8], esp
mov dword [ebp - 0xbbc], esi
call fcn.00431e1a
mov ecx, eax
test ecx, ecx
je 0x421427
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push str.strWebDrive
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004033a0
test al, al
jne 0x420944
push 0xb
push str.strWebDrive
mov ecx, esi
call fcn.004036d0
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0xbbc], esi
mov eax, dword [edi + 0x484]
sub eax, 0x10
push eax
call fcn.004039d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00409bf0
push ecx
mov esi, esp
mov dword [ebp - 0xbd8], esp
mov dword [ebp - 0xbbc], esi
mov eax, dword [edi + 0x48c]
sub eax, 0x10
push eax
call fcn.004039d0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0xbe8], esp
mov dword [ebp - 0xbbc], esi
call fcn.00431e1a
mov ecx, eax
test ecx, ecx
je 0x421431
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push str.strWebPath
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004033a0
test al, al
jne 0x4209e9
push 0xa
push str.strWebPath
mov ecx, esi
call fcn.004036d0
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0xbbc], esi
mov eax, dword [edi + 0x484]
sub eax, 0x10
push eax
call fcn.004039d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00409bf0
push dword [edi + 0x48c]
lea ecx, [edi + 0x1a8]
call fcn.0042f08a
mov ecx, edi
call fcn.00421450
push dword [edi + 0x48c]
mov ecx, edi
call fcn.004246e0
push str.my_pc
push dword [edi + 0x48c]
call fcn.0057a1f3
add esp, 8
test eax, eax
jne 0x420a61
mov ecx, edi
call fcn.004214c0
jmp 0x42140c
lea ecx, [ebp - 0xc04]
call fcn.00439e2b
mov dword [ebp - 4], 6
mov eax, dword [edi + 0x48c]
sub eax, 0x10
push eax
call fcn.004039d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0xbd0], eax
mov byte [ebp - 4], 7
call fcn.00431e1a
mov ecx, eax
test ecx, ecx
je 0x42143b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xbdc], esi
mov byte [ebp - 4], 8
push 0x5e21bf
push dword [edi + 0x48c]
call fcn.0057a1f3
add esp, 8
test eax, eax
jne 0x420d35
push 0x400
push eax
lea eax, [ebp - 0x614]
push eax
call fcn.005720f0
push 0x101
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005720f0
add esp, 0x18
mov dword [ebp - 0xbc8], 0x101
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x61c], 0
movups xmmword [ebp - 0x62c], xmm0
mov dword [ebp - 0x618], 0xf
mov byte [ebp - 0x62c], 0
lea eax, [ebp - 0x644]
mov byte [ebp - 4], 9
push eax
call fcn.004216d0
mov edi, eax
lea eax, [ebp - 0x62c]
cmp eax, edi
je 0x420bd4
mov ecx, dword [ebp - 0x618]
cmp ecx, 0x10
jb 0x420b91
mov edx, dword [ebp - 0x62c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420b87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421445
push ecx
push edx
call fcn.0056eea1
add esp, 8
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], 0xf
mov byte [ebp - 0x62c], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x62c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x61c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x630]
cmp ecx, 0x10
jb 0x420c0e
mov edx, dword [ebp - 0x644]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420c04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421445
push ecx
push edx
call fcn.0056eea1
add esp, 8
push 0x110
lea eax, [ebp - 0x754]
push 0
push eax
call fcn.005720f0
add esp, 0xc
mov dword [ebp - 0x758], 0x114
lea eax, [ebp - 0x758]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x754], 5
jne 0x420c8a
mov eax, dword [ebp - 0x750]
test eax, eax
je 0x420c53
cmp eax, 1
jne 0x420c8a
cmp dword [ebp - 0x618], 0x10
lea ecx, [ebp - 0x114]
push ecx
lea eax, [ebp - 0x62c]
cmovae eax, dword [ebp - 0x62c]
push str.Documents_and_Settings
push eax
lea eax, [ebp - 0x614]
push str._s_s_sDeskTop_
push eax
call fcn.00425000
add esp, 0x14
jmp 0x420ccc
cmp dword [ebp - 0x618], 0x10
lea ecx, [ebp - 0x114]
push ecx
lea eax, [ebp - 0x62c]
cmovae eax, dword [ebp - 0x62c]
push str.Users
push eax
lea eax, [ebp - 0x614]
push str._s_s_sDeskTop_
push eax
call fcn.00425000
add esp, 0x14
lea eax, [ebp - 0xbd8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [ebp - 0x614]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420cd5
sub ecx, edx
lea eax, [ebp - 0x614]
push ecx
push eax
lea ecx, [ebp - 0xbd0]
call fcn.004036d0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x618]
cmp ecx, 0x10
jb 0x420d9a
mov edx, dword [ebp - 0x62c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420d29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42144a
push ecx
push edx
call fcn.0056eea1
add esp, 8
jmp 0x420d9a
push 1
lea eax, [ebp - 0xbc8]
push eax
lea ecx, [ebp - 0xbd0]
call fcn.004104b0
push 0x5e2b90
push dword [eax]
call fcn.0057a1f3
mov edx, dword [ebp - 0xbc8]
add esp, 8
test eax, eax
setne byte [ebp - 0xbc9]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420d7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xbc9], 0
je 0x420d9a
push 1
push 0x5e2b90
lea ecx, [ebp - 0xbd0]
call fcn.00408560
push 3
push 0x5e478c
lea ecx, [ebp - 0xbd0]
call fcn.00408560
mov edi, dword [ebp - 0xbd0]
lea ecx, [ebp - 0xc04]
push 0
push edi
call fcn.0043a0ab
test eax, eax
je 0x421015
mov esi, dword [ebp - 0xbd4]
or edi, 0xffffffff
lea ecx, [ebp - 0xc04]
call fcn.0043a264
lea ecx, [ebp - 0xc04]
mov dword [ebp - 0xbbc], eax
call fcn.0043a60d
test eax, eax
jne 0x420ffc
mov edx, dword [ebp - 0xc04]
lea ecx, [ebp - 0xc04]
push 2
mov edx, dword [edx + 0x38]
call edx
test eax, eax
jne 0x420ffc
mov eax, dword [ebp - 0xc04]
lea ecx, [ebp - 0xc04]
push 0x10
mov eax, dword [eax + 0x38]
call eax
test eax, eax
je 0x420ffc
push 0x45c
lea eax, [ebp - 0xbb4]
push 0
push eax
call fcn.005720f0
add esp, 0xc
lea eax, [ebp - 0xbc8]
lea ecx, [ebp - 0xc04]
push eax
call fcn.0043a35f
push 0x4301
push 0x45c
lea ecx, [ebp - 0xbb4]
push ecx
push 0
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [ebp - 0xbc8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420e8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xbe4]
push eax
lea ecx, [ebp - 0xc04]
call fcn.0043a310
push 0
push 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xbb0]
mov eax, dword [eax]
push 0x1004
push dword [esi + 0x248]
mov dword [ebp - 0xbc4], ecx
mov dword [ebp - 0xbb8], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push dword [ebp - 0xbc4]
lea ecx, [esi + 0x228]
push 0
push 0
push dword [ebp - 0xbb8]
push eax
push 3
call fcn.00426efe
mov byte [ebp - 4], 8
mov ecx, edi
mov edx, dword [ebp - 0xbe4]
mov dword [ebp - 0xbc4], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x420f17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xbc4]
push 0x5e21bf
push 1
push eax
lea ecx, [esi + 0x228]
call fcn.00427124
push 0x5e5a90
push 2
push dword [ebp - 0xbc4]
lea ecx, [esi + 0x228]
call fcn.00427124
push 0x433
call fcn.00425426
add esp, 4
mov dword [ebp - 0xbb8], eax
mov dword [ebp - 0xbd8], eax
test eax, eax
je 0x420f71
push 0x433
push 0
push eax
call fcn.005720f0
add esp, 0xc
jmp 0x420f7b
mov dword [ebp - 0xbb8], 0
lea eax, [ebp - 0xbc0]
push eax
lea ecx, [ebp - 0xc04]
call fcn.0043a35f
mov edx, dword [ebp - 0xbb8]
mov ecx, dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x420f95
mov edx, dword [ebp - 0xbc0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420fc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xbb8]
mov ax, word [0x5e5a94]
push ecx
push 0
push 0
push 0
push 0
mov word [ecx + 0x400], ax
mov al, byte [0x5e5a96]
push 4
push 0
push dword [ebp - 0xbc4]
mov byte [ecx + 0x402], al
lea ecx, [esi + 0x228]
call fcn.0042707f
cmp dword [ebp - 0xbbc], 0
jne 0x420dd1
mov esi, dword [ebp - 0xbdc]
mov edi, dword [ebp - 0xbd0]
lea ecx, [ebp - 0xc04]
call fcn.0043a051
push 0
push edi
lea ecx, [ebp - 0xc04]
call fcn.0043a0ab
test eax, eax
je 0x4213bf
nop word [eax + eax]
lea ecx, [ebp - 0xc04]
call fcn.0043a264
lea ecx, [ebp - 0xc04]
mov dword [ebp - 0xbd8], eax
call fcn.0043a60d
test eax, eax
jne 0x4213b2
mov edx, dword [ebp - 0xc04]
lea ecx, [ebp - 0xc04]
push 2
mov edx, dword [edx + 0x38]
call edx
test eax, eax
jne 0x4213b2
mov eax, dword [ebp - 0xc04]
lea ecx, [ebp - 0xc04]
push 0x10
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x4213b2
push 0x45c
push eax
lea eax, [ebp - 0xbb4]
push eax
call fcn.005720f0
add esp, 0xc
lea eax, [ebp - 0xbbc]
lea ecx, [ebp - 0xc04]
push eax
call fcn.0043a35f
push 0x4301
push 0x45c
lea ecx, [ebp - 0xbb4]
push ecx
push 0
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [ebp - 0xbbc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4210fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xbe4]
push eax
lea ecx, [ebp - 0xc04]
call fcn.0043a310
mov dword [ebp - 0xbc0], eax
mov eax, dword [ebp - 0xbd4]
push 0
push 0
push 0x1004
mov byte [ebp - 4], 0xb
push dword [eax + 0x248]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xbc0]
mov edx, dword [ebp - 0xbd4]
push 0
push dword [ebp - 0xbb0]
push 0
push 0
push dword [ecx]
lea ecx, [edx + 0x228]
push eax
push 3
call fcn.00426efe
mov byte [ebp - 4], 8
or ecx, 0xffffffff
mov edx, dword [ebp - 0xbe4]
mov dword [ebp - 0xbc4], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x421181
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xc04]
call fcn.0043a5d4
mov dword [ebp - 0xbb8], eax
mov dword [ebp - 0xbc0], edx
mov byte [ebp - 4], 0xc
call fcn.00431e1a
mov ecx, eax
test ecx, ecx
je 0x421427
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0xbe0], 1
add eax, 0x10
push 0x100
mov dword [ebp - 0xbc8], eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0xbc0]
push dword [ebp - 0xbb8]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSize64A]
lea ecx, [ebp - 0x214]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4211f0
sub ecx, edx
lea eax, [ebp - 0x214]
push ecx
push eax
lea ecx, [ebp - 0xbc8]
call fcn.004036d0
mov eax, dword [ebp - 0xbc8]
lea ecx, [esi - 0x10]
mov dword [ebp - 0xbc0], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0xbb8], edx
cmp edx, ecx
je 0x42128c
cmp dword [ecx + 0xc], 0
jl 0x421271
mov esi, dword [ebp - 0xbc0]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x421271
push edx
call fcn.004039d0
add esp, 4
mov dword [ebp - 0xbc0], eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421266
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xbc0]
lea esi, [eax + 0x10]
mov dword [ebp - 0xbdc], esi
jmp 0x421286
push dword [eax - 0xc]
lea ecx, [ebp - 0xbdc]
push eax
call fcn.004036d0
mov esi, dword [ebp - 0xbdc]
mov edx, dword [ebp - 0xbb8]
and dword [ebp - 0xbe0], 0xfffffffe
or eax, 0xffffffff
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4212ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xbd4]
push esi
push 1
push dword [ebp - 0xbc4]
lea ecx, [ecx + 0x228]
call fcn.00427124
mov ecx, dword [ebp - 0xbd4]
push 0x5e5a98
push 2
push dword [ebp - 0xbc4]
lea ecx, [ecx + 0x228]
call fcn.00427124
push 0x433
call fcn.00425426
add esp, 4
mov dword [ebp - 0xbb8], eax
mov dword [ebp - 0xbc0], eax
test eax, eax
je 0x421313
push 0x433
push 0
push eax
call fcn.005720f0
add esp, 0xc
jmp 0x42131d
mov dword [ebp - 0xbb8], 0
lea eax, [ebp - 0xbe8]
push eax
lea ecx, [ebp - 0xc04]
call fcn.0043a35f
mov edx, dword [ebp - 0xbb8]
mov ecx, dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x421337
mov edx, dword [ebp - 0xbe8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421363
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xc04]
call fcn.0043a5d4
push edx
push eax
mov eax, dword [ebp - 0xbb8]
add eax, 0x400
push str._I64d
push eax
call fcn.00402cc0
mov ecx, dword [ebp - 0xbd4]
add esp, 0x10
push dword [ebp - 0xbb8]
lea ecx, [ecx + 0x228]
push 0
push 0
push 0
push 0
push 4
push 0
push dword [ebp - 0xbc4]
call fcn.0042707f
cmp dword [ebp - 0xbd8], 0
jne 0x421040
lea ecx, [ebp - 0xc04]
call fcn.0043a051
lea edx, [esi - 0x10]
mov byte [ebp - 4], 7
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4213e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x421401
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xc04]
call fcn.00439fd3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056ee93
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403680
push 0x80004005
call fcn.00403680
push 0x80004005
call fcn.00403680
call fcn.0057504f
call fcn.0057504f
int3