Function at 0x4b0790
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 0x4b0749
mov edi, dword [esp + 0x24]
add edi, dword [esp + 0x30]
cmp edi, 0x3b9aca00
jb 0x4b071f
add ecx, 1
adc esi, 0
jb 0x4b0749
add edi, 0xc4653600
mov eax, edi
mov edx, 0x44b83
shr eax, 9
mul edx
shr edx, 7
add ecx, edx
adc esi, 0
jb 0x4b075d
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 0x528c30
call fcn.004e8fb0
mov ecx, esp
mov edx, 0x527a90
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.rs
mov dword [esp + 0xc], 0
call fcn.004e8b50
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], 0x4c3d70
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 0x4b0840
jmp 0x4b082e
jbe 0x4b08de
cmp ecx, 0x201
jae 0x4b0840
mov dword [esi + 0x10], 0x200
lea ebx, [esi + 0x1a0]
mov edi, ecx
jmp 0x4b0880
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
sub ecx, edi
sub eax, edi
cmp eax, ecx
jae 0x4b0871
mov eax, ecx
mov dword [esi + 0x5b8], 0
lea ecx, [esi + 0x20]
mov edx, edi
push eax
call fcn.004ec5e0
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 0x4b08a7
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
test eax, eax
jne 0x4b0923
cmp ecx, edi
jne 0x4b0820
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4b0e36
lea ecx, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs ecx, eax
cmp ecx, 0x201
jb 0x4b082e
jmp 0x4b0840
mov edx, dword [esi + 0x10]
mov eax, ecx
mov dword [esi + 0x5b8], 0
cmp ecx, edx
ja 0x4b0e59
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x90]
push eax
call fcn.0049d640
add esp, 4
movsd xmm0, qword [esi + 0x90]
movsd xmm1, qword [esi + 0x98]
movsd qword [esi + 0x40], xmm1
movsd qword [esi + 0x38], xmm0
jmp 0x4b0937
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 0x4b0952
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 0x4b0975
lea ecx, [esi + 0x38]
mov dword [esi + 0x5b8], 0xffffffff
call fcn.0049b250
movzx ebx, byte [esi + 4]
jmp 0x4b098f
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], 0x528cd4
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.rs
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.00404380
add esp, 4
test al, al
jne 0x4b0cbf
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], 0x528cdc
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.004e4ba0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
call fcn.0049ea90
test eax, eax
je 0x4b0abb
cmp byte [esi + 5], 0
jne 0x4b0cbf
jmp 0x4b0c5d
mov edi, dword [0x53800c]
mov dword [esi + 0x34], edx
test edi, edi
jne 0x4b0ae8
push str.SymFunctionTableAccess64
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0e8d
mov edi, eax
mov dword [0x53800c], eax
mov ebx, dword [0x538010]
test ebx, ebx
jne 0x4b0b12
push str.SymGetModuleBase64
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0eb0
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 0x4b0b48
push str.StackWalkEx
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0d0e
mov dword [0x538014], eax
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x98]
push 0x108
push 0
push eax
call fcn.004e4ba0
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 0x4b0c4e
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.004b0f70
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 8]
test al, al
jne 0x4b0bd0
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp byte [esi + 5], 0
jne 0x4b0cbf
cmp byte [esi + 4], 0
jne 0x4b0cf0
mov eax, dword [ebp + 0xc]
mov dword [esi + str.note:_Some_details_are_omitted__run_with__RUST_BACKTRACEfull__for_a_verbose_backtrace._n], 0x528d48
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.rs
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.00404380
add esp, 4
test al, al
je 0x4b0cf0
test dword [esi + 0x54], 0x7fffffff
je 0x4b0cd9
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 0x4b0d0a
push dword [esi + 0x58]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x4b0cdb
lea eax, [esi + 0x98]
push pe_nt_image_headers32
push 0
push eax
call fcn.004e4ba0
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 0x4b0db7
push str.StackWalk64
push dword [0x537ff8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0e6a
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 0x4b0c4e
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.004b0f70
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 8]
test al, al
jne 0x4b0d90
jmp 0x4b0c4e
mov dword [esi + 0x5b8], 0
mov ecx, 0x52c09b
mov edx, 0x28
push 0x529f2c
call fcn.004e8ca0
add esp, 4
jmp 0x4b0ed1
mov ecx, eax
push 0x529f1c
call fcn.004e8c40
add esp, 4
jmp 0x4b0ed1
mov dword [esi + 0x5b8], 2
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52a450
call fcn.004e8ca0
add esp, 4
jmp 0x4b0ed1
mov dword [esi + 0x5b8], 2
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52a450
call fcn.004e8ca0
add esp, 4
jmp 0x4b0ed1
mov dword [esi + 0x5b8], 2
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52a450
call fcn.004e8ca0
add esp, 4
ud2