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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov edi, ecx
lea ebx, [esp + 0x40]
mov ecx, ebx
call fcn.0046ab80
cmp byte [ebx + 0xc], 2
mov edx, dword [ebx]
mov esi, dword [ebx + 4]
jne 0x4089f9
lea ecx, [esp + 0x40]
mov dword [ecx + 4], esi
mov dword [ecx], edx
jmp 0x408cd8
mov dword [esp], edi
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x88]
push 0x10
push str.backupconfig.ymlsrc_main.rsProjects_list:_n
push dword [esp + 0x50]
call fcn.0048f1f0
add esp, 0xc
test esi, esi
je 0x408a2c
push edi
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x5a], ecx
mov dword [esp + 0x5e], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
mov byte [esp + 0x5d], 1
mov word [esp + 0x5f], 0x101
mov edx, edi
lea ecx, [esp + 0x98]
push ebx
push eax
call fcn.00488e00
add esp, 8
cmp byte [esp + 0x98], 4
mov ebx, 4
je 0x408a9c
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
test esi, esi
mov dword [esp + 4], eax
je 0x408ab9
push edi
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
cmp bl, 4
jne 0x408ccb
mov ecx, 0x2000
call fcn.00416d74
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov al, byte [0x4e4158]
mov ecx, 0x14
mov edx, 4
call fcn.00413060
test eax, eax
je 0x408f5e
mov edi, eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x10], eax
movq xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x34]
movsd qword [edi + 8], xmm1
movq qword [edi], xmm0
mov al, byte [0x4e4158]
mov ecx, 0x130
mov edx, 8
call fcn.00413060
test eax, eax
je 0x408f6f
mov ebx, eax
push 0x120
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, 0x4000
xor edx, edx
call fcn.0049cc8e
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
add eax, 0x4000
mov dword [ebx + 0x2c], eax
mov ecx, 0x8002
xor edx, edx
call fcn.0049cc8e
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
add eax, 0x8002
mov dword [ebx + 0x3c], eax
mov ecx, 0x40
xor edx, edx
call fcn.0049cc8e
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x68], eax
add eax, 0x40
mov dword [ebx + 0x64], eax
mov ecx, 0x580
xor edx, edx
call fcn.0049cc8e
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x78], eax
add eax, 0x580
mov dword [ebx + 0x74], eax
mov ecx, 0x40
xor edx, edx
call fcn.0049cc8e
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x88], eax
add eax, 0x40
mov dword [ebx + 0x84], eax
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.0049cc8e
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x94], eax
sub eax, 0xffffff80
mov dword [ebx + 0x90], eax
mov byte [ebx + 0x58], 1
mov dword [ebx + 0x54], 0xffffffff
mov dword [ebx + 0x128], edi
mov dword [ebx + fcn.004049d5], 0x4bb5b0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x120], 4
cmp dword [ebx + 8], 0
jne 0x408f80
mov dword [ebx + 8], 0x4642e1
mov dword [ebx + 0xc], ebx
mov byte [esp + 0x54], 4
mov edx, ebx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x98]
push eax
call fcn.0046435e
add esp, 4
mov esi, dword [esp]
cmp dword [esp + 0xd8], 9
jne 0x408fa0
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0xc]
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + eax + 1]
mov dword [esp + 0x98], eax
add eax, 0x10
cmp esi, 1
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
pmovmskb edx, xmm0
not edx
mov word [esp + 0xa4], dx
mov dword [esp + 0xa8], esi
jne 0x408ce7
mov dword [esp + 8], 1
jmp 0x408cfa
mov eax, dword [esp + 4]
lea ecx, [esp + 0x40]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
call fcn.004015b0
mov edx, 0x4bb524
jmp 0x408edb
lea ecx, [esp + 8]
call fcn.004019b5
mov ebx, eax
test eax, eax
jne 0x408ec6
lea ecx, [esp + 0x98]
call fcn.00405f1e
test eax, eax
je 0x408ee3
mov esi, edx
mov edx, dword [eax]
lea ecx, [esp + 8]
push dword [eax + 8]
call fcn.00405df6
add esp, 4
mov ebx, eax
test eax, eax
jne 0x408ec6
mov eax, dword [esp + 8]
mov edi, dword [esi]
mov esi, dword [esi + 8]
mov dword [esp + 0x20], eax
lea ecx, [esp + 8]
call fcn.00405d54
test eax, eax
je 0x408d82
test edx, edx
mov ebx, edx
jne 0x408ec6
cmp dword [esp + 0x20], 3
jne 0x408cfa
cmp dword [esp + 8], 3
jne 0x408d75
cmp dword [esp + 0x10], 0
je 0x408d75
push dword [esp + 0xc]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov dword [esp + 8], 4
jmp 0x408cfa
lea eax, [esi + esi*8]
mov dword [esp + 4], edx
lea eax, [edi + eax*4]
mov dword [esp + 0x24], eax
cmp edi, dword [esp + 0x24]
je 0x408eb6
mov dword [esp], edi
mov ecx, edx
call fcn.004019b5
mov ecx, dword [esp + 4]
test eax, eax
mov ebx, eax
cmove eax, ecx
jne 0x408ec6
mov dword [esp + 0x28], eax
mov eax, dword [esp]
mov edx, 0x4bbff8
push dword [eax + 8]
push dword [eax]
push 4
call fcn.00407e30
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x408ec6
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, 0x4bc140
push dword [eax + 0x14]
push dword [eax + 0xc]
push 2
call fcn.00407e30
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x408ec6
mov ecx, dword [esp + 4]
mov edx, 0x4bc142
push 8
call fcn.00405df6
add esp, 4
mov ebx, eax
test eax, eax
jne 0x408ec6
mov eax, dword [esp]
mov esi, dword [eax + 0x18]
test esi, esi
je 0x408e5e
mov edi, dword [eax + 0x20]
mov ecx, dword [esp + 4]
call fcn.00405d54
mov ebx, edx
test eax, eax
jne 0x408e93
shl edi, 2
lea edi, [edi + edi*2]
test edi, edi
je 0x408e8a
mov edx, dword [esi]
mov ecx, ebx
push dword [esi + 8]
call fcn.00405df6
add esp, 4
add esi, 0xc
add edi, 0xfffffff4
test eax, eax
je 0x408e3f
jmp 0x408ec4
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0x4c6df5
mov dword [esp + 0x44], 4
mov byte [esp + 0x54], 1
mov ecx, dword [esp + 4]
lea edx, [esp + 0x40]
call fcn.004017ce
jmp 0x408e91
mov ecx, ebx
call fcn.00405f83
mov ebx, eax
mov ecx, dword [esp + 0x28]
test ebx, ebx
jne 0x408ec6
call fcn.00401950
mov edi, dword [esp]
mov edx, dword [esp + 4]
mov ebx, eax
add edi, 0x24
test eax, eax
je 0x408d90
jmp 0x408ec6
mov ecx, edx
call fcn.00405f83
mov edx, eax
jmp 0x408d45
mov ebx, eax
lea ecx, [esp + 8]
call fcn.0040398c
mov ecx, ebx
call fcn.00401550
mov edx, 0x4bb4e8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x408eff
lea ecx, [esp + 8]
call fcn.004019b5
mov ebx, eax
test eax, eax
jne 0x408f3b
mov eax, dword [esp + 8]
cmp eax, 4
jne 0x408f2c
mov eax, dword [esp + 0x48]
movq xmm0, qword [esp + 0x40]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
mov dword [ecx], 0
mov dword [edx + 8], eax
movq qword [edx], xmm0
call fcn.0040398c
xor eax, eax
jmp 0x408edb
lea ecx, [esp + 8]
call fcn.00401950
mov ebx, eax
test eax, eax
je 0x408f3d
jmp 0x408ec6
cmp dword [esp + 8], 3
jne 0x408f04
cmp dword [esp + 0x10], 0
je 0x408f04
push dword [esp + 0xc]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
jmp 0x408f04
mov ecx, 4
mov edx, 0x14
call fcn.00413450
jmp 0x408fd1
mov ecx, 8
mov edx, 0x130
call fcn.00413450
jmp 0x408fd1
mov edx, 0x24
mov ecx, 0x4cc790
push 0x1a6
push 0x61
push str._home_kevin_.cargo_registry_src_index.crates.io_6f17d22bba15001f_unsafe_libyaml_0.2.10_src_api.rs__parser_.read_handler_.is_none___parser_.encoding__YAML_ANY_ENCODING_emitter.is_null____emitter_.write_handler_.is_none___token.is_null___event.is_null__
call fcn.0049ccd7
add esp, 0xc
jmp 0x408fd1
lea eax, [esp + 0x40]
lea esi, [esp + 0x98]
mov ecx, 0x12
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, 0x2b
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x4bb5d8
push 0x4bb74c
push eax
call fcn.004491d0
add esp, 0xc
ud2