Function at 0x46e850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de735
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x30], edi
lea ebx, [edi + 0x6c]
mov dword [ebp - 0x34], ebx
call fcn.00428230
mov dword [ebx], eax
add eax, 0xffc
mov dword [edi + 0x70], eax
mov dword [eax], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
mov eax, dword [edi + 0xc]
mov dword [edi + 0x74], 0x8000
mov dword [edi + 0x14], eax
or dword [edi + 0x30], 0x8000
test dword [edi + 0x30], 0x40000
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x34], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
je 0x46e8e8
mov dword [ebp - 0x20], 1
jmp 0x46e902
mov eax, dword [ecx]
mov eax, dword [eax]
test eax, eax
je 0x46e8f8
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x20], eax
jmp 0x46e8ff
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 4]
mov eax, 0x2aaaaaab
mov esi, dword [edx]
mov dword [ebp - 0x24], ecx
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 1
mov eax, edx
mov dword [ebp - 0x40], ebx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x3c], ebx
lea edx, [ecx + 2]
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x28], eax
cmp eax, edx
jbe 0x46e969
add ecx, 2
lea eax, [ecx + ecx*2]
lea ecx, [esi + eax*4]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x46e94d
mov eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
jmp 0x46e950
mov ecx, dword [ebp - 0x18]
cmp esi, eax
je 0x46e964
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
add esi, 0xc
cmp esi, eax
jne 0x46e954
mov edx, dword [ebp - 0x1c]
jmp 0x46e9b1
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp esi, eax
je 0x46e986
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
add esi, 0xc
cmp esi, eax
jne 0x46e973
lea edx, [edi + 0x24]
mov eax, dword [ebp - 0x28]
lea esi, [ecx + 2]
cmp esi, eax
je 0x46e9ae
sub ecx, eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
add ecx, 2
push edx
push ecx
lea ecx, [ebp - 0x28]
push dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00433880
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x2c]
mov dword [eax + 0xc], esi
mov dword [ecx + 0x24], 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov esi, dword [edx]
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46e9d9
lock inc dword [ecx + 4]
mov ecx, dword [esi]
mov esi, dword [esi + 4]
test esi, esi
je 0x46e9e6
lock inc dword [esi + 4]
mov dword [eax + 0x1c], ecx
or ebx, 0xffffffff
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [eax + 0x20], esi
test ecx, ecx
je 0x46ea17
mov eax, ebx
lock xadd dword [ecx + 4], eax
jne 0x46ea17
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x46ea17
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x46ea39
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46ea39
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x46ea39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test dword [edi + 0x30], 0x20000
je 0x46ea4c
push dword [edi + 8]
mov ecx, dword [edi]
call fcn.0043d300
mov eax, dword [edi + 0x30]
and eax, 0xa0000
cmp eax, 0xa0000
je 0x46ebc6
mov eax, dword [edi + 0x24]
push dword [edi + 0x14]
mov ecx, dword [edi + 8]
mov word [edi + 0x3d], 0
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov dword [edi + 0x2c], eax
call fcn.004761a0
mov eax, dword [edi + 0x14]
mov ecx, edi
mov dword [edi + 0x18], eax
call fcn.00479750
cmp byte [edi + 0x3e], 0
jne 0x46eb1d
cmp byte [edi + 0x3d], 0
je 0x46eaee
test dword [edi + 0x30], 0x2000
je 0x46eaee
mov esi, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov byte [edi + 0x3e], 1
mov eax, dword [esi]
mov dword [eax + 0x1c], edx
mov eax, dword [esi]
mov byte [eax + 0x20], 0
mov eax, dword [esi]
mov dword [eax], edx
mov ecx, dword [esi]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
setne al
mov byte [ecx + 8], al
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov byte [esi + 0x18], 0
mov byte [esi + 0x28], 0
test dword [edi + 0x30], 0x20000
mov eax, dword [edi + 0x10]
mov dword [edi + 0x14], eax
je 0x46eaee
push dword [edi + 8]
mov ecx, dword [edi]
call fcn.00477170
cmp byte [edi + 0x3e], 0
jne 0x46eb1d
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], eax
mov ecx, dword [edi + 0x6c]
call fcn.00428280
mov dword [edi + 0x6c], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi]
mov al, byte [esi + 0x28]
mov byte [ebp - 0x11], al
test al, al
je 0x46eb34
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x46ebdf
mov eax, dword [esi + 4]
mov ecx, eax
mov ebx, dword [esi]
sub ecx, ebx
mov dword [ebp - 0x2c], eax
mov eax, 0x2aaaaaab
imul ecx
lea eax, [ebx + 0x1c]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
jg 0x46eb5b
lea eax, [esi + 0x14]
mov eax, dword [eax]
cmp eax, dword [edi + 0x10]
jne 0x46eb83
cmp byte [ebp - 0x11], 0
je 0x46eb6d
cmp ebx, dword [ebp - 0x2c]
je 0x46ebe4
lea eax, [ebx + 0x18]
cmp ecx, 2
jg 0x46eb78
lea eax, [esi + 0x10]
mov eax, dword [eax]
cmp eax, dword [edi + 0xc]
jne 0x46eb83
mov bl, 1
jmp 0x46eb85
xor bl, bl
mov ecx, dword [edi + 0x6c]
call fcn.00428280
mov dword [edi + 0x6c], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Usage_Error:_Cant_mix_regular_expression_captures_with_POSIX_matching_rules
lea ecx, [ebp - 0x40]
call fcn.004275a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042ac90
call fcn.0042a610
call fcn.0042a610
int3