Function at 0x1001c480
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], 0x1001d510
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov edi, dword [0x100eb094]
test edi, edi
je 0x1001c651
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov eax, dword [0x100eb09c]
test eax, eax
jne 0x1001c4e7
push 0x100c8445
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x100eb09c], eax
je 0x1001c860
xor ecx, ecx
cmp byte [0x100eb098], 0
jne 0x1001c86c
mov ecx, dword [0x100eb0a0]
mov dword [ebp - 0x38], edi
test ecx, ecx
jne 0x1001c51e
push str.SymGetOptions
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c8b3
mov ecx, eax
mov dword [0x100eb0a0], eax
call ecx
mov ecx, eax
mov eax, dword [0x100eb0a4]
test eax, eax
jne 0x1001c54d
mov esi, ecx
push str.SymSetOptions
push dword [0x100eb09c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c8c9
mov ecx, esi
mov dword [0x100eb0a4], eax
or ecx, 4
push ecx
call eax
mov esi, dword [0x100eb0a8]
test esi, esi
jne 0x1001c584
push str.SymInitializeW
push dword [0x100eb09c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c8df
mov esi, eax
mov dword [0x100eb0a8], 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 eax, [ebp - 0x2c]
push 0x400
push 0
push eax
call fcn.1004db00
add esp, 0xc
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
lea eax, [esi + edi*2]
push 0x7fe
push 0
push eax
call fcn.10040f70
add esp, 0xc
mov word [esi + edi*2 + 0x7fe], 0
add edi, 0x400
mov esi, dword [0x100eb0ac]
mov dword [ebp - 0x24], edi
test esi, esi
jne 0x1001c61a
push str.SymGetSearchPathW
push dword [0x100eb09c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c8f5
mov esi, eax
mov dword [0x100eb0ac], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call esi
cmp eax, 1
jne 0x1001c71c
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
js 0x1001c896
cmp dword [ebp - 0x24], eax
jae 0x1001c76c
jmp 0x1001c76f
lea eax, [ebp - 0x5c]
push 0x21
push str.LocalRustBacktraceMutex00000000
push eax
call fcn.1003efd0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
je 0x1001c6b5
mov ecx, 0x1f
nop word cs:[eax + eax]
nop dword [eax]
cmp ecx, 0x20
ja 0x1001c881
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 0x1001c680
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 0x1001c859
mov edi, eax
xor eax, eax
lock cmpxchg dword [0x100eb094], edi
je 0x1001c4bb
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
jmp 0x1001c4bb
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x2c], 0
jne 0x1001c739
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x1d], 1
push eax
call fcn.10026950
add esp, 4
mov eax, dword [ebp - 0x28]
mov word [eax], 0x2e
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x2c], 1
jne 0x1001c75e
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x1d], 1
push eax
call fcn.10026950
add esp, 4
mov eax, dword [ebp - 0x28]
mov word [eax + 2], 0x3b
mov eax, 2
mov dword [ebp - 0x24], eax
mov esi, dword [0x100eb0b4]
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
test esi, esi
mov dword [ebp - 0x78], eax
movsd qword [ebp - 0x80], xmm0
jne 0x1001c7a9
push str.EnumerateLoadedModulesW64
push dword [0x100eb09c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c908
mov esi, eax
mov dword [0x100eb0b4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x80]
push ecx
push 0x1001ca30
push eax
call esi
movsd xmm0, qword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
movsd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], ecx
cmp ecx, dword [ebp - 0x5c]
jne 0x1001c7e9
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x10], 4
push eax
mov dword [ebp - 0x30], ecx
call fcn.10026950
mov ecx, dword [ebp - 0x30]
add esp, 4
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x38]
mov word [eax + ecx*2], 0
mov esi, dword [0x100eb0b0]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
test esi, esi
mov dword [ebp - 0x30], eax
jne 0x1001c82e
mov dword [ebp - 0x34], ebx
push str.SymSetSearchPathW
push dword [0x100eb09c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c922
mov ebx, dword [ebp - 0x34]
mov esi, eax
mov dword [0x100eb0b0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [ebp - 0x30]
push eax
call esi
test ebx, ebx
mov byte [0x100eb098], 1
je 0x1001c855
add ebx, ebx
push 2
push ebx
push dword [ebp - 0x30]
call fcn.1000c750
add esp, 0xc
xor ecx, ecx
jmp 0x1001c86c
mov ecx, 1
jmp 0x1001c86c
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, 1
mov eax, dword [ebp - 0x18]
mov edx, edi
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0xffffffff
push 0x100c8384
push 0x21
push 0xffffffffffffffff
call fcn.1004e170
mov byte [ebp - 0x1d], 1
push 0x100c8330
push 0x1a
push str.assertion_failed:_len___0
call fcn.1004e0d0
add esp, 0xc
jmp 0x1001c936
mov dword [ebp - 0x10], 0
push 0x100c82d4
call fcn.1004dfc0
add esp, 4
jmp 0x1001c936
mov dword [ebp - 0x10], 0
push 0x100c82e4
call fcn.1004dfc0
add esp, 4
jmp 0x1001c936
mov dword [ebp - 0x10], 0
push 0x100c82f4
call fcn.1004dfc0
add esp, 4
jmp 0x1001c936
mov byte [ebp - 0x1d], 1
push 0x100c8304
call fcn.1004dfc0
add esp, 4
jmp 0x1001c936
mov byte [ebp - 0x1e], 1
mov dword [ebp - 0x10], 2
push 0x100c8340
call fcn.1004dfc0
add esp, 4
jmp 0x1001c936
mov dword [ebp - 0x10], 3
push 0x100c8350
call fcn.1004dfc0
add esp, 4
ud2