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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x4a0
mov eax, dword [ebp + 8]
movzx ebx, byte [eax]
mov byte [esp + 0xc], bl
lea eax, [esp + 0x1c0]
push eax
call sym.std::env::current_dir::h665066e3e62915bf
add esp, 4
mov esi, dword [esp + 0x1c0]
cmp esi, 0x80000000
jne 0x10049e19
cmp byte [esp + 0x1c4], 3
jne 0x10049e37
mov eax, dword [esp + 0x1c8]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
test eax, eax
je 0x10049dee
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x10049e02
push dword [ebx + 8]
push eax
push edi
call sym.___rust_dealloc
add esp, 0xc
push 4
push 0xc
push dword [esp + 0x18]
call sym.___rust_dealloc
add esp, 0xc
movzx ebx, byte [esp + 0xc]
jmp 0x10049e37
lea eax, [esp + 0x1c4]
mov ecx, dword [eax + 8]
movsd xmm0, qword [eax]
mov dword [esp + 0x90], ecx
movsd qword [esp + 0x88], xmm0
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x90]
movsd xmm0, qword [esp + 0x88]
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x18]
movsd qword [esp + 0x3c], xmm0
mov eax, dword [eax + 0xc]
push 0x11
push str.stack_backtrace:_n
push dword [edi + 0x14]
call eax
add esp, 0xc
test al, al
jne 0x1004a1fc
movzx ebx, byte [esp + 0xc]
lea eax, [esp + 0x38]
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], 0
mov byte [esp + 0xb], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0xf], 1
test bl, bl
mov byte [esp + 0x84], bl
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x1012c51c
setne byte [esp + 0xe]
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x30], eax
call sub.KERNEL32.dll_GetCurrentThread
mov dword [esp + 0x2c], eax
push 0x2d0
push 0
lea esi, [esp + 0x1c8]
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call sub.ntdll.dll_RtlCaptureContext
call sym.std::backtrace_rs::dbghelp::init::ha9c7f686f4955b69
test eax, eax
je 0x10049f05
cmp byte [esp + 0xb], 0
jne 0x1004a1fc
jmp 0x1004a1df
mov eax, dword [0x10161134]
mov dword [esp + 0x24], edx
test eax, eax
mov dword [esp + 0x18], eax
je 0x10049f25
mov eax, dword [0x10161138]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10049f7c
jmp 0x10049f57
push str.SymFunctionTableAccess64
push dword [0x10161114]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x18], eax
je 0x1004a45d
mov eax, dword [esp + 0x18]
mov dword [0x10161134], eax
mov eax, dword [0x10161138]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10049f7c
push str.SymGetModuleBase64
push dword [0x10161114]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x10], eax
je 0x1004a45d
mov eax, dword [esp + 0x10]
mov dword [0x10161138], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov edi, dword [0x1016113c]
mov dword [esp + 0x28], eax
test edi, edi
jne 0x10049fae
push str.StackWalkEx
push dword [0x10161114]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x1004a23e
mov edi, eax
mov dword [0x1016113c], eax
mov byte [esp + 0x17], bl
lea eax, [esp + 0xb0]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x278]
mov edx, dword [esp + 0x284]
xor ebx, ebx
lea esi, [esp + 0xa0]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x1b0], 0x110
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb4], 3
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe4], 3
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd4], 3
jmp 0x1004a08e
movzx eax, byte [esp + 0xb]
inc ebx
test al, al
jne 0x1004a1c7
push 0
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
push 0
lea eax, [esp + 0x1d4]
push eax
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x48]
push dword [esp + 0x50]
push 0x14c
call edi
cmp eax, 1
jne 0x1004a1c7
push 0
push dword [esp + 0xac]
push dword [esp + 0x30]
call dword [esp + 0x1c]
cmp byte [esp + 0xc], 0
mov dword [esp + 0x1b8], eax
jne 0x1004a0ec
cmp ebx, 0x64
ja 0x1004a1c7
lea eax, [esp + 0xd]
mov byte [esp + 0xd], 0
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xe]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x58], eax
lea eax, [esp + 0xf]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x60], eax
lea eax, [esp + 0xb]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
push 0x1012ccf8
lea eax, [esp + 0x50]
push eax
push esi
push 1
call sym.std::backtrace_rs::symbolize::gimli::resolve::h72ee58f759e3719a
add esp, 0x10
cmp byte [esp + 0xd], 0
jne 0x1004a080
cmp byte [esp + 0xe], 0
je 0x1004a080
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], 3
mov dword [esp + 0x94], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
sub esp, 0x18
lea eax, [esp + 0xac]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call sym.std::backtrace_rs::print::BacktraceFrameFmt::print_raw_with_column::h14badd19a514aa13
add esp, 0x18
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xb], al
inc dword [ecx + 0xc]
inc ebx
test al, al
je 0x1004a08e
movzx ebx, byte [esp + 0x17]
push dword [esp + 0x24]
call sub.KERNEL32.dll_ReleaseMutex
mov edi, dword [ebp + 0xc]
cmp byte [esp + 0xb], 0
jne 0x1004a1fc
test bl, bl
jne 0x1004a220
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0xc]
push 0x58
push str.note:_Some_details_are_omitted__run_with__RUST_BACKTRACEfull__for_a_verbose_backtrace._n__rust_begin_short_backtrace__rust_end_short_backtraces_______..._omitted__frame_...__n
push dword [edi + 0x14]
call eax
add esp, 0xc
test al, al
je 0x1004a220
mov eax, dword [esp + 0x38]
test eax, 0x7fffffff
je 0x1004a216
push 1
push eax
push dword [esp + 0x44]
call sym.___rust_dealloc
add esp, 0xc
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x38]
test eax, 0x7fffffff
je 0x1004a23a
push 1
push eax
push dword [esp + 0x44]
call sym.___rust_dealloc
add esp, 0xc
xor eax, eax
jmp 0x1004a218
lea eax, [esp + 0xb0]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x278]
mov edx, dword [esp + 0x284]
xor edi, edi
lea esi, [esp + 0xa0]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 1
mov dword [esp + 0x1b8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb4], 3
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe4], 3
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd4], 3
jmp 0x1004a2fb
movzx eax, byte [esp + 0xb]
inc edi
test al, al
jne 0x1004a1cc
mov eax, dword [0x10161130]
test eax, eax
jne 0x1004a321
push str.StackWalk64
push dword [0x10161114]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x1004a45d
mov dword [0x10161130], eax
push 0
push dword [esp + 0x14]
push dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1d0]
push ecx
lea ecx, [esp + 0xbc]
push ecx
push dword [esp + 0x44]
push dword [esp + 0x4c]
push 0x14c
call eax
cmp eax, 1
jne 0x1004a1cc
push 0
push dword [esp + 0xac]
push dword [esp + 0x30]
call dword [esp + 0x1c]
cmp byte [esp + 0xc], 0
mov dword [esp + 0x1b8], eax
jne 0x1004a37d
cmp edi, 0x64
ja 0x1004a1cc
lea eax, [esp + 0xd]
lea edx, [esp + 0xb]
mov byte [esp + 0xd], 0
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xe]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x58], eax
lea eax, [esp + 0xf]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
push 0x1012ccf8
lea ecx, [esp + 0x50]
push ecx
push esi
push 1
call sym.std::backtrace_rs::symbolize::gimli::resolve::h72ee58f759e3719a
add esp, 0x10
cmp byte [esp + 0xd], 0
jne 0x1004a2ed
cmp byte [esp + 0xe], 0
je 0x1004a2ed
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], 3
mov dword [esp + 0x94], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
sub esp, 0x18
lea eax, [esp + 0xac]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call sym.std::backtrace_rs::print::BacktraceFrameFmt::print_raw_with_column::h14badd19a514aa13
add esp, 0x18
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xb], al
inc dword [ecx + 0xc]
inc edi
test al, al
je 0x1004a2fb
jmp 0x1004a1cc
push 0x1012e3ac
call sym.core::option::unwrap_failed::h400a3d34e496ce4a
add esp, 4
ud2