Function at 0x10034ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x580
mov esi, ecx
mov dword [esp + 0x4c], edx
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x101610c1], cl
jne 0x10035415
mov eax, dword [0x101610dc]
test eax, 0x7fffffff
jne 0x10035432
mov dword [esp + 0x30], 0
movzx eax, byte [0x101610c2]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [esp + 0x38], eax
call sub.kernel32.dll_GetCurrentThread
mov dword [esp + 0x34], eax
lea edi, [esp + 0x2a0]
push 0x2d0
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
call sub.ntdll.dll_RtlCaptureContext
call sym.std::backtrace_rs::dbghelp::init::ha9c7f686f4955b69
test eax, eax
je 0x100350fe
mov eax, dword [esp + 0x2a8]
mov dword [esi], 0
movsd xmm0, qword [esp + 0x2a0]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
movsd qword [esi + 4], xmm0
mov dword [esi + 0x14], 0
test eax, eax
je 0x100350c8
imul eax, eax, 0x130
push 8
push eax
push dword [esp + 0x28]
call sym.___rust_dealloc
add esp, 0xc
cmp byte [esp + 0x30], 0
jne 0x100350df
mov eax, dword [0x101610dc]
test eax, 0x7fffffff
jne 0x10035622
xor eax, eax
xchg byte [0x101610c1], al
cmp al, 2
jne 0x100350f6
push 0x101610c1
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10161134]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
test eax, eax
mov dword [esp + 0x10], eax
je 0x1003511f
mov ebx, dword [0x10161138]
test ebx, ebx
jne 0x1003516d
jmp 0x1003514e
push str.SymFunctionTableAccess64
push dword [0x10161114]
call sub.kernel32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x10], eax
je 0x1003563b
mov eax, dword [esp + 0x10]
mov dword [0x10161134], eax
mov ebx, dword [0x10161138]
test ebx, ebx
jne 0x1003516d
push str.SymGetModuleBase64
push dword [0x10161114]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x1003563b
mov ebx, eax
mov dword [0x10161138], eax
call sub.kernel32.dll_GetCurrentProcess
mov edi, dword [0x1016113c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
test edi, edi
jne 0x100351a3
push str.StackWalkEx
push dword [0x10161114]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x10035442
mov edi, eax
mov dword [0x1016113c], eax
lea esi, [esp + 0x58]
lea eax, [esp + 0x60]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x354]
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x364]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x160], 0x110
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 3
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x94], 3
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], 3
push 0
push 0
push ebx
push dword [esp + 0x1c]
push 0
lea eax, [esp + 0x2b4]
push eax
push esi
push dword [esp + 0x50]
push dword [esp + 0x58]
push 0x14c
call edi
cmp eax, 1
jne 0x100353b6
mov dword [esp + 0x28], edi
mov ecx, ebx
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x14], 8
mov dword [esp + 0xc], 0
jmp 0x10035328
mov eax, dword [esp + 0x14]
add eax, ebx
push 0x130
lea ecx, [esp + 0x174]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
inc edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
xor eax, dword [esp + 0x4c]
or eax, ecx
mov eax, 1
cmove esi, edi
cmove ecx, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], ecx
push 0
push 0
mov edi, dword [esp + 0x4c]
push edi
push dword [esp + 0x1c]
push 0
lea eax, [esp + 0x2b4]
push eax
lea esi, [esp + 0x70]
push esi
push dword [esp + 0x50]
push dword [esp + 0x58]
push 0x14c
call dword [esp + 0x50]
mov ecx, edi
mov edi, dword [esp + 0x18]
add ebx, 0x130
cmp eax, 1
jne 0x100353be
push 0
push dword [esp + 0x5c]
push dword [esp + 0x50]
call ecx
mov dword [esp + 0x168], eax
mov eax, esi
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
push 0x118
push eax
lea eax, [esp + 0x180]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x174], esi
mov eax, dword [esp + 0x18]
cmp edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x170], eax
mov dword [esp + 0x290], 0
mov dword [esp + 0x294], 4
mov dword [esp + 0x298], 0
jne 0x100352a0
lea ecx, [esp + 0x1c]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hbbd874ffee26b296
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x100352a0
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x3c]
push dword [esp + 0x40]
call sub.kernel32.dll_ReleaseMutex
cmp dword [esp + 0x24], 0
je 0x10035086
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esi], 2
test eax, eax
movsd qword [esi + 4], xmm0
mov dword [esi + 0xc], edx
cmove ecx, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0
cmp byte [esp + 0x30], 0
je 0x100350cf
jmp 0x100350df
push 0x101610c1
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::h8eb43559aa06a149
add esp, 4
mov eax, dword [0x101610dc]
test eax, 0x7fffffff
je 0x10035027
call sym.std::panicking::panic_count::is_zero_slow_path::h2e0bfcd4314df107
xor al, 1
mov dword [esp + 0x30], eax
jmp 0x1003502f
lea esi, [esp + 0x58]
lea eax, [esp + 0x60]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x358]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x168], 0
mov eax, dword [esp + 0x354]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x28], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x364]
mov dword [esp + 0x64], 3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], ecx
xor ecx, ecx
mov dword [esp + 0x94], 3
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], 3
jmp 0x1003554e
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add eax, edi
push 0x130
lea ecx, [esp + 0x174]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
inc ebx
mov edx, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
xor eax, dword [esp + 0x4c]
or eax, ecx
mov eax, dword [esp + 0x2c]
cmove ecx, edx
mov dword [esp + 0xc], ecx
cmove eax, ebx
mov ebx, dword [esp + 0x44]
add edi, 0x130
mov dword [esp + 0x2c], eax
mov ecx, edi
mov eax, dword [0x10161130]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x10035578
push str.StackWalk64
push dword [0x10161114]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x1003563b
mov dword [0x10161130], eax
push 0
push ebx
push dword [esp + 0x18]
push 0
lea ecx, [esp + 0x2b0]
push ecx
push esi
push dword [esp + 0x4c]
push dword [esp + 0x54]
push 0x14c
call eax
cmp eax, 1
jne 0x100353be
push 0
push dword [esp + 0x5c]
push dword [esp + 0x50]
call ebx
mov dword [esp + 0x168], eax
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
push 0x118
push esi
lea eax, [esp + 0x180]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x174], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x170], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x290], 0
mov dword [esp + 0x294], 4
mov dword [esp + 0x298], 0
cmp ebx, dword [esp + 0x1c]
jne 0x100354f8
lea ecx, [esp + 0x1c]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hbbd874ffee26b296
jmp 0x100354f0
call sym.std::panicking::panic_count::is_zero_slow_path::h2e0bfcd4314df107
test al, al
jne 0x100350df
mov byte [0x101610c2], 1
jmp 0x100350df
push 0x1012d71c
call sym.core::option::unwrap_failed::h400a3d34e496ce4a
add esp, 4
ud2