Function at 0x101a0030
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x101ad2d0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov edi, dword [0x10284bb8]
test edi, edi
je 0x101a01fd
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov eax, dword [0x10284be4]
test eax, eax
jne 0x101a0097
push str.dbghelp.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x10284be4], eax
je 0x101a02c2
xor ebx, ebx
cmp byte [0x10284bbc], 0
jne 0x101a0406
mov ecx, dword [0x10284be8]
test ecx, ecx
jne 0x101a00cb
push str.SymGetOptions
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x101a03ff
mov ecx, eax
mov dword [0x10284be8], eax
call ecx
mov ecx, eax
mov eax, dword [0x10284bec]
test eax, eax
jne 0x101a00fa
mov esi, ecx
push str.SymSetOptions
push dword [0x10284be4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x101a03ff
mov ecx, esi
mov dword [0x10284bec], eax
or ecx, 4
push ecx
call eax
mov esi, dword [0x10284bf0]
test esi, esi
jne 0x101a0131
push str.SymInitializeW
push dword [0x10284be4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x101a03ff
mov esi, eax
mov dword [0x10284bf0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], edi
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push 1
push 0
push eax
call esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
xor edx, edx
push 2
push 2
push 0x400
call fcn.101cb2e0
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
lea eax, [edi + ebx*2]
push 0x7fe
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [edi + ebx*2 + 0x7fe], 0
add ebx, 0x400
mov esi, dword [0x10284bf4]
mov dword [ebp - 0x24], ebx
test esi, esi
jne 0x101a01cd
push str.SymGetSearchPathW
push dword [0x10284be4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x101a041b
mov esi, eax
mov dword [0x10284bf4], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push ebx
push edi
push eax
call esi
cmp eax, 1
jne 0x101a02d3
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
js 0x101a044b
cmp ebx, eax
jae 0x101a0331
jmp 0x101a0334
lea eax, [ebp - 0x58]
push 0x21
push str.LocalRustBacktraceMutex00000000
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
test eax, eax
je 0x101a0255
mov ecx, 0x1f
nop
cmp ecx, 0x20
ja 0x101a0436
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 [ebp + ecx - 0x58], bl
dec ecx
cmp eax, 0x10
mov eax, esi
jae 0x101a0220
movsd xmm1, qword [ebp - 0x48]
movzx eax, byte [ebp - 0x38]
movsd xmm0, qword [ebp - 0x40]
movsd xmm2, qword [ebp - 0x58]
movsd qword [ebp - 0x6c], xmm1
movsd xmm1, qword [ebp - 0x50]
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x7c]
movsd qword [ebp - 0x64], xmm0
movsd qword [ebp - 0x7c], xmm2
movsd qword [ebp - 0x74], xmm1
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
je 0x101a02b8
mov edi, eax
xor eax, eax
lock cmpxchg dword [0x10284bb8], edi
je 0x101a006b
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, esi
jmp 0x101a006b
mov ebx, 1
jmp 0x101a0406
push edi
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov ebx, 1
jmp 0x101a0406
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x101a02f4
cmp eax, 1
mov word [edi], 0x2e
mov dword [ebp - 0x24], 1
je 0x101a0317
jmp 0x101a0326
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x1d], 1
call fcn.10194da0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
cmp eax, 1
mov word [edi], 0x2e
mov dword [ebp - 0x24], 1
jne 0x101a0326
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x1d], 1
call fcn.10194da0
mov edi, dword [ebp - 0x28]
mov eax, 2
mov word [edi + 2], 0x3b
mov dword [ebp - 0x24], eax
mov esi, dword [0x10284bfc]
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
test esi, esi
mov dword [ebp - 0x74], eax
movsd qword [ebp - 0x7c], xmm0
jne 0x101a036e
push str.EnumerateLoadedModulesW64
push dword [0x10284be4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x101a042a
mov esi, eax
mov dword [0x10284bfc], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x7c]
push ecx
push 0x101a04e0
push eax
call esi
movsd xmm0, qword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
movsd qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], eax
mov edi, dword [ebp - 0x58]
cmp eax, edi
jne 0x101a03af
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 1
call fcn.10194da0
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x54]
mov word [ebx + eax*2], 0
mov esi, dword [0x10284bf8]
test esi, esi
jne 0x101a03de
push str.SymSetSearchPathW
push dword [0x10284be4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x101a03e8
mov esi, eax
mov dword [0x10284bf8], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push ebx
push eax
call esi
test edi, edi
je 0x101a03fa
add edi, edi
push 2
push edi
push ebx
call fcn.10013460
add esp, 0xc
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov byte [0x10284bbc], 1
mov eax, dword [ebp - 0x18]
mov edx, edi
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x101a03fa
add eax, eax
push 2
push eax
push edi
jmp 0x101a03f2
mov edi, dword [ebp - 0x7c]
test edi, edi
je 0x101a03fa
mov ebx, dword [ebp - 0x78]
jmp 0x101a03ec
mov dword [ebp - 0x10], 0xffffffff
push 0x1024a520
push 0x21
push 0xffffffffffffffff
call fcn.101cc694
mov byte [ebp - 0x1d], 1
push 0x1024a54c
push 0x1a
push 0x1024a530
call fcn.101cc600
add esp, 0xc
ud2