Function at 0x42bbd0
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 1
push edi
mov edi, dword [0x43f9a0]
push 0x43a24c
mov dword [ebp - 0x41c], edi
call esi
push eax
push 0x43a24c
push 0x4400d8
call fcn.00412f6f
add esp, 0xc
test eax, eax
jne 0x42bcf3
xor ecx, ecx
movzx eax, word [ecx + 0x4400d8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x42bc21
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x5c
lea esi, [ebp + eax*2 - 0x20e]
lea eax, [ebp - 0x20c]
push eax
call fcn.004078b9
add esp, 8
cmp eax, esi
je 0x42bc7f
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42bc66
mov eax, dword [0x43a200]
mov dword [edi], eax
mov edi, dword [ebp - 0x41c]
lea eax, [ebp - 0x208]
push 0x5c
push eax
call fcn.004077f2
add esp, 8
test eax, eax
je 0x42be5c
add eax, 2
push 0x5c
push eax
call fcn.004077f2
mov esi, eax
add esp, 8
test esi, esi
je 0x42be5c
lea eax, [ebp - 0x20c]
sub esi, eax
sar esi, 1
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040bfa6
lea esi, [esi*2 + 2]
add esp, 0xc
cmp esi, 0x208
jae 0x42be71
xor eax, eax
mov word [ebp + esi - 0x414], ax
jmp 0x42bd61
mov ecx, 0x4400d8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bd00
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jb 0x42bd25
cmp word [0x4400da], 0x3a
jne 0x42bd25
mov eax, 0x4400d8
jmp 0x42bd45
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42be5c
lea eax, [ebp - 0x20c]
push 2
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040bfa6
add esp, 0xc
mov dword [ebp - 0x410], 0x5c
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x42bdf4
push 0x40
push str.GetDiskFreeSpace2
push 0x43fe18
mov dword [0x43fc0c], 0xcb
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x43fe96], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
push 0x4400d8
push 0x43fc10
mov dword [0x43fc08], eax
call fcn.0040bfa6
push 0x104
xor eax, eax
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sfslfdec_sfmkcore.c
push 0x43fe98
mov word [0x43fe16], ax
call fcn.0040bfa6
add esp, 0x18
jmp 0x42be54
xor edx, edx
mov eax, edi
div dword [ebp - 0x420]
test edx, edx
lea ecx, [eax + 1]
cmove ecx, eax
xor edx, edx
mov eax, ecx
div dword [ebp - 0x424]
test edx, edx
lea ecx, [eax + 1]
cmove ecx, eax
cmp dword [ebp - 0x418], ecx
jae 0x42be5e
push 0x104
xor eax, eax
mov dword [0x43fc0c], 0xffffef30
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sfslfdec_sfmkcore.c
push 0x43fe98
mov word [0x43fe96], ax
mov dword [0x43fc08], eax
mov word [0x43fe16], ax
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x44009e], ax
xor ebx, ebx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bb3
mov esp, ebp
pop ebp
ret
call fcn.00406ce3
int3