Function at 0x100c5b10
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 eax, dword [0x1022a070]
mov esi, dword [ebp + 8]
cmp eax, 1
je 0x100c60cf
test eax, eax
jne 0x100c5d4b
lea ecx, [esp + 0x170]
mov edx, 0x101c14b4
push 0x12
call dbg._var_os
add esp, 4
mov edi, dword [esp + 0x170]
cmp edi, 0x80000000
jne 0x100c5b86
mov edx, 0x101c14c6
lea ecx, [esp + 0x170]
push 0xe
call dbg._var_os
add esp, 4
mov esi, dword [esp + 0x170]
cmp esi, 0x80000000
jne 0x100c5bbc
xor ebx, ebx
jmp 0x100c5c05
mov eax, dword [esp + 0x174]
cmp byte [esp + 0x17c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
je 0x100c5c19
mov bl, 1
cmp eax, 1
jne 0x100c5d25
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x30
setne bl
jmp 0x100c5d25
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x178]
cmp byte [esp + 0x17c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
je 0x100c5ca3
cmp dword [esp + 0x14], 1
mov bl, 1
jne 0x100c5bf3
mov eax, dword [esp + 0xc]
cmp byte [eax], 0x30
setne bl
test esi, esi
je 0x100c5c05
mov ecx, dword [esp + 0xc]
mov edx, 1
call sym.___rust_dealloc
mov esi, dword [ebp + 8]
test edi, 0x7fffffff
je 0x100c5d3a
jmp 0x100c5d2c
test eax, eax
je 0x100c5d23
mov esi, dword [esp + 0x10]
lea ecx, [esi + eax]
jmp 0x100c5c4a
add esi, 2
cmp edx, ecx
cmovne edx, esi
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, ecx
mov esi, edx
je 0x100c5ba2
movzx ebx, byte [esi]
lea edx, [esi + 1]
test bl, bl
jns 0x100c5c40
cmp bl, 0xe0
jb 0x100c5c2a
cmp bl, 0xed
jne 0x100c5c82
cmp edx, ecx
je 0x100c5ba2
lea edx, [esi + 2]
cmp edx, ecx
je 0x100c5ba2
cmp byte [esi + 1], 0x9f
ja 0x100c5b5d
add esi, 3
mov edx, esi
jmp 0x100c5c40
add esi, 2
cmp edx, ecx
cmove esi, edx
xor edx, edx
cmp esi, ecx
setne dl
add edx, esi
cmp bl, 0xf0
jb 0x100c5c40
xor ebx, ebx
cmp edx, ecx
setne bl
add edx, ebx
jmp 0x100c5c40
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100c63dc
mov edx, dword [esp + 0xc]
lea ebx, [edx + eax]
jmp 0x100c5cca
add edx, 2
cmp eax, ebx
cmovne eax, edx
cmp eax, ebx
mov edx, eax
je 0x100c5be0
movzx ecx, byte [edx]
lea eax, [edx + 1]
test cl, cl
jns 0x100c5cc0
cmp cl, 0xe0
jb 0x100c5cb8
cmp cl, 0xed
jne 0x100c5d02
cmp eax, ebx
je 0x100c5be0
lea eax, [edx + 2]
cmp eax, ebx
je 0x100c5be0
cmp byte [edx + 1], 0x9f
ja 0x100c641d
add edx, 3
mov eax, edx
jmp 0x100c5cc0
add edx, 2
cmp eax, ebx
cmove edx, eax
xor eax, eax
cmp edx, ebx
setne al
add eax, edx
cmp cl, 0xf0
jb 0x100c5cc0
xor ecx, ecx
cmp eax, ebx
setne cl
add eax, ecx
jmp 0x100c5cc0
mov bl, 1
mov esi, dword [ebp + 8]
test edi, edi
je 0x100c5d3a
mov ecx, dword [esp + 0x10]
mov edx, 1
call sym.___rust_dealloc
movzx eax, bl
inc eax
test bl, bl
mov dword [0x1022a070], eax
je 0x100c60cf
push 0x1022a0bc
call sub.kernel32.dll_AcquireSRWLockExclusive
mov eax, dword [0x1022a134]
test eax, 0x7fffffff
jne 0x100c63cc
mov dword [esp + 0x28], 0
movzx eax, byte [0x1022a0c0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [esp + 0x14], eax
call sub.kernel32.dll_GetCurrentThread
mov dword [esp + 0x2c], 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 [0x1022a0d8]
test ecx, ecx
je 0x100c60da
push 0
push 0xffffffffffffffff
mov dword [esp + 0x2c], ecx
push ecx
call sub.kernel32.dll_WaitForSingleObjectEx
mov eax, dword [0x1022a110]
test eax, eax
jne 0x100c5df7
push str.dbghelp.dll
call sub.kernel32.dll_LoadLibraryA
test eax, eax
mov dword [0x1022a110], eax
je 0x100c61e6
cmp byte [0x1022a0dc], 0
jne 0x100c5e94
mov ecx, dword [0x1022a114]
test ecx, ecx
jne 0x100c5e28
push str.SymGetOptions
push eax
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x100c6457
mov ecx, eax
mov dword [0x1022a114], eax
call ecx
mov esi, eax
mov eax, dword [0x1022a118]
test eax, eax
jne 0x100c5e52
push str.SymSetOptions
push dword [0x1022a110]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x100c645e
mov dword [0x1022a118], eax
or esi, 4
push esi
call eax
mov esi, dword [0x1022a11c]
test esi, esi
jne 0x100c5e81
push str.SymInitializeW
push dword [0x1022a110]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x100c6465
mov esi, eax
mov dword [0x1022a11c], eax
call sub.kernel32.dll_GetCurrentProcess
push 1
push 0
push eax
call esi
mov byte [0x1022a0dc], 1
mov eax, dword [0x1022a124]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x100c5ec6
push str.SymFunctionTableAccess64
push dword [0x1022a110]
call sub.kernel32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0xc], eax
je 0x100c643e
mov eax, dword [esp + 0xc]
mov dword [0x1022a124], eax
mov ebx, dword [0x1022a128]
test ebx, ebx
jne 0x100c5eef
push str.SymGetModuleBase64
push dword [0x1022a110]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x100c643e
mov ebx, eax
mov dword [0x1022a128], eax
call sub.kernel32.dll_GetCurrentProcess
mov esi, dword [0x1022a12c]
mov dword [esp + 0x54], eax
test esi, esi
jne 0x100c5f21
push str.StackWalkEx
push dword [0x1022a110]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x100c6248
mov esi, eax
mov dword [0x1022a12c], 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 ebx
push dword [esp + 0x18]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0x14c
call esi
cmp eax, 1
jne 0x100c61a4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x58], esi
xor esi, esi
mov dword [esp + 0x5c], ebx
jmp 0x100c6074
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x40]
lea ecx, [edi + edi*2]
inc edi
movsd qword [eax + ecx*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov eax, dbg.capture
mov dword [esp + 0x20], edi
xor ebx, eax
mov eax, dword [esp + 0x10]
or ebx, esi
cmove eax, edi
mov dword [esp + 0x10], eax
mov eax, 1
cmove esi, eax
push 0
push 0
mov ebx, dword [esp + 0x64]
push ebx
push dword [esp + 0x18]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0x14c
call dword [esp + pe_nt_image_headers32]
cmp eax, 1
jne 0x100c61a6
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x5c]
call ebx
mov ebx, dword [esp + 0x60]
cmp edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
jne 0x100c5ff0
lea ecx, [esp + 0x18]
mov edx, edi
call dbg.reserve_for_push<std::backtrace::BacktraceFrame, alloc::alloc::Global>
mov edi, dword [esp + 0x20]
jmp 0x100c5ff0
mov dword [esi], 1
jmp 0x100c623e
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 0x100c6135
mov ecx, 0x1f
nop dword [eax]
cmp ecx, 0x20
ja 0x100c6404
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 0x100c6100
movsd xmm1, qword [esp + 0x70]
movzx eax, byte [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x60]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esp + 0x68]
mov byte [esp + 0x50], al
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x38], xmm1
lea eax, [esp + 0x30]
push eax
push 0
push 0
call sub.kernel32.dll_CreateMutexA
test eax, eax
je 0x100c61ef
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1022a0d8], ecx
je 0x100c5dc9
mov esi, eax
push ecx
call sub.kernel32.dll_CloseHandle
mov ecx, esi
jmp 0x100c5dc9
xor esi, esi
push dword [esp + 0x24]
call sub.kernel32.dll_ReleaseMutex
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x20], 0
je 0x100c61f8
test esi, esi
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
cmove ecx, esi
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], eax
movsd qword [esi + 4], xmm0
mov dword [esi], 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0
jmp 0x100c621d
push dword [esp + 0x24]
call sub.kernel32.dll_ReleaseMutex
xor esi, esi
cmp dword [esp + 0x20], 0
jne 0x100c61ba
mov esi, dword [ebp + 8]
cmp dword [esp + 0x18], 0
mov dword [esi], 0
mov dword [esi + 0x14], 0
je 0x100c621d
mov ecx, dword [esp + 0x1c]
mov edx, 4
call sym.___rust_dealloc
cmp byte [esp + 0x28], 0
jne 0x100c6234
mov eax, dword [0x1022a134]
test eax, 0x7fffffff
jne 0x100c63eb
push 0x1022a0bc
call sub.kernel32.dll_ReleaseSRWLockExclusive
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
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 0x100c631b
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x40]
lea ecx, [edx + edx*2]
inc edx
movsd qword [eax + ecx*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov ecx, dbg.capture
mov dword [esp + 0x20], edx
xor edi, ecx
mov ecx, 1
or edi, esi
mov edi, dword [esp + 0x10]
cmove esi, ecx
cmove edi, edx
mov dword [esp + 0x10], edi
mov eax, dword [0x1022a120]
test eax, eax
jne 0x100c6341
push str.StackWalk64
push dword [0x1022a110]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x100c643e
mov dword [0x1022a120], eax
push 0
push ebx
push dword [esp + 0x14]
push 0
lea ecx, [esp + 0x180]
push ecx
lea ecx, [esp + 0x74]
push ecx
push dword [esp + 0x44]
push dword [esp + 0x30]
push 0x14c
call eax
cmp eax, 1
jne 0x100c61a6
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x5c]
call ebx
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], eax
cmp edx, dword [esp + 0x18]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
jne 0x100c62d0
lea ecx, [esp + 0x18]
call dbg.reserve_for_push<std::backtrace::BacktraceFrame, alloc::alloc::Global>
mov edx, dword [esp + 0x20]
jmp 0x100c62d0
call dbg.is_zero_slow_path
xor al, 1
mov dword [esp + 0x28], eax
jmp 0x100c5d6d
mov bl, 1
test esi, esi
jne 0x100c5bf7
jmp 0x100c5c05
call dbg.is_zero_slow_path
test al, al
jne 0x100c6234
mov byte [0x1022a0c0], 1
jmp 0x100c6234
mov edx, 0x21
mov ecx, 0xffffffff
push 0x101c2438
call dbg.panic_bounds_check
add esp, 4
jmp 0x100c647d
test esi, 0x7fffffff
je 0x100c5b82
mov ecx, dword [esp + 0xc]
mov edx, 1
call sym.___rust_dealloc
xor ebx, ebx
jmp 0x100c5c05
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value
push 0x101c32e0
call dbg.panic
add esp, 4
jmp 0x100c647d
mov eax, 0x101c23e4
jmp 0x100c646a
mov eax, 0x101c23f4
jmp 0x100c646a
mov eax, 0x101c2404
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value
push eax
call dbg.panic
add esp, 4
ud2