Function at 0x4d1030
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x504030
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov edi, dword [0x5c2f88]
test edi, edi
je 0x4d11fa
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov eax, dword [0x5c2fb8]
test eax, eax
jne 0x4d1097
push 0x57f7e8
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x5c2fb8], eax
je 0x4d1401
cmp byte [0x5c2f8c], 0
jne 0x4d13e4
mov ecx, dword [0x5c2fbc]
mov dword [ebp - 0x34], edi
test ecx, ecx
jne 0x4d10cc
push str.SymGetOptions
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4d1447
mov ecx, eax
mov dword [0x5c2fbc], eax
call ecx
mov ecx, eax
mov eax, dword [0x5c2fc0]
test eax, eax
jne 0x4d10fb
mov esi, ecx
push str.SymSetOptions
push dword [0x5c2fb8]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4d145a
mov ecx, esi
mov dword [0x5c2fc0], eax
or ecx, 4
push ecx
call eax
mov esi, dword [0x5c2fc4]
test esi, esi
jne 0x4d1132
push str.SymInitializeW
push dword [0x5c2fb8]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4d146d
mov esi, eax
mov dword [0x5c2fc4], eax
mov dword [ebp - 0x10], 1
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], 1
lea ecx, [ebp - 0x2c]
xor edx, edx
push 0x400
call fcn.00528900
add esp, 4
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 [0x5c2fc8]
mov dword [ebp - 0x24], ebx
test esi, esi
jne 0x4d11c7
push str.SymGetSearchPathW
push dword [0x5c2fb8]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4d1480
mov esi, eax
mov dword [0x5c2fc8], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push ebx
push edi
push eax
call esi
cmp eax, 1
jne 0x4d12bc
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
js 0x4d142a
mov edi, dword [ebp - 0x34]
cmp ebx, eax
jae 0x4d130a
jmp 0x4d130d
lea eax, [ebp - 0x5c]
push 0x21
push str.LocalRustBacktraceMutex00000000
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call sub.kernel32.dll_GetCurrentProcessId
test eax, eax
je 0x4d1255
mov ecx, 0x1f
nop dword [eax + eax]
cmp ecx, 0x20
ja 0x4d140f
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 - 0x5c], bl
dec ecx
cmp eax, 0x10
mov eax, esi
jae 0x4d1220
movsd xmm1, qword [ebp - 0x4c]
movzx eax, byte [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x44]
movsd xmm2, qword [ebp - 0x5c]
movsd qword [ebp - 0x70], xmm1
movsd xmm1, qword [ebp - 0x54]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x80]
movsd qword [ebp - 0x68], xmm0
movsd qword [ebp - 0x80], xmm2
movsd qword [ebp - 0x78], xmm1
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
je 0x4d13fa
mov edi, eax
xor eax, eax
lock cmpxchg dword [0x5c2f88], edi
je 0x4d106b
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, esi
jmp 0x4d106b
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4d12dc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x1d], 1
call fcn.004d15b0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
cmp eax, 1
mov word [edi], 0x2e
mov dword [ebp - 0x24], 1
jne 0x4d12fc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x1d], 1
call fcn.004d15b0
mov edi, dword [ebp - 0x28]
mov word [edi + 2], 0x3b
mov edi, dword [ebp - 0x34]
mov eax, 2
mov dword [ebp - 0x24], eax
mov esi, dword [0x5c2fd0]
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
test esi, esi
mov dword [ebp - 0x78], eax
movsd qword [ebp - 0x80], xmm0
jne 0x4d1347
push str.EnumerateLoadedModulesW64
push dword [0x5c2fb8]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4d1490
mov esi, eax
mov dword [0x5c2fd0], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x80]
push ecx
push 0x4d1640
push eax
call esi
movsd xmm0, qword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
movsd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
jne 0x4d138b
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], 4
call fcn.004d15b0
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov word [ebx + ecx*2], 0
mov esi, dword [0x5c2fcc]
test esi, esi
jne 0x4d13c1
push str.SymSetSearchPathW
push dword [0x5c2fb8]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4d14a7
mov esi, eax
mov dword [0x5c2fcc], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push ebx
push eax
call esi
cmp dword [ebp - 0x30], 0
mov byte [0x5c2f8c], 1
je 0x4d13e4
mov ecx, ebx
mov edx, 2
call fcn.004332a0
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, edi
mov dword fs:[0], ecx
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 1
jmp 0x4d13e6
push edi
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov eax, 1
jmp 0x4d13e6
mov dword [ebp - 0x10], 0xffffffff
mov ecx, 0xffffffff
mov edx, 0x21
push 0x57e928
call fcn.00526920
mov byte [ebp - 0x1d], 1
mov ecx, str.assertion_failed:_len___0
mov edx, 0x1a
push 0x57e8d4
call fcn.00526990
add esp, 4
jmp 0x4d14bb
mov ecx, 0x57e878
mov dword [ebp - 0x10], 0
call fcn.00526c90
jmp 0x4d14bb
mov ecx, 0x57e888
mov dword [ebp - 0x10], 0
call fcn.00526c90
jmp 0x4d14bb
mov ecx, 0x57e898
mov dword [ebp - 0x10], 0
call fcn.00526c90
jmp 0x4d14bb
mov ecx, 0x57e8a8
mov byte [ebp - 0x1d], 1
call fcn.00526c90
jmp 0x4d14bb
mov ecx, 0x57e8e4
mov byte [ebp - 0x1e], 1
mov dword [ebp - 0x10], 2
call fcn.00526c90
jmp 0x4d14bb
mov ecx, 0x57e8f4
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x10], 3
call fcn.00526c90
ud2