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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov byte [ebp - 0xd], 1
test bl, 1
jne 0x4146b2
xor ecx, ecx
xor edi, edi
mov esi, ebx
shr ebx, 1
mov dword [ebp - 0x14], edi
and ebx, 0x1f
cmp ebx, 0x1f
jne 0x414510
mov esi, ecx
mov eax, ecx
lea edi, [ecx + ecx + 1]
imul esi, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp eax, 7
mov ebx, eax
jae 0x414370
test ebx, ebx
je 0x414375
mov eax, esi
nop dword [eax]
pause
dec eax
jne 0x414360
jmp 0x414375
call sym.std::thread::yield_now::hdafb50a92cf21c74
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
test cl, 1
jne 0x414676
inc ebx
add esi, edi
add edi, 2
mov eax, ebx
mov ebx, ecx
shr ebx, 1
and ebx, 0x1f
cmp ebx, 0x1f
je 0x414350
cmp ebx, 0x1e
mov dword [ebp - 0x18], eax
jne 0x414520
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
test edi, edi
jne 0x4144c2
mov eax, dword [0x4d8218]
mov dword [ebp - 0x14], ecx
mov esi, edx
movzx eax, byte [eax]
push 4
push pe_nt_image_headers32
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x4146d6
mov edx, esi
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
test edx, edx
je 0x41452a
mov eax, ecx
add ecx, 2
lock cmpxchg dword [esi + 0x40], ecx
je 0x4146be
mov ecx, dword [ebp - 0x18]
mov eax, 6
cmp ecx, 6
cmovb eax, ecx
test eax, eax
je 0x4144f5
imul eax, eax
nop dword [eax + eax]
pause
dec eax
jne 0x4144f0
inc ecx
mov ebx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
test bl, 1
je 0x414323
jmp 0x414679
mov eax, ecx
mov ecx, esi
cmp ebx, 0x1e
mov dword [ebp - 0x18], eax
je 0x4143a7
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
test edx, edx
jne 0x4144c6
mov eax, dword [0x4d8218]
mov dword [ebp - 0x14], ecx
movzx eax, byte [eax]
push 4
push pe_nt_image_headers32
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x4146e2
mov edx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
xor eax, eax
lock cmpxchg dword [esi + 0x44], edx
jne 0x41464e
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x14]
mov eax, ecx
add ecx, 2
lock cmpxchg dword [esi + 0x40], ecx
jne 0x4144d6
jmp 0x4146be
test edi, edi
je 0x41466c
push 4
push pe_nt_image_headers32
push edi
mov edi, edx
call sym.___rust_dealloc
add esp, 0xc
mov ecx, dword [ebp - 0x18]
jmp 0x4144f6
mov ecx, dword [ebp - 0x18]
mov edi, edx
jmp 0x4144f6
mov edi, dword [ebp - 0x14]
xor edx, edx
xor ebx, ebx
test edi, edi
je 0x414695
push 4
push pe_nt_image_headers32
push edi
mov esi, edx
call sym.___rust_dealloc
mov edx, esi
add esp, 0xc
mov esi, dword [ebp + 8]
test edx, edx
je 0x4146b2
lea edx, [edx + ebx*4 + 4]
lock or dword [edx], 1
sub esi, 0xffffff80
mov ecx, esi
call fcn.00414c90
mov byte [ebp - 0xd], 2
movzx eax, byte [ebp - 0xd]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x1e
jne 0x41467d
test edi, edi
je 0x4146f6
mov dword [esi + 0x44], edi
lock add dword [esi + 0x40], 2
mov dword [edx], edi
add edx, 0x7c
jmp 0x4146a0
push pe_nt_image_headers32
push 4
call dbg.handle_alloc_error
mov dword [ebp - 0x14], edi
push pe_nt_image_headers32
push 4
call dbg.handle_alloc_error
add esp, 8
ud2
push 0x4bb81c
call sym.core::option::unwrap_failed::hef9527eb823b8d2a
jmp 0x414702
cmp dword [ebp - 0x14], 0
mov esi, eax
je 0x41471c
push 4
push pe_nt_image_headers32
push dword [ebp - 0x14]
call sym.___rust_dealloc
add esp, 0xc
push esi
call sym.__Unwind_Resume
nop word cs:[eax + eax]
nop dword [eax]