Function at 0x4b1520
Capabilities:
Get common file path
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
call sub.KERNEL32.dll_ExitProcess
nop dword [eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x5c0
mov eax, dword [ebp + 8]
mov esi, 0x200
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 2
mov dword [esp + 0x1c], 0
movzx eax, byte [eax]
mov byte [esp + 0x24], al
mov byte [esp + 0xc], al
cmp esi, 0x201
jae 0x4b15b0
jmp 0x4b158e
jbe 0x4b1644
cmp esi, 0x201
jae 0x4b15b0
mov dword [esp + 0x14], 0x200
lea ebx, [esp + 0x1b0]
mov edi, esi
jmp 0x4b15ef
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x4b15db
mov edx, edi
lea ecx, [esp + 0x30]
push esi
call fcn.0048cf20
add esp, 4
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
push 0
call sub.KERNEL32.dll_SetLastError
push ebx
push edi
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov esi, eax
test eax, eax
jne 0x4b1610
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x4b16cf
cmp esi, edi
jne 0x4b1580
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x4b1f55
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x4b158e
jmp 0x4b15b0
mov edx, dword [esp + 0x14]
cmp esi, edx
ja 0x4b1f6e
mov edx, ebx
lea ecx, [esp + 0xa0]
push esi
call fcn.0048e930
add esp, 4
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], 0
je 0x4b169a
push dword [esp + 0x20]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
cmp ebx, 0x80000000
jne 0x4b1716
mov eax, esi
cmp al, 3
jne 0x4b170d
mov ecx, dword [edi]
mov dword [esp + 0x10], edi
mov edi, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x14], ecx
push ecx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4b16fb
cmp dword [edi + 8], 9
jae 0x4b16e6
mov eax, dword [esp + 0x14]
jmp 0x4b16ed
mov ebx, 0x80000000
xor esi, esi
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp dword [esp + 0x10], 0
jne 0x4b1689
jmp 0x4b169a
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x10]
push edi
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x24]
mov dword [esp + str.stack_backtrace:_n], 0x57dbc0
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1b8], str.PathTryFromIntErrornumber_of_bones_should_fit_in_i32vmesh_src_v3mc.rs
mov dword [esp + 0x1bc], 0
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0x1b0]
push eax
call fcn.0046b2c0
add esp, 4
test al, al
jne 0x4b1c8d
movzx eax, byte [esp + 0xc]
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x6c]
mov byte [esp + 0xd], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x1b], 1
test al, al
mov dword [esp + 0x80], ecx
mov dword [esp + 0x8c], 0
mov byte [esp + 0x90], al
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0x57dbc8
setne byte [esp + 0xf]
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_GetCurrentThread
mov dword [esp + 0x14], eax
push 0x2d0
push 0
lea esi, [esp + 0x1b8]
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call sub.KERNEL32.dll_RtlCaptureContext
mov edi, dword [0x5920c8]
test edi, edi
je 0x4b1907
push 0
push 0xffffffffffffffff
push edi
call sub.KERNEL32.dll_WaitForSingleObjectEx
mov eax, dword [0x5920ec]
test eax, eax
jne 0x4b1842
push str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
mov dword [0x5920ec], eax
je 0x4b1d2f
cmp byte [0x5920cc], 0
mov dword [esp + 0x24], edi
jne 0x4b18e3
mov ecx, dword [0x5920f0]
test ecx, ecx
jne 0x4b1877
push str.SymGetOptions
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4b1f98
mov ecx, eax
mov dword [0x5920f0], eax
call ecx
mov esi, eax
mov eax, dword [0x5920f4]
test eax, eax
jne 0x4b18a1
push str.SymSetOptions
push dword [0x5920ec]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4b1f9f
mov dword [0x5920f4], eax
or esi, 4
push esi
call eax
mov esi, dword [0x5920f8]
test esi, esi
jne 0x4b18d0
push str.SymInitializeW
push dword [0x5920ec]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4b1fa6
mov esi, eax
mov dword [0x5920f8], eax
call sub.KERNEL32.dll_GetCurrentProcess
push 1
push 0
push eax
call esi
mov byte [0x5920cc], 1
mov eax, dword [0x592100]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4b19e7
mov edi, dword [0x592104]
test edi, edi
jne 0x4b1a35
jmp 0x4b1a16
push 0x21
push str.LocalRustBacktraceMutex00000000
lea eax, [esp + 0xa8]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call sub.KERNEL32.dll_GetCurrentProcessId
test eax, eax
je 0x4b1968
mov ecx, 0x1f
nop dword [eax]
cmp ecx, 0x20
ja 0x4b1f3c
mov edx, eax
mov esi, eax
and dl, 0xf
mov dh, dl
mov ebx, edx
add bl, 0x37
or dh, 0x30
cmp dl, 0xa
movzx edx, dh
movzx ebx, bl
cmovb ebx, edx
shr esi, 4
mov byte [esp + ecx + 0xa0], bl
dec ecx
cmp eax, 0x10
mov eax, esi
jae 0x4b1930
movsd xmm1, qword [esp + 0xb0]
movzx eax, byte [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0xa0]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esp + 0xa8]
mov byte [esp + 0x50], al
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x38], xmm1
lea eax, [esp + 0x30]
push eax
push 0
push 0
call sub.KERNEL32.dll_CreateMutexA
test eax, eax
je 0x4b1c86
mov edi, eax
xor eax, eax
lock cmpxchg dword [0x5920c8], edi
je 0x4b1818
mov esi, eax
push edi
call sub.KERNEL32.dll_CloseHandle
mov edi, esi
jmp 0x4b1818
push str.SymFunctionTableAccess64
push dword [0x5920ec]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x10], eax
je 0x4b1f7f
mov eax, dword [esp + 0x10]
mov dword [0x592100], eax
mov edi, dword [0x592104]
test edi, edi
jne 0x4b1a35
push str.SymGetModuleBase64
push dword [0x5920ec]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4b1f7f
mov edi, eax
mov dword [0x592104], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov esi, dword [0x592108]
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4b1a67
push str.StackWalkEx
push dword [0x5920ec]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4b1d35
mov esi, eax
mov dword [0x592108], eax
lea eax, [esp + 0xa8]
push 0x108
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x264]
mov ecx, dword [esp + 0x268]
mov edx, dword [esp + 0x274]
mov dword [esp + 0x1a8], 0x110
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 3
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], 0
mov dword [esp + 0xdc], 3
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 3
push 0
push 0
push edi
push dword [esp + 0x1c]
push 0
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x30]
push dword [esp + 0x3c]
push 0x14c
call esi
cmp eax, 1
jne 0x4b1c7d
xor ebx, ebx
nop word [eax + eax]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0x28]
call edi
cmp byte [esp + 0xc], 0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
jne 0x4b1b6e
cmp ebx, 0x64
ja 0x4b1c7d
lea eax, [esp + 0xe]
lea ecx, [esp + 0xd]
mov byte [esp + 0xe], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xf]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1b]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x30]
call fcn.0048fed0
cmp byte [esp + 0xe], 0
jne 0x4b1c40
cmp byte [esp + 0xf], 0
je 0x4b1c40
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x80]
mov dword [esp + 0x30], 3
mov dword [esp + 0x94], 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
sub esp, 0x18
lea eax, [esp + 0xac]
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.004ad600
add esp, 0x18
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xd], al
inc dword [ecx + 0xc]
test al, al
je 0x4b1c49
jmp 0x4b1c7d
movzx eax, byte [esp + 0xd]
test al, al
jne 0x4b1c7d
inc ebx
push 0
push 0
push edi
push dword [esp + 0x1c]
push 0
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x30]
push dword [esp + 0x3c]
push 0x14c
call esi
cmp eax, 1
je 0x4b1b30
push dword [esp + 0x24]
call sub.KERNEL32.dll_ReleaseMutex
cmp byte [esp + 0xd], 0
je 0x4b1cb2
test dword [esp + 0x6c], 0x7fffffff
je 0x4b1ca8
push dword [esp + 0x70]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + 0xc], 0
jne 0x4b1d0d
mov eax, dword [ebp + 0xc]
mov dword [esp + str.note:_Some_details_are_omitted__run_with__RUST_BACKTRACEfull__for_a_verbose_backtrace._n], 0x57dc34
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1b8], str.PathTryFromIntErrornumber_of_bones_should_fit_in_i32vmesh_src_v3mc.rs
mov dword [esp + 0x1bc], 0
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0x1b0]
push eax
call fcn.0046b2c0
add esp, 4
test al, al
jne 0x4b1c8d
test dword [esp + 0x6c], 0x7fffffff
je 0x4b1d28
push dword [esp + 0x70]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
xor eax, eax
jmp 0x4b1caa
push edi
jmp 0x4b1c81
lea eax, [esp + 0xa8]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x268]
mov eax, dword [esp + 0x264]
mov edx, dword [esp + 0x274]
xor ebx, ebx
lea esi, [esp + 0x5c]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 3
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], 0
mov dword [esp + 0xdc], 3
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 3
jmp 0x4b1dce
movzx eax, byte [esp + 0xd]
inc ebx
test al, al
jne 0x4b1c7d
mov eax, dword [0x5920fc]
test eax, eax
jne 0x4b1df4
push str.StackWalk64
push dword [0x5920ec]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4b1f7f
mov dword [0x5920fc], eax
push 0
push edi
push dword [esp + 0x18]
push 0
lea ecx, [esp + 0x1c0]
push ecx
lea ecx, [esp + 0xb4]
push ecx
push dword [esp + 0x2c]
push dword [esp + 0x38]
push 0x14c
call eax
cmp eax, 1
jne 0x4b1c7d
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0x28]
call edi
cmp byte [esp + 0xc], 0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
jne 0x4b1e63
cmp ebx, 0x64
ja 0x4b1c7d
lea eax, [esp + 0xe]
mov byte [esp + 0xe], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xf]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1b]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xd]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
mov ecx, esi
lea edx, [esp + 0x30]
call fcn.0048fed0
cmp byte [esp + 0xe], 0
jne 0x4b1dc0
cmp byte [esp + 0xf], 0
je 0x4b1dc0
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x80]
mov dword [esp + 0x30], 3
mov dword [esp + 0x94], 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
sub esp, 0x18
lea eax, [esp + 0xac]
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.004ad600
add esp, 0x18
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xd], al
inc dword [ecx + 0xc]
inc ebx
test al, al
je 0x4b1dce
jmp 0x4b1c7d
mov edx, 0x21
mov ecx, 0xffffffff
push 0x57e0f4
call fcn.004699c0
add esp, 4
jmp 0x4b1fbe
mov edx, 0x28
mov ecx, 0x5811c4
push 0x57ea48
call fcn.0046b100
add esp, 4
jmp 0x4b1fbe
mov ecx, esi
push 0x57ea38
call fcn.0046a750
add esp, 4
jmp 0x4b1fbe
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_home_rafalh_.cargo_registry_src_index.crates.io_6f17d22bba15001f_serde_json_1.0.81_src_read.rs
push 0x57edf8
call fcn.0046b100
add esp, 4
jmp 0x4b1fbe
mov eax, 0x57e0a0
jmp 0x4b1fab
mov eax, 0x57e0b0
jmp 0x4b1fab
mov eax, 0x57e0c0
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_home_rafalh_.cargo_registry_src_index.crates.io_6f17d22bba15001f_serde_json_1.0.81_src_read.rs
push eax
call fcn.0046b100
add esp, 4
ud2