Function at 0x41f180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cd7d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
push 0x40
call fcn.0045afb5
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x28], 1
mov dword [esi + 0x2c], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x41f22b
lock inc dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x38], eax
push esi
mov dword [esi + 0x3c], 0
call fcn.00421040
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
lea edx, [ebx + 0x34]
mov eax, dword [ebp + 0xc]
push eax
push dword [ebx + 0x3c]
push dword [ebx + 0x30]
push eax
call fcn.004210d0
add esp, 0x10
or edi, 0xffffffff
test al, al
jne 0x41f2a3
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
test esi, esi
je 0x41f2a3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41f2a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41f2a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
mov edi, dword [ebp + 0xc]
test ebx, ebx
jne 0x41f2e8
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp edi, ebx
je 0x41f442
movzx eax, byte [edi]
mov ecx, esi
push eax
push 1
call fcn.00405980
inc edi
cmp edi, ebx
jne 0x41f2d1
jmp 0x41f442
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fc50
test al, al
jne 0x41f421
nop dword [eax]
cmp byte [ebx + 0x28], 0
jne 0x41f486
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jle 0x41f326
lea eax, [ecx + 0xc]
mov edi, eax
jmp 0x41f32c
lea eax, [ebx + 0x10]
lea edi, [ebx + 0x10]
mov eax, dword [eax + 4]
mov edi, dword [edi]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp edi, eax
je 0x41f355
mov ebx, eax
nop dword [eax]
movzx eax, byte [edi]
mov ecx, esi
push eax
push 1
call fcn.00405980
inc edi
cmp edi, ebx
jne 0x41f340
mov ebx, dword [ebp - 0x20]
mov dword [ebp + 8], esi
cmp byte [ebx + 0x28], 0
jne 0x41f486
mov edi, dword [ebp - 0x14]
cmp dword [edi], 0
jne 0x41f385
push 0x25c
push str.C:_vcpkginstalledx86_windowsinclude_boost_regex_v5_basic_regex.hpp
push 0x5fe0a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, dword [edi]
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, edx
cmp byte [edx], 0
je 0x41f39a
inc eax
cmp byte [eax], 0
jne 0x41f394
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
call fcn.0042e0b0
mov eax, dword [ebp - 0x44]
mov dword [ebp + 8], eax
cmp byte [ebx + 0x28], 0
je 0x41f3e1
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x41f486
mov eax, dword [ebx + 4]
mov edi, dword [ebx]
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 2
jle 0x41f3fb
add edi, 0x18
jmp 0x41f3fe
lea edi, [ebx + 0x10]
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x20]
call fcn.0041fa60
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fc50
test al, al
jne 0x41f421
mov ebx, dword [ebp - 0x20]
jmp 0x41f300
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp edi, ebx
je 0x41f442
nop dword [eax + eax]
movzx eax, byte [edi]
mov ecx, esi
push eax
push 1
call fcn.00405980
inc edi
cmp edi, ebx
jne 0x41f430
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp + 8], esi
mov dword [edi], esi
test ebx, ebx
je 0x41f472
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x41f472
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x41f472
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041fed0
int3