Function at 0x4b0490
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
sub esp, 0x18
add ecx, dword [esp + 0x28]
mov esi, edx
adc esi, dword [esp + 0x2c]
jb 0x4b0449
mov edi, dword [esp + 0x24]
add edi, dword [esp + 0x30]
cmp edi, 0x3b9aca00
jb 0x4b041f
add ecx, 1
adc esi, 0
jb 0x4b0449
add edi, 0xc4653600
mov eax, edi
mov edx, 0x44b83
shr eax, 9
mul edx
shr edx, 7
add ecx, edx
adc esi, 0
jb 0x4b045d
imul eax, edx, 0x3b9aca00
mov edx, esi
sub edi, eax
mov eax, ecx
mov ecx, edi
add esp, 0x18
pop esi
pop edi
ret
mov ecx, str.overflow_when_adding_duration_to_instantlibrary_std_src_time.rs
mov edx, 0x28
push 0x528ba0
call fcn.004e8d40
mov ecx, esp
mov edx, 0x527a00
mov dword [esp], str.overflow_in_Duration::new
mov dword [esp + 4], 1
mov dword [esp + 0x10], 0
mov dword [esp + 8], str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs0
mov dword [esp + 0xc], 0
call fcn.004e88e0
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x5c0
mov esi, esp
mov dword [esi + 0x5a8], ebp
mov dword [esi + 0x5ac], esp
mov dword [esi + 0x5b8], 0xffffffff
mov dword [esi + 0x5b4], 0x4c3b00
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x5b0]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 2
mov dword [esi + 0x14], 0
mov edx, dword fs:[0]
mov dword [esi + 0x5b0], edx
mov dword fs:[0], ecx
mov ecx, 0x200
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], 0
movzx eax, byte [eax]
mov byte [esi + 0x1c], al
mov byte [esi + 4], al
cmp ecx, 0x201
jae 0x4b0540
jmp 0x4b052e
jbe 0x4b05de
cmp ecx, 0x201
jae 0x4b0540
mov dword [esi + 0x10], 0x200
lea ebx, [esi + 0x1a0]
mov edi, ecx
jmp 0x4b0580
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
sub ecx, edi
sub eax, edi
cmp eax, ecx
jae 0x4b0571
mov eax, ecx
mov dword [esi + 0x5b8], 0
lea ecx, [esi + 0x20]
mov edx, edi
push eax
call fcn.004ec350
add esp, 4
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov dword [esi + 8], eax
mov ebx, dword [esi + 8]
mov dword [esi + 0x28], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esi + 0x18], ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, eax
test eax, eax
jne 0x4b05a7
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
test eax, eax
jne 0x4b0623
cmp ecx, edi
jne 0x4b0520
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4b0b36
lea ecx, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs ecx, eax
cmp ecx, 0x201
jb 0x4b052e
jmp 0x4b0540
mov edx, dword [esi + 0x10]
mov eax, ecx
mov dword [esi + 0x5b8], 0
cmp ecx, edx
ja 0x4b0b59
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x90]
push eax
call fcn.0049d340
add esp, 4
movsd xmm0, qword [esi + 0x90]
movsd xmm1, qword [esi + 0x98]
movsd qword [esi + 0x40], xmm1
movsd qword [esi + 0x38], xmm0
jmp 0x4b0637
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], 0x80000000
cmp dword [esi + 0xc], 0
movzx ebx, byte [esi + 0x1c]
je 0x4b0652
push dword [esi + 8]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esi + 0x38]
cmp edi, 0x80000000
jne 0x4b0675
lea ecx, [esi + 0x38]
mov dword [esi + 0x5b8], 0xffffffff
call fcn.0049af50
movzx ebx, byte [esi + 4]
jmp 0x4b068f
mov eax, dword [esi + 0x44]
movsd xmm0, qword [esi + 0x3c]
mov dword [esi + 0x5b8], 1
mov dword [esi + 0x78], eax
movsd qword [esi + 0x70], xmm0
mov eax, dword [esi + 0x78]
mov byte [esi + 0x64], bl
mov dword [esi + 0x54], edi
movsd xmm0, qword [esi + 0x70]
mov dword [esi + str.stack_backtrace:_n], 0x528c44
mov dword [esi + 0x1a4], 1
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1a8], str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x5b8], 1
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0xc]
movsd qword [esi + 0x58], xmm0
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lea eax, [esi + 0x1a0]
push eax
call fcn.00404230
add esp, 4
test al, al
jne 0x4b09bf
movzx eax, byte [esi + 4]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x68], 0
mov byte [esi + 5], 0
mov dword [esi + 0x6c], 0
mov byte [esi + 6], 1
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x88], 0
test al, al
mov byte [esi + 0x8c], al
lea eax, [esi + 4]
lea ecx, [esi + 0x54]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x68]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], 0x528c4c
setne byte [esi + 7]
mov dword [esi + 0x3c], eax
lea eax, [esi + 7]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x6c]
mov dword [esi + 0x44], eax
lea eax, [esi + 6]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x7c]
mov dword [esi + 0x4c], eax
lea eax, [esi + 5]
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esi + 0x14], eax
push 0x2d0
push 0
lea edi, [esi + 0x1a0]
push edi
call fcn.004e4930
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
call fcn.0049e790
test eax, eax
je 0x4b07bb
cmp byte [esi + 5], 0
jne 0x4b09bf
jmp 0x4b095d
mov edi, dword [0x53800c]
mov dword [esi + 0x34], edx
test edi, edi
jne 0x4b07e8
push str.SymFunctionTableAccess64
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0b8d
mov edi, eax
mov dword [0x53800c], eax
mov ebx, dword [0x538010]
test ebx, ebx
jne 0x4b0812
push str.SymGetModuleBase64
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0bb0
mov ebx, eax
mov dword [0x538010], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x10], eax
mov eax, dword [0x538014]
mov dword [esi + 0x18], edi
mov dword [esi + 8], ebx
test eax, eax
jne 0x4b0848
push str.StackWalkEx
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0a0e
mov dword [0x538014], eax
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x98]
push 0x108
push 0
push eax
call fcn.004e4930
add esp, 0xc
mov eax, dword [esi + 0x254]
mov ecx, dword [esi + 0x258]
mov edx, dword [esi + 0x264]
mov dword [esi + 0x198], 0x110
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], ecx
mov dword [esi + 0x9c], 3
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], 0
mov dword [esi + 0xcc], 3
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], 0
mov dword [esi + 0xbc], 3
nop dword [eax + eax]
push 0
push 0
push ebx
push edi
push 0
lea eax, [esi + 0x1a0]
push eax
lea eax, [esi + 0x90]
push eax
push dword [esi + 0x14]
push dword [esi + 0xc]
push 0x14c
call dword [esi + 0x1c]
cmp eax, 1
jne 0x4b094e
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x10]
call ebx
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0xc0]
mov edi, dword [esi + 0x19c]
mov dword [esi + 0x20], 1
mov dword [esi + 0x5b8], 2
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
lea ecx, [esi + 0x38]
lea edx, [esi + 0x20]
call fcn.004b0c60
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 8]
test al, al
jne 0x4b08d0
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp byte [esi + 5], 0
jne 0x4b09bf
cmp byte [esi + 4], 0
jne 0x4b09f0
mov eax, dword [ebp + 0xc]
mov dword [esi + str.note:_Some_details_are_omitted__run_with__RUST_BACKTRACEfull__for_a_verbose_backtrace._n_], 0x528cb8
mov dword [esi + 0x1a4], 1
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1a8], str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x5b8], 1
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lea eax, [esi + 0x1a0]
push eax
call fcn.00404230
add esp, 4
test al, al
je 0x4b09f0
test dword [esi + 0x54], 0x7fffffff
je 0x4b09d9
push dword [esi + 0x58]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
mov ecx, dword [esi + 0x5b0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test dword [esi + 0x54], 0x7fffffff
je 0x4b0a0a
push dword [esi + 0x58]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x4b09db
lea eax, [esi + 0x98]
push pe_nt_image_headers32
push 0
push eax
call fcn.004e4930
add esp, 0xc
mov ecx, dword [esi + 0x258]
mov eax, dword [esi + 0x254]
mov edx, dword [esi + 0x264]
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], ecx
mov dword [esi + 0x9c], 3
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], 0
mov dword [esi + 0xcc], 3
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], 0
mov dword [esi + 0xbc], 3
nop word cs:[eax + eax]
nop
mov eax, dword [0x538008]
test eax, eax
jne 0x4b0ab7
push str.StackWalk64
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0b6a
mov dword [0x538008], eax
push 0
push ebx
push edi
push 0
lea ecx, [esi + 0x1a0]
push ecx
lea ecx, [esi + 0x90]
push ecx
push dword [esi + 0x14]
push dword [esi + 0xc]
push 0x14c
call eax
cmp eax, 1
jne 0x4b094e
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x10]
call ebx
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0xc0]
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x5b8], 2
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
lea ecx, [esi + 0x38]
lea edx, [esi + 0x20]
call fcn.004b0c60
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 8]
test al, al
jne 0x4b0a90
jmp 0x4b094e
mov dword [esi + 0x5b8], 0
mov ecx, 0x52c00b
mov edx, 0x28
push 0x529e9c
call fcn.004e8a30
add esp, 4
jmp 0x4b0bd1
mov ecx, eax
push 0x529e8c
call fcn.004e89d0
add esp, 4
jmp 0x4b0bd1
mov dword [esi + 0x5b8], 2
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52a3c0
call fcn.004e8a30
add esp, 4
jmp 0x4b0bd1
mov dword [esi + 0x5b8], 2
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52a3c0
call fcn.004e8a30
add esp, 4
jmp 0x4b0bd1
mov dword [esi + 0x5b8], 2
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52a3c0
call fcn.004e8a30
add esp, 4
ud2