Function at 0x4360e0
Capabilities:
Get disk size
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x480846
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4a4a28]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x464]
push str.IsEnoughDiscSpace
push str.CDiagnosticItem
mov ebx, ecx
call fcn.00420ef0
add esp, 8
mov dword [esp + 0x20], 1
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x436158
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x45c], 0
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43618d
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x45c], 1
mov eax, dword [ebp + 0xc]
push eax
lea edi, [esp + 0x20]
mov eax, 3
call fcn.00425b70
add esp, 4
test eax, eax
je 0x4363fb
mov edx, dword [ebp + 4]
mov ecx, edi
push ecx
push edx
call fcn.004296d0
mov eax, dword [esp + 0x1c]
push eax
lea edi, [esp + 0x1c]
mov eax, 2
call fcn.00425b70
mov esi, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4363fb
push esi
call fcn.004256a0
mov edi, eax
mov eax, dword [esi - 0xc]
add esp, 4
test eax, eax
jl 0x43633c
push 0x48bf3c
push esi
call fcn.004682d2
add esp, 8
test eax, eax
je 0x43633c
sub eax, esi
sar eax, 1
js 0x43633c
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0x1a8]
shl edi, 0xa
test ebx, ebx
mov dword [esp + 0x14], edi
je 0x436251
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x436251
push 0
push 0
push 0x7f0a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea edx, [esp + 0x248]
push edx
push 0xe
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [esi - 0xc], 0
jl 0x43633c
lea eax, [esp + 0x244]
push eax
push esi
call fcn.004682d2
add esp, 8
test eax, eax
je 0x43633c
sub eax, esi
sar eax, 1
mov edi, eax
js 0x436338
add edi, 1
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.00419810
mov eax, dword [eax]
push eax
call fcn.004256a0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4362d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
mov ebp, 1
jl 0x436319
mov ebx, dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
cmp edi, dword [esi - 0xc]
jg 0x436319
movzx eax, word [esi + edi*2]
push eax
call ebx
test eax, eax
je 0x436323
test edi, edi
jl 0x436319
cmp edi, dword [esi - 0xc]
jg 0x436319
movzx eax, word [esi + edi*2]
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaW]
test eax, eax
jne 0x436323
lea ebp, [ebp + ebp*4]
add ebp, ebp
add edi, 1
jns 0x4362e6
push 0x80070057
call fcn.00402720
mov ecx, dword [esp + 0x24]
push ebp
push 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x4363fb
push 0x104
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4363fb
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shrd esi, ecx, 0x14
shr ecx, 0x14
mov dword [esp + 0x14], 0x104
call fcn.0044bc48
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x48]
lea edx, [esp + 0x14]
push edx
push str.HDSPACE
lea eax, [esp + 0x44]
call fcn.00428170
add esp, 8
test eax, eax
je 0x4363c8
cmp dword [esp + 0x14], 0
jbe 0x4363c8
lea eax, [esp + 0x3c]
push eax
call fcn.004256a0
add esp, 4
mov esi, eax
xor edx, edx
lea ecx, [edi + 0x80]
cmp esi, ecx
setg dl
push edi
push esi
lea eax, [esp + 0x20]
push str.Free_ld_Required_ld
push eax
mov dword [esp + 0x30], edx
call fcn.004048d0
mov esi, dword [esp + 0x28]
push str.IsEnoughDiscSpace
call fcn.00421450
add esp, 0x14
mov edi, dword [esp + 0x20]
push edi
push str.IsEnoughDiscSpace
push str.CDiagnosticItem
call fcn.00421170
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x45c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x45c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.00467769
add esp, 0x44c
ret 4