Function at 0x459fa0
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x450
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], ecx
push 0x51e0d4
call sub.kernel32.dll_AcquireSRWLockExclusive
mov eax, dword [0x51e0f4]
test eax, 0x7fffffff
jne 0x45a67d
mov dword [esp + 0x1c], 0
movzx eax, byte [0x51e0d8]
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [esp + 0x24], eax
call sub.kernel32.dll_GetCurrentThread
mov dword [esp + 0x20], eax
lea esi, [esp + 0x170]
push 0x2d0
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call sub.kernel32.dll_RtlCaptureContext
mov ebx, dword [0x51e0f8]
test ebx, ebx
je 0x45a123
push 0
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObjectEx
mov eax, dword [0x51e138]
test eax, eax
jne 0x45a05f
push str.dbghelp.dll
call sub.kernel32.dll_LoadLibraryA
test eax, eax
mov dword [0x51e138], eax
je 0x45a4f1
cmp byte [0x51e0fc], 0
jne 0x45a0fc
mov ecx, dword [0x51e13c]
test ecx, ecx
jne 0x45a090
push str.SymGetOptions
push eax
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x45a6cb
mov ecx, eax
mov dword [0x51e13c], eax
call ecx
mov esi, eax
mov eax, dword [0x51e140]
test eax, eax
jne 0x45a0ba
push str.SymSetOptions
push dword [0x51e138]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x45a6d5
mov dword [0x51e140], eax
or esi, 4
push esi
call eax
mov esi, dword [0x51e144]
test esi, esi
jne 0x45a0e9
push str.SymInitializeW
push dword [0x51e138]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x45a6df
mov esi, eax
mov dword [0x51e144], eax
call sub.kernel32.dll_GetCurrentProcess
push 1
push 0
push eax
call esi
mov byte [0x51e0fc], 1
mov eax, dword [0x51e14c]
test eax, eax
mov dword [esp + 0x14], eax
je 0x45a1f8
mov eax, dword [0x51e150]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45a24f
jmp 0x45a22a
push 0x21
push str.LocalRustBacktraceMutex00000000
lea eax, [esp + 0x68]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call sub.kernel32.dll_GetCurrentProcessId
test eax, eax
je 0x45a185
mov ecx, 0x1f
nop word cs:[eax + eax]
nop
cmp ecx, 0x20
ja 0x45a6a6
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 + 0x60], bl
dec ecx
cmp eax, 0x10
mov eax, esi
jae 0x45a150
movsd xmm1, qword [esp + 0x70]
movzx eax, byte [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x60]
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [esp + 0x68]
mov byte [esp + 0x48], al
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
lea eax, [esp + 0x28]
push eax
push 0
push 0
call sub.kernel32.dll_CreateMutexA
test eax, eax
je 0x45a4ea
mov ebx, eax
xor eax, eax
lock cmpxchg dword [0x51e0f8], ebx
je 0x45a035
mov esi, eax
push ebx
call sub.kernel32.dll_CloseHandle
mov ebx, esi
jmp 0x45a035
push str.SymFunctionTableAccess64
push dword [0x51e138]
call sub.kernel32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x14], eax
je 0x45a6b9
mov eax, dword [esp + 0x14]
mov dword [0x51e14c], eax
mov eax, dword [0x51e150]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45a24f
push str.SymGetModuleBase64
push dword [0x51e138]
call sub.kernel32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x10], eax
je 0x45a6b9
mov eax, dword [esp + 0x10]
mov dword [0x51e150], eax
call sub.kernel32.dll_GetCurrentProcess
mov esi, dword [0x51e154]
mov dword [esp + 0x54], eax
test esi, esi
jne 0x45a281
push str.StackWalkEx
push dword [0x51e138]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x45a4fe
mov esi, eax
mov dword [0x51e154], eax
mov dword [esp], ebx
lea eax, [esp + 0x68]
push 0x108
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x234]
mov dword [esp + 0x168], 0x110
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], 3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 3
push 0
push 0
mov ebx, dword [esp + 0x18]
push ebx
push dword [esp + 0x20]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
push 0x14c
call esi
cmp eax, 1
jne 0x45a428
mov edi, dword [esp + 0xc]
mov dword [esp + 0x5c], esi
xor esi, esi
jmp 0x45a3cd
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x38]
lea ecx, [edi + edi*2]
xor ebx, dword [esp + 0x58]
inc edi
movsd qword [eax + ecx*8 + 0x10], xmm0
or ebx, esi
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], edi
cmove eax, edi
mov dword [esp + 0x18], eax
mov eax, 1
cmove esi, eax
push 0
push 0
mov ebx, dword [esp + 0x18]
push ebx
push dword [esp + 0x20]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
push 0x14c
call dword [esp + 0x84]
cmp eax, 1
jne 0x45a42a
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x5c]
call ebx
mov ebx, dword [esp + 0x60]
cmp edi, dword [esp + 4]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0
jne 0x45a350
lea ecx, [esp + 4]
mov edx, edi
call fcn.004434f0
mov edi, dword [esp + 0xc]
jmp 0x45a350
xor esi, esi
mov ebx, dword [esp]
push ebx
call sub.kernel32.dll_ReleaseMutex
mov edx, dword [esp + 0x18]
cmp dword [esp + 0xc], 0
je 0x45a47b
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 4]
mov ecx, dword [esp + 0x50]
test esi, esi
cmove edx, esi
mov dword [esp + 0x178], eax
movsd qword [esp + 0x170], xmm0
mov dword [ecx + 0xc], eax
movsd qword [ecx + 4], xmm0
mov dword [ecx], 2
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 0
jmp 0x45a4c1
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x50]
movsd xmm0, qword [esp + 0x170]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 4]
movsd qword [ecx + 4], xmm0
mov dword [ecx], 0
mov dword [ecx + 0x14], 0
test eax, eax
je 0x45a4c1
shl eax, 3
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x10]
call fcn.00401c20
add esp, 0xc
cmp byte [esp + 0x1c], 0
jne 0x45a4d8
mov eax, dword [0x51e0f4]
test eax, 0x7fffffff
jne 0x45a68d
push 0x51e0d4
call sub.kernel32.dll_ReleaseSRWLockExclusive
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x45a437
push ebx
call sub.kernel32.dll_ReleaseMutex
xor esi, esi
jmp 0x45a437
lea eax, [esp + 0x68]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
mov edx, dword [esp + 0x234]
xor esi, esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], 3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 3
jmp 0x45a5cc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x38]
xor edi, dword [esp + 0x58]
lea ecx, [edx + edx*2]
inc edx
movsd qword [eax + ecx*8 + 0x10], xmm0
or edi, esi
mov edi, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
cmove edi, edx
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov ecx, 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], edi
cmove esi, ecx
mov eax, dword [0x51e148]
test eax, eax
jne 0x45a5f2
push str.StackWalk64
push dword [0x51e138]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x45a6b9
mov dword [0x51e148], eax
push 0
mov edi, dword [esp + 0x14]
push edi
push dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x180]
push ecx
lea ecx, [esp + 0x74]
push ecx
push dword [esp + 0x38]
push dword [esp + 0x40]
push 0x14c
call eax
cmp eax, 1
jne 0x45a42d
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x5c]
call edi
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], eax
cmp edx, dword [esp + 4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0
jne 0x45a584
lea ecx, [esp + 4]
call fcn.004434f0
jmp 0x45a580
call fcn.00471c00
xor al, 1
mov dword [esp + 0x1c], eax
jmp 0x459fd9
call fcn.00471c00
test al, al
jne 0x45a4d8
mov byte [0x51e0d8], 1
jmp 0x45a4d8
push 0x4e0e28
push 0x21
push 0xffffffffffffffff
call fcn.004b4cc0
add esp, 0xc
jmp 0x45a6f0
mov dword [esp], ebx
push 0x4e250c
call fcn.004b48b0
add esp, 4
jmp 0x45a6f0
mov eax, 0x4e0dd4
mov dword [esp], ebx
jmp 0x45a6e7
mov dword [esp], ebx
mov eax, 0x4e0de4
jmp 0x45a6e7
mov dword [esp], ebx
mov eax, 0x4e0df4
push eax
call fcn.004b48b0
add esp, 4
ud2