Function at 0x4380b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov esi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], ecx
call 0x4380cd
pop ebx
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov ecx, esi
push 2
push 0x566558
call dbg._strip_prefix
add esp, 8
mov edi, edx
test eax, eax
mov ecx, eax
mov dword [esp + 0x44], esi
cmove edi, dword [ebp + 8]
cmove ecx, esi
test edi, edi
je 0x438155
js 0x438820
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
mov dword [esp + 0x40], ecx
test eax, eax
jne 0x438134
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x438147
mov dword [0x5da100], eax
push edi
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov ecx, dword [esp + 0x40]
mov esi, eax
test eax, eax
jne 0x43815a
mov ecx, 1
mov edx, edi
call dbg.handle_alloc_error
ud2
mov esi, 1
push edi
push ecx
push esi
call sym._memcpy
add esp, 0xc
movzx eax, byte [ebp + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x38], 0
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov edx, dword [ebp + 0xc]
lea edi, [esp + 0xf8]
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, edi
mov byte [esp + 0x3c], al
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
push dword [eax]
push dword [ebp + 0x10]
call sym.std::path::Path::_join::hd6feba9117964eb6
add esp, 0xc
lea ecx, [esp + 0x88]
lea edx, [esp + 0x14]
push edi
call sym.ignore::gitignore::GitignoreBuilder::add::h8cdd0c9cfdd632d0
add esp, 4
xor esi, esi
cmp byte [esp + 0xa4], 0xb
jne 0x4381fb
mov edi, dword [esp + 4]
mov ebx, 8
jmp 0x438302
movsd xmm1, qword [esp + 0x98]
movsd xmm0, qword [esp + 0xa0]
movsd xmm2, qword [esp + 0x88]
movsd qword [esp + 0x108], xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0xf8], xmm2
movsd qword [esp + 0x100], xmm1
movzx eax, byte [edi + 0x1c]
add al, 0xfe
cmp al, 9
movzx ecx, al
mov eax, 4
cmovae ecx, eax
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x4388a0]
add ecx, ebx
jmp ecx
lea ecx, [esp + 0x88]
lea edx, [esp + 0x14]
call sym.ignore::gitignore::GitignoreBuilder::build::he7a9cbbf4a6d3312
cmp byte [esp + 0xc4], 2
jne 0x438411
cmp esi, dword [esp + 0xc]
jne 0x438339
lea ecx, [esp + 8]
mov edx, esi
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h359a84318f967cc1
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
movsd xmm2, qword [esp + 0x98]
movsd xmm3, qword [esp + 0xa0]
mov edx, dword [ebp + 8]
mov eax, esi
inc esi
shl eax, 5
movsd qword [ebx + eax + 0x18], xmm3
movsd qword [ebx + eax + 0x10], xmm2
movsd qword [ebx + eax + 8], xmm1
movsd qword [ebx + eax], xmm0
mov dword [esp + 0xcc], 4
mov dword [esp + 0xd0], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xd4], 0
mov ecx, edi
push 2
push 0x566558
call dbg._strip_prefix
add esp, 8
mov ebx, edx
test eax, eax
mov esi, eax
cmove ebx, dword [ebp + 8]
cmove esi, edi
test ebx, ebx
je 0x438491
js 0x438820
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x4383f0
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x438403
mov dword [0x5da100], eax
push ebx
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x438496
mov ecx, 1
mov edx, ebx
call dbg.handle_alloc_error
ud2
movsd xmm1, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0xb0]
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [esp + 0xa0]
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [esp + 0x60], xmm2
movsd xmm2, qword [esp + 0x88]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x50], xmm1
jmp 0x438629
mov edi, 1
push ebx
push esi
push edi
call sym._memcpy
add esp, 0xc
lea ecx, [esp + 0xf8]
lea edx, [esp + 0xcc]
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov byte [esp + 0xf0], 0
mov dword [esp + 0xd8], 4
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov byte [esp + 0xf4], 0
call sym.ignore::gitignore::GitignoreBuilder::build::he7a9cbbf4a6d3312
cmp byte [esp + 0x134], 2
je 0x438827
movsd xmm1, qword [esp + 0x128]
movsd xmm2, qword [esp + 0x120]
movsd xmm0, qword [esp + 0x130]
test ebx, ebx
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [esp + 0x118]
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [esp + 0x110]
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esp + 0x108]
movsd qword [esp + 0x60], xmm2
movsd xmm2, qword [esp + 0xf8]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [esp + 0x100]
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x50], xmm1
je 0x4385ff
push edi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov esi, dword [esp + 0xe0]
test esi, esi
je 0x4385ff
mov edi, dword [esp + 0xd8]
add edi, 0x20
jmp 0x4385b6
add edi, 0x2c
dec esi
je 0x4385ff
cmp byte [edi - 0x14], 2
je 0x4385d2
cmp dword [edi - 0x1c], 0
je 0x4385d2
push dword [edi - 0x20]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [edi - 0xc], 0
je 0x4385e8
push dword [edi - 0x10]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [edi], 0
je 0x4385b0
push dword [edi - 4]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x4385b0
cmp dword [esp + 0xdc], 0
je 0x43861d
push dword [esp + 0xd8]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 4]
movsd xmm1, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x70]
movsd xmm0, qword [esp + 0x80]
mov eax, dword [esp + 0xc]
test esi, esi
movsd qword [edi + 0x30], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [edi + 0x28], xmm2
movsd xmm2, qword [esp + 0x60]
movsd qword [edi + 0x38], xmm0
movsd qword [edi + 0x20], xmm1
movsd xmm1, qword [esp + 0x58]
movsd qword [edi + 0x18], xmm2
movsd xmm2, qword [esp + 0x48]
movsd qword [edi + 0x10], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [edi], xmm2
movsd qword [edi + 8], xmm1
je 0x4386da
cmp esi, 1
jne 0x4386fb
movzx ecx, byte [ebx + 0x1c]
cmp cl, 0xb
je 0x438886
mov esi, dword [ebx + 0x18]
lea edx, [edi + 0x40]
mov dword [edx + 0x18], esi
movsd xmm0, qword [ebx + 0x10]
movsd qword [edx + 0x10], xmm0
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
movzx edx, byte [ebx + 0x1f]
mov byte [edi + 0x5f], dl
movzx edx, word [ebx + 0x1d]
mov word [edi + 0x5d], dx
test eax, eax
mov byte [edi + 0x5c], cl
jne 0x4386e3
jmp 0x4386f1
mov cl, 0xb
test eax, eax
mov byte [edi + 0x5c], cl
je 0x4386f1
push ebx
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x438710
jmp 0x43875b
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], esi
mov byte [edi + 0x5c], 2
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x43875b
mov esi, dword [esp + 0x14]
add esi, 0x1c
jmp 0x43872d
mov ecx, esi
call sym.core::ptr::drop_in_place_LT_globset..glob..Tokens_GT_::h8382ea7fcbf328d9
add esi, 0x28
dec edi
je 0x43875b
cmp dword [esi - 0x14], 0
je 0x438743
push dword [esi - 0x18]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [esi - 8], 0
je 0x438720
push dword [esi - 0xc]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x438720
cmp dword [esp + 0x18], 0
je 0x438773
push dword [esp + 0x14]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x30], 0
je 0x43878b
push dword [esp + 0x2c]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4387ef
mov edi, dword [esp + 0x20]
add edi, 0x20
jmp 0x4387a6
add edi, 0x2c
dec esi
je 0x4387ef
cmp byte [edi - 0x14], 2
je 0x4387c2
cmp dword [edi - 0x1c], 0
je 0x4387c2
push dword [edi - 0x20]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [edi - 0xc], 0
je 0x4387d8
push dword [edi - 0x10]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [edi], 0
je 0x4387a0
push dword [edi - 4]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x4387a0
cmp dword [esp + 0x24], 0
je 0x438807
push dword [esp + 0x20]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.alloc::raw_vec::capacity_overflow::h894971bc65aab54c
ud2
movsd xmm1, qword [esp + 0x108]
movsd xmm0, qword [esp + 0x110]
movsd xmm2, qword [esp + 0xf8]
lea eax, [esp + 0x48]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [esp + 0x100]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x50], xmm1
push 0x565ee4
push 0x565ddc
push eax
call dbg.unwrap_failed
add esp, 0xc
ud2
mov ecx, str.called__Option::unwrap____on_a__None__valueC:UsersTEST.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
mov edx, 0x2b
push 0x565fec
call dbg.panic
add esp, 4
ud2