Function at 0x10056010
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 + 0x54], edx
mov dword [esp + 0x4c], ecx
push 0x101120b8
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x101120d8]
test eax, 0x7fffffff
jne 0x100566f9
mov dword [esp + 0x1c], 0
movzx eax, byte [0x101120bc]
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 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 ecx, dword [0x101120dc]
test ecx, ecx
je 0x10056194
push 0
push 0xffffffffffffffff
mov dword [esp + 0x20], ecx
push ecx
call sub.KERNEL32.dll_WaitForSingleObjectEx
mov eax, dword [0x10112138]
test eax, eax
jne 0x100560d3
push str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
mov dword [0x10112138], eax
je 0x10056567
cmp byte [0x101120e0], 0
jne 0x10056170
mov ecx, dword [0x1011213c]
test ecx, ecx
jne 0x10056104
push str.SymGetOptions
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x1005674b
mov ecx, eax
mov dword [0x1011213c], eax
call ecx
mov esi, eax
mov eax, dword [0x10112140]
test eax, eax
jne 0x1005612e
push str.SymSetOptions
push dword [0x10112138]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10056752
mov dword [0x10112140], eax
or esi, 4
push esi
call eax
mov esi, dword [0x10112144]
test esi, esi
jne 0x1005615d
push str.SymInitializeW
push dword [0x10112138]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10056759
mov esi, eax
mov dword [0x10112144], eax
call sub.KERNEL32.dll_GetCurrentProcess
push 1
push 0
push eax
call esi
mov byte [0x101120e0], 1
mov eax, dword [0x1011214c]
test eax, eax
mov dword [esp + 0x14], eax
je 0x10056268
mov esi, dword [0x10112150]
test esi, esi
jne 0x100562b6
jmp 0x10056297
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 0x100561f5
mov ecx, 0x1f
nop word cs:[eax + eax]
cmp ecx, 0x20
ja 0x10056722
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 0x100561c0
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 0x10056560
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x101120dc], ecx
je 0x100560a5
mov esi, eax
push ecx
call sub.KERNEL32.dll_CloseHandle
mov ecx, esi
jmp 0x100560a5
push str.SymFunctionTableAccess64
push dword [0x10112138]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x14], eax
je 0x10056735
mov eax, dword [esp + 0x14]
mov dword [0x1011214c], eax
mov esi, dword [0x10112150]
test esi, esi
jne 0x100562b6
push str.SymGetModuleBase64
push dword [0x10112138]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10056735
mov esi, eax
mov dword [0x10112150], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov edi, dword [0x10112154]
mov dword [esp + 0x50], eax
test edi, edi
jne 0x100562e8
push str.StackWalkEx
push dword [0x10112138]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10056577
mov edi, eax
mov dword [0x10112154], eax
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
push esi
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 edi
cmp eax, 1
jne 0x10056498
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 4], 0
mov dword [esp + 0x5c], esi
jmp 0x1005643d
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x38]
lea ecx, [edi + edi*2]
xor esi, dword [esp + 0x54]
inc edi
movsd qword [eax + ecx*8 + 0x10], xmm0
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 + 4]
mov ecx, 1
mov dword [esp + 0x10], edi
or esi, eax
cmove ebx, edi
cmove eax, ecx
mov dword [esp + 4], eax
push 0
push 0
mov esi, dword [esp + 0x64]
push esi
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 + pe_nt_image_headers32]
cmp eax, 1
jne 0x100564a0
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x58]
call esi
mov esi, dword [esp + 0x60]
cmp edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jne 0x100563c0
lea ecx, [esp + 8]
mov edx, edi
call fcn.1003ee30
mov edi, dword [esp + 0x10]
jmp 0x100563c0
mov dword [esp + 4], 0
push dword [esp + 0x18]
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [esp + 4]
cmp dword [esp + 0x10], 0
je 0x100564f1
mov edx, dword [esp + 0x10]
movsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x4c]
test eax, eax
cmove ebx, eax
mov dword [esp + 0x178], edx
movsd qword [esp + 0x170], xmm0
mov dword [ecx + 0xc], edx
movsd qword [ecx + 4], xmm0
mov dword [ecx], 2
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0
jmp 0x10056537
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x170]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0xc]
movsd qword [ecx + 4], xmm0
mov dword [ecx], 0
mov dword [ecx + 0x14], 0
test eax, eax
je 0x10056537
shl eax, 3
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x10]
call fcn.10004680
add esp, 0xc
cmp byte [esp + 0x1c], 0
jne 0x1005654e
mov eax, dword [0x101120d8]
test eax, 0x7fffffff
jne 0x10056709
push 0x101120b8
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x100564ad
push dword [esp + 0x18]
call sub.KERNEL32.dll_ReleaseMutex
xor eax, eax
jmp 0x100564ad
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]
mov dword [esp + 0x64], 0
mov dword [esp + 4], 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 0x1005664c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x38]
lea ecx, [edx + edx*2]
xor edi, dword [esp + 0x54]
inc edx
movsd qword [eax + ecx*8 + 0x10], xmm0
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 + 4]
mov ecx, 1
mov dword [esp + 0x10], edx
or edi, eax
cmove eax, ecx
cmove ebx, edx
mov dword [esp + 4], eax
mov eax, dword [0x10112148]
test eax, eax
jne 0x10056672
push str.StackWalk64
push dword [0x10112138]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10056735
mov dword [0x10112148], eax
push 0
push esi
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 0x100564a0
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x58]
call esi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], eax
cmp edx, dword [esp + 0xc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jne 0x10056604
lea ecx, [esp + 8]
call fcn.1003ee30
jmp 0x10056600
call fcn.1006d910
xor al, 1
mov dword [esp + 0x1c], eax
jmp 0x10056049
call fcn.1006d910
test al, al
jne 0x1005654e
mov byte [0x101120bc], 1
jmp 0x1005654e
push 0x100dd430
push 0x21
push 0xffffffffffffffff
call fcn.100b0f30
add esp, 0xc
jmp 0x1005676e
push 0x100dea74
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
call fcn.100b0df0
add esp, 0xc
jmp 0x1005676e
mov eax, 0x100dd3dc
jmp 0x1005675e
mov eax, 0x100dd3ec
jmp 0x1005675e
mov eax, 0x100dd3fc
push eax
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
call fcn.100b0df0
add esp, 0xc
ud2