Function at 0x403916
Capabilities:
Get disk size
Terminate process

Disassembly:
mov eax, 0x41d7dc
call fcn.004128c4
sub esp, 0x554
mov eax, dword [0x4280c8]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push 0xffffffffffffffff
push eax
push eax
mov edi, ebx
mov dword [ebp - 0x504], eax
call fcn.004037fb
push dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edi, [ebx + 0x12]
push edi
call esi
push dword [0x429018]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [0x4291ac]
mov ecx, 0x4291ac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50c], eax
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x518]
push eax
call fcn.00404afa
push 0x420b70
push 0x421338
lea eax, [ebp - 0x518]
push eax
mov byte [ebp - 4], 1
call fcn.00404b45
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x518]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp + 0x10]
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x438]
push eax
call esi
and dword [ebp + 0xc], 0
mov byte [ebx + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x403dc2
push 0x5e
push edi
call fcn.00410b3d
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x508], eax
je 0x403e98
add eax, 2
push 0x5e
push eax
mov dword [ebp - 0x510], eax
call fcn.00410b3d
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x51c], eax
je 0x403e98
add eax, 2
push 0x5e
push eax
call fcn.00410b3d
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x538], eax
je 0x403e98
mov eax, dword [ebp - 0x508]
sub eax, edi
sar eax, 1
inc eax
push eax
mov dword [ebp - 0x514], eax
push edi
lea eax, [ebp - 0x230]
push eax
call ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x10
lea eax, [ebp - 0x28]
push 0x41e42c
push eax
call fcn.00410a80
add esp, 0xc
test eax, eax
je 0x403bbe
mov edi, dword [ebp - 0x51c]
mov eax, edi
sub eax, dword [ebp - 0x508]
sar eax, 1
push eax
push dword [ebp - 0x510]
lea eax, [ebp - 0x230]
push eax
call ebx
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x530]
lea eax, [ebp + eax*2 - 0x438]
push eax
call esi
mov eax, dword [ebp - 0x538]
sub eax, edi
sar eax, 1
push eax
lea eax, [edi + 2]
push eax
lea eax, [ebp - 0x230]
push eax
call ebx
push 0x68
call fcn.0040f0e1
pop ecx
mov dword [ebp - 0x510], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x403b41
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.00404afa
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x528]
mov byte [ebp - 4], 3
or dword [ebp - 0x504], 1
push eax
call fcn.00404afa
mov eax, dword [ebp + 8]
add eax, 0x12
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
or dword [ebp - 0x504], 2
push eax
push dword [ebp - 0x510]
call fcn.00403742
jmp 0x403b43
xor eax, eax
test byte [ebp - 0x504], 2
mov dword [ebp - 0x508], eax
je 0x403b67
mov eax, dword [ebp - 0x528]
and dword [ebp - 0x504], 0xfffffffd
add eax, 0xfffffff0
call fcn.00402528
mov dword [ebp - 4], 1
test byte [ebp - 0x504], 1
je 0x403b8c
mov eax, dword [ebp - 0x534]
and dword [ebp - 0x504], 0xfffffffe
add eax, 0xfffffff0
call fcn.00402528
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x560]
lea ecx, [ebp - 0x438]
call fcn.004035d3
lea ecx, [ebp - 0x438]
push ecx
push eax
push str._CFileList::ReadyFiles_CRC_u__file_s_n
call fcn.0040b1f8
add esp, 0xc
jmp 0x403d49
mov eax, dword [ebp - 0x51c]
add eax, 2
push eax
call fcn.00410b5f
mov ecx, dword [ebp + 0xc]
push 0xe
mov dword [ebp - 0x508], eax
lea eax, [ecx + eax + 0x1000]
push str.http:__
push edi
mov dword [ebp + 0xc], eax
call fcn.0041bbb4
add esp, 0x10
test eax, eax
jne 0x403c03
push dword [ebp - 0x514]
lea eax, [ebp - 0x230]
push edi
jmp 0x403c4c
push dword [0x428f98]
lea eax, [ebp - 0x50c]
push 0x429c28
push str.http:___s:_d
push eax
call fcn.004023ad
add esp, 0x10
push dword [ebp - 0x50c]
lea eax, [ebp - 0x230]
push eax
call esi
push dword [ebp - 0x514]
lea eax, [ebp - 0x230]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x230]
push eax
call ebx
lea eax, [ebp - 0x230]
push 0x2f
push eax
call fcn.00410545
pop ecx
inc eax
inc eax
pop ecx
push eax
mov eax, dword [ebp - 0x530]
lea eax, [ebp + eax*2 - 0x438]
push eax
call esi
push 0x68
call fcn.0040f0e1
pop ecx
mov dword [ebp - 0x514], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x403cfe
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.00404afa
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x52c]
mov byte [ebp - 4], 8
or dword [ebp - 0x504], 4
push eax
call fcn.00404afa
mov eax, dword [ebp + 8]
add eax, 0x12
push eax
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x52c]
push eax
push dword [ebp - 0x508]
mov dword [ebp - 4], 9
push dword [ebp - 0x510]
or dword [ebp - 0x504], 8
call fcn.00410b5f
pop ecx
push eax
push 2
push dword [ebp - 0x514]
call fcn.004036aa
jmp 0x403d00
xor eax, eax
test byte [ebp - 0x504], 8
mov dword [ebp - 0x508], eax
je 0x403d24
mov eax, dword [ebp - 0x52c]
and dword [ebp - 0x504], 0xfffffff7
add eax, 0xfffffff0
call fcn.00402528
mov dword [ebp - 4], 1
test byte [ebp - 0x504], 4
je 0x403d49
mov eax, dword [ebp - 0x53c]
and dword [ebp - 0x504], 0xfffffffb
add eax, 0xfffffff0
call fcn.00402528
mov edi, dword [ebp - 0x538]
add edi, 2
push edi
call fcn.00410b5f
mov ecx, dword [ebp - 0x508]
push 0x5e
push edi
mov dword [ecx + 0x50], eax
call fcn.00410b3d
add esp, 0xc
test eax, eax
je 0x403d85
add eax, 2
push eax
call fcn.00410b5f
mov edi, dword [ebp - 0x508]
pop ecx
mov dword [edi + 0x64], eax
jmp 0x403d8b
mov edi, dword [ebp - 0x508]
push dword [ebp + 8]
mov eax, edi
call fcn.00403692
mov eax, dword [ebp + 8]
cmp byte [eax + 0x10], 0
jne 0x403da8
cmp dword [edi + 0x64], 1
je 0x403da8
mov byte [eax + 0x10], 1
push 0xa
push dword [ebp - 0x51c]
call fcn.00410b3d
test eax, eax
pop ecx
pop ecx
je 0x403e98
lea edi, [eax + 2]
cmp word [edi], 0xa
jne 0x4039db
push 4
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call ebx
push 0x6d
lea ecx, [ebp - 0x50c]
call fcn.0040b54e
mov eax, dword [ebp + 0xc]
shr eax, 0x14
inc eax
push eax
movzx eax, word [ebp - 0x18]
push eax
push dword [ebp - 0x50c]
lea eax, [ebp - 0x500]
push eax
call fcn.00410bc3
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
add esp, 0x10
lea eax, [ebp - 0x524]
push eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
call esi
mov eax, dword [ebp - 0x520]
cmp eax, edi
ja 0x403e71
jae 0x403e66
push 5
call fcn.0040b3f5
lea eax, [eax*2 + 0x42a0a0]
push eax
lea eax, [ebp - 0x500]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
je 0x403e91
lea eax, [ebp - 0x524]
push eax
push edi
push edi
lea eax, [ebp - 0x18]
push eax
call esi
mov eax, dword [ebp - 0x520]
cmp eax, edi
jb 0x403e29
ja 0x403e71
mov eax, dword [ebp - 0x524]
cmp eax, dword [ebp + 0xc]
jbe 0x403e29
mov eax, dword [ebp - 0x518]
add eax, 0xfffffff0
call fcn.00402528
mov eax, dword [ebp - 0x50c]
add eax, 0xfffffff0
call fcn.00402528
xor eax, eax
jmp 0x403ec6
push 0xfffffffffffffffa
call fcn.00410db9
mov edi, dword [ebp + 8]
xor eax, eax
push eax
push 0xffffffffffffffff
push eax
push eax
call fcn.004037fb
mov eax, dword [ebp - 0x518]
add eax, 0xfffffff0
call fcn.00402528
mov eax, dword [ebp - 0x50c]
add eax, 0xfffffff0
call fcn.00402528
push 0xfffffffffffffffa
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004120cb
leave
ret 0xc