Function at 0x402c6c
Capabilities:
Get disk size
Impersonate user

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov eax, 0x4036f8
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x1e751
mov dword [ebp - 0xc], 0x18b8c
mov dword [ebp - 0x10], 0x13381
mov dword [ebp - 0x14], 0x1f9fd
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x402d12
mov dword [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x402d03
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 [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x402d3d
mov dword [0x42e0e7], eax
lea ecx, [0x42e015]
sub dword [ecx + 0xc], 0x67
mov edx, 0x19c
mov dword [0x42e0bb], ebx
mov dword [esp - 0x12], edi
call fcn.00404508
cmp word [0x42e10c], 0
jne 0x402d61
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, 0x403710
mov dword [ebp - 0x18], eax
mov eax, 0x403728
mov dword [ebp - 0x1c], eax
mov eax, 0x403750
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0x1de79
mov dword [ebp - 0x28], 0x132b9
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [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
call sub.advapi32.dll_LogonUserW
test eax, eax
jne 0x402ddd
call fcn.00404358
mov dword [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x402e08
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, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
jne 0x402e4b
call fcn.004020cc
mov byte [ebp - 0x119], 0
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov dword [ebp - 0x34], 0x17c3f
mov eax, 0x403778
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x141]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.user32.dll_GetClassInfoA
test eax, eax
jne 0x402edd
mov dword [0x42e106], 0x12aed
mov dword [0x42e06d], edi
mov dword [0x42e03b], edx
cmp word [0x42e0d5], 0
jl 0x402ecd
mov dword [0x42e088], ebx
mov dword [0x42e110], esi
mov dword [0x42e07f], ebx
mov dword [0x42e027], 0x1623e
mov dword [0x42e09b], ecx
inc byte [ebp - 0x119]
cmp byte [ebp - 0x119], 3
jne 0x402e52
mov dword [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x402f1b
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, 0x403788
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0x15fa5
mov dword [ebp - 0x44], 0x1a6bf
mov dword [ebp - 0x48], 0x10f0f
mov dword [ebp - 0x4c], 0x11fa6
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x402f83
mov dword [esp - 0x18], edi
mov eax, edx
mov edi, dword [0x42e093]
mov dword [0x42e0bf], ecx
mov dword [0x42e06e], ebx
mov eax, 0x403790
mov dword [ebp - 0x50], eax
mov eax, 0x4037b0
mov dword [ebp - 0x54], eax
mov eax, 0x4037c0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x185e2
mov dword [ebp - 0x60], 0x14627
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.advapi32.dll_LogonUserW
test eax, eax
je 0x402fe8
mov dword [0x42e09d], edx
sub esi, dword [0x42e066]
mov dword [0x42e090], ecx
mov dword [0x42e051], edx
mov dword [0x42e07a], edi
mov byte [ebp - 0x119], 0
mov dword [0x42e079], ebx
mov dword [0x42e0db], 0x15aa1
mov dword [0x42e054], ebx
mov word [0x42e0e5], 0x8e3f
mov dword [0x42e02c], edi
mov eax, 0x4037c4
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], 0x18ac8
mov dword [ebp - 0x70], 0x1f14e
mov dword [ebp - 0x74], 0x12467
mov dword [ebp - 0x78], 0x15807
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
inc byte [ebp - 0x119]
cmp byte [ebp - 0x119], 1
jne 0x402fef
mov byte [ebp - 0x119], 0
mov dword [0x42e079], ebx
mov dword [0x42e0db], 0x15aa1
mov dword [0x42e054], ebx
mov word [0x42e0e5], 0x8e3f
mov dword [0x42e02c], edi
mov dword [ebp - 0x7c], 0x113bd
mov eax, 0x4037d0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x169]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.user32.dll_GetClassInfoA
test eax, eax
je 0x4030d1
mov dword [0x42e09d], edx
sub esi, dword [0x42e066]
mov dword [0x42e090], ecx
mov dword [0x42e051], edx
mov dword [0x42e07a], edi
inc byte [ebp - 0x119]
cmp byte [ebp - 0x119], 2
jne 0x403067
xchg dword [0x42e0d4], ebx
cmp byte [0x42e03f], 0
jle 0x40311a
mov dword [0x42e093], edx
add ebx, 0xf5
mov byte [0x42e069], 0xe5
mov dword [0x42e0c5], 0x15925
lea esi, [0x42e0a1]
mov dword [esi], 0x17
jmp 0x403128
dec ecx
mov dword [0x42e08d], edi
mov byte [0x42e0fc], 0x53
and dword [0x42e01d], esi
cmp dh, byte [0x42e0ed]
jne 0x403150
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.00404508
cmp word [0x42e10c], 0
jne 0x403175
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, 0x4037e4
mov dword [ebp - 0x84], eax
mov eax, 0x4037f0
mov dword [ebp - 0x88], eax
mov eax, 0x403800
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], 0x18600
mov dword [ebp - 0x94], 0x129be
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
mov dword [esp - 0x18], edi
mov eax, edx
mov edi, dword [0x42e093]
mov dword [0x42e0bf], ecx
mov dword [0x42e06e], ebx
push eax
push esi
call fcn.00404508
mov dword [0x42e09d], edx
sub esi, dword [0x42e066]
mov dword [0x42e090], ecx
mov dword [0x42e051], edx
mov dword [0x42e07a], edi
mov eax, dword [ebp - 0x9c]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
jne 0x40330b
mov byte [ebp - 0x119], 0
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov dword [ebp - 0xa0], 0x16f74
mov eax, 0x403818
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x191]
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xa0]
push eax
call sub.user32.dll_GetClassInfoA
test eax, eax
jne 0x4032f8
mov dword [0x42e106], 0x12aed
mov dword [0x42e06d], edi
mov dword [0x42e03b], edx
cmp word [0x42e0d5], 0
jl 0x4032e8
mov dword [0x42e088], ebx
mov dword [0x42e110], esi
mov dword [0x42e07f], ebx
mov dword [0x42e027], 0x1623e
mov dword [0x42e09b], ecx
inc byte [ebp - 0x119]
cmp byte [ebp - 0x119], 1
jne 0x403261
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, dword [ebp - 0xa8]
push eax
call sub.kernel32.dll_SetThreadLocale
mov byte [ebp - 0x119], 0
mov dword [0x42e079], ebx
mov dword [0x42e0db], 0x15aa1
mov dword [0x42e054], ebx
mov word [0x42e0e5], 0x8e3f
mov dword [0x42e02c], edi
mov dword [ebp - 0xac], 0x1bfd3
mov eax, 0x403824
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x1b9]
push eax
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0xac]
push eax
call sub.user32.dll_GetClassInfoA
test eax, eax
inc byte [ebp - 0x119]
cmp byte [ebp - 0x119], 2
jne 0x403347
mov dword [esp - 0x18], edi
mov eax, edx
mov edi, dword [0x42e093]
mov dword [0x42e0bf], ecx
mov dword [0x42e06e], ebx
mov eax, dword [ebp - 0xb4]
push eax
call sub.kernel32.dll_SetThreadLocale
test eax, eax
je 0x4033ec
mov dword [esp - 0x18], edi
mov eax, edx
mov edi, dword [0x42e093]
mov dword [0x42e0bf], ecx
mov dword [0x42e06e], ebx
mov eax, 0x40382c
mov dword [ebp - 0xb8], eax
mov eax, 0x403830
mov dword [ebp - 0xbc], eax
mov eax, 0x403844
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc4], 0x1ea53
mov dword [ebp - 0xc8], 0x1b079
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0xb8]
push eax
call sub.advapi32.dll_LogonUserW
call fcn.00402990
mov dword [0x42e0ff], 0x129d3
sub edx, 0xd2
lea eax, [0x42e059]
mov dword [eax + 0x24], ebx
xchg dword [0x42e040], edi
mov dword [0x42e0df], 0x102d8
mov dword [ebp - 0xd0], 0x15a6a
mov eax, 0x403854
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x1e1]
push eax
mov eax, dword [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0xd0]
push eax
call sub.user32.dll_GetClassInfoA
test eax, eax
je 0x4034d3
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
call fcn.00401014
mov dword [0x42e079], ebx
mov dword [0x42e0db], 0x15aa1
mov dword [0x42e054], ebx
mov word [0x42e0e5], 0x8e3f
mov dword [0x42e02c], edi
mov eax, 0x403860
mov dword [ebp - 0xd8], eax
mov eax, 0x403864
mov dword [ebp - 0xdc], eax
mov eax, 0x403884
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], 0x1ca72
mov dword [ebp - 0xe8], 0x19f2f
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0xe0]
push eax
mov eax, dword [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xd8]
push eax
call sub.advapi32.dll_LogonUserW
test eax, eax
jne 0x40356a
call fcn.004016f0
mov dword [0x42e0e7], 0x10066
mov dword [0x42e025], edx
mov dword [0x42e087], edi
mov dword [0x42e04f], esi
mov dword [0x42e0fc], ecx
mov eax, 0x403890
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], 0x180ce
mov dword [ebp - 0xf8], 0x16a96
mov dword [ebp - 0xfc], 0x11f9d
mov dword [ebp - 0x100], 0x1a91a
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0xf0]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov dword [0x42e037], edi
sub dword [0x42e097], ecx
mov dword [0x42e094], eax
cmp dword [0x42e0c1], 0
jg 0x403612
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 [0x42e09d], edx
sub esi, dword [0x42e066]
mov dword [0x42e090], ecx
mov dword [0x42e051], edx
mov dword [0x42e07a], edi
jmp section..htext