Function at 0x1007d430
Capabilities:
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0xbc
mov eax, dword [0x101a7680]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x2c], edx
xor ebx, ebx
mov dword [esp + 0x14], 0
push esi
xorps xmm0, xmm0
mov dword [esp + 0x78], ebx
mov eax, dword [ebp + 0x10]
movups xmmword [esp + 0x68], xmm0
push edi
push 0x101b01a0
add dword [eax + 0x20], 0xffffffec
mov dword [esp + 0x40], ebx
adc dword [eax + 0x24], 0xffffffff
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x2c], 0x101b01ed
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call fcn.1007ed70
push 0x101b01a0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
js 0x1007d838
mov eax, dword [ebp + 0x10]
push dword [esp + 0x34]
push dword [ebp + 0x2e7c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x4c], ecx
call sym.user32.dll_git_odb_read
mov edi, eax
add esp, 0xc
test edi, edi
jns 0x1007d4ef
push str.missing_delta_bases
push 0xf
call fcn.10028290
add esp, 8
jmp 0x1007d83a
mov edi, dword [esp + 0x1c]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x3b7
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcindexer.c
mov eax, dword [edi + 0x20]
push 0x28
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x18]
push 1
mov dword [esp + 0x48], eax
call dword [0x1015f3cc]
call esi
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x1007d8b3
push 0
push 0
push 0
call fcn.1010f1c0
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x8c]
add esp, 0xc
mov dword [ebx + 0x14], eax
movsx eax, word [edi + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
call fcn.10080670
mov edi, eax
add esp, 8
test edi, edi
js 0x1007d838
push dword [esp + 0x18]
lea edx, [esp + 0x84]
mov ecx, ebp
call fcn.1007ca40
mov edi, eax
add esp, 4
test edi, edi
js 0x1007d838
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
push ecx
add dword [eax + 0x20], ecx
adc dword [eax + 0x24], 0
lea eax, [esp + 0x84]
push eax
push dword [ebx + 0x14]
call fcn.1010f1c0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
add esp, 0xc
mov dword [ebx + 0x14], eax
push 1
push esi
call fcn.100b86a0
mov edi, eax
add esp, 8
test edi, edi
js 0x1007d838
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
test edi, edi
je 0x1007d74a
mov eax, dword [0x101ae17c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1007d613
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [0x101ae17c], eax
mov esi, edi
xor edi, edi
add esi, ecx
adc edi, dword [esp + 0x24]
xor ebx, ebx
push ebx
push eax
push edi
push esi
call fcn.101305b0
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
sub ecx, eax
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 0x10]
sbb ebx, ebx
movlpd qword [esp + 0x48], xmm0
add ecx, esi
mov dword [esp + 0x58], 0
push dword [eax + 0x1c]
adc ebx, edi
sub ecx, 1
mov dword [esp + 0x54], ecx
sbb ebx, 0
mov dword [esp + 0x58], ebx
call fcn.10141822
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x4c]
add esp, 4
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1007d88d
cmp dword [esp + 0x14], 0
jl 0x1007d892
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
test esi, esi
jne 0x1007d6c6
push str.data
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or edi, 0xffffffff
jmp 0x1007d73a
mov eax, dword [0x101ae17c]
test eax, eax
jne 0x1007d6e3
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x64]
mov dword [0x101ae17c], eax
push 0
push eax
push ebx
push edi
call fcn.101305b0
sub edi, eax
mov dword [esp + 0x20], eax
sbb ebx, 0
push ebx
mov ebx, dword [esp + 0x34]
push edi
push dword [esp + 0x2c]
push ecx
push 2
lea edx, [eax + ebx]
lea ecx, [esp + 0x5c]
call fcn.10093f50
mov edi, eax
add esp, 0x14
test edi, edi
js 0x1007d832
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x20]
push ebx
push esi
push eax
call fcn.10131920
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.10094120
xor edi, edi
test edi, edi
js 0x1007d832
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
push edi
push esi
add dword [eax + 0x20], edi
adc dword [eax + 0x24], 0
push dword [ebx + 0x14]
call fcn.1010f1c0
add esp, 0xc
push eax
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [esp + 0x2c], 0
mov dword [ebx + 0x14], eax
jbe 0x1007d792
test esi, esi
je 0x1007d792
cmp esi, 0x101b01ec
je 0x1007d792
push esi
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
push 0x14
lea edx, [esp + 0x70]
mov ecx, ebp
call fcn.1007ca40
mov edi, eax
add esp, 4
test edi, edi
js 0x1007d832
mov eax, dword [ebp + 0x10]
push 0x3d6
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcindexer.c
push 0x20
add dword [eax + 0x20], 0x14
push 1
adc dword [eax + 0x24], 0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
call dword [0x1015f3cc]
call esi
mov edx, eax
add esp, 0x10
mov dword [esp + 0x3c], edx
test edx, edx
je 0x1007d8b3
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
push edi
movups xmm0, xmmword [eax]
push esi
push edx
movups xmmword [edx + 8], xmm0
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x18], ecx
mov edx, ebx
movups xmm0, xmmword [eax]
mov ecx, dword [esp + 0x44]
movups xmmword [ebx], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x10], eax
xor eax, eax
add ecx, dword [esp + 0x24]
adc eax, eax
add ecx, esi
mov dword [ebp + 0x18], ecx
mov ecx, ebp
adc eax, edi
mov dword [ebp + 0x1c], eax
call fcn.1007c6b0
add esp, 0xc
mov edi, eax
mov ebx, dword [esp + 0x10]
test edi, edi
je 0x1007d865
mov esi, dword [fcn.10032a50]
mov ecx, esi
push ebx
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [esp + 0x3c]
call dword [0x1015f3cc]
call esi
add esp, 4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1007d872
call fcn.10054210
mov eax, edi
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012fb43
add esp, 0xbc
ret
call fcn.1003f3c0
mov eax, dword [ebp + 0x10]
add eax, 0xa8
push eax
push str.cannot_extend_packfile__s
push 2
call fcn.10028290
mov ebx, dword [esp + 0x1c]
add esp, 0xc
or edi, 0xffffffff
jmp 0x1007d83a
or eax, 0xffffffff
jmp 0x1007d874