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

Disassembly:
sub esp, 0xbc
mov eax, dword [0x10156440]
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 0x1015de20
add dword [eax + 0x20], 0xffffffec
mov dword [esp + 0x40], ebx
adc dword [eax + 0x24], 0xffffffff
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x2c], 0x1015de6d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call fcn.1007ecc0
push 0x1015de20
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
js 0x1007d788
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 0x1007d43f
push str.missing_delta_bases
push 0xf
call fcn.10028220
add esp, 8
jmp 0x1007d78a
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 [0x101182f8]
call esi
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x1007d803
push 0
push 0
push 0
call fcn.100d40b0
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.100805c0
mov edi, eax
add esp, 8
test edi, edi
js 0x1007d788
push dword [esp + 0x18]
lea edx, [esp + 0x84]
mov ecx, ebp
call fcn.1007c990
mov edi, eax
add esp, 4
test edi, edi
js 0x1007d788
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.100d40b0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
add esp, 0xc
mov dword [ebx + 0x14], eax
push 1
push esi
call fcn.100b8580
mov edi, eax
add esp, 8
test edi, edi
js 0x1007d788
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 0x1007d69a
mov eax, dword [0x1015bdfc]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1007d563
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 [0x1015bdfc], 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.100f4ca0
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.101017fb
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 0x1007d7dd
cmp dword [esp + 0x14], 0
jl 0x1007d7e2
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 0x1007d616
push str.data
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x1007d68a
mov eax, dword [0x1015bdfc]
test eax, eax
jne 0x1007d633
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x64]
mov dword [0x1015bdfc], eax
push 0
push eax
push ebx
push edi
call fcn.100f4ca0
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.10093e90
mov edi, eax
add esp, 0x14
test edi, edi
js 0x1007d782
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x20]
push ebx
push esi
push eax
call fcn.100f6030
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.10094060
xor edi, edi
test edi, edi
js 0x1007d782
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.100d40b0
add esp, 0xc
push eax
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [esp + 0x2c], 0
mov dword [ebx + 0x14], eax
jbe 0x1007d6e2
test esi, esi
je 0x1007d6e2
cmp esi, 0x1015de6c
je 0x1007d6e2
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
push 0x14
lea edx, [esp + 0x70]
mov ecx, ebp
call fcn.1007c990
mov edi, eax
add esp, 4
test edi, edi
js 0x1007d782
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 [0x101182f8]
call esi
mov edx, eax
add esp, 0x10
mov dword [esp + 0x3c], edx
test edx, edx
je 0x1007d803
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.1007c600
add esp, 0xc
mov edi, eax
mov ebx, dword [esp + 0x10]
test edi, edi
je 0x1007d7b5
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push ebx
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [esp + 0x3c]
call dword [0x101182f8]
call esi
add esp, 4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1007d7c2
call fcn.100541b0
mov eax, edi
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f4326
add esp, 0xbc
ret
call fcn.1003f370
mov eax, dword [ebp + 0x10]
add eax, 0xa8
push eax
push str.cannot_extend_packfile__s
push 2
call fcn.10028220
mov ebx, dword [esp + 0x1c]
add esp, 0xc
or edi, 0xffffffff
jmp 0x1007d78a
or eax, 0xffffffff
jmp 0x1007d7c4