Function at 0x442000
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x44214c
prefetcht0 byte [edi]
mov eax, edi
and eax, 0xffe00000
mov esi, dword [eax + 0x1000]
mov ecx, edi
shr ecx, 9
and ecx, 0xfe0
lea edx, [eax + ecx]
add edx, 0x1000
movzx eax, byte [eax + ecx + 0x101e]
and eax, 0x3f
shl eax, 5
mov ebx, edi
sub ebx, dword [esi + 0xc]
sub edx, eax
mov dword [ebp - 0x10], edx
prefetcht0 byte [edx]
cmp byte [esi], 2
je 0x442284
cmp byte [esi + 6], 0
je 0x4420af
test ebx, 0xfff
mov dword [ebp - 0x14], ebx
je 0x442154
add ebx, 0xfffffffc
mov eax, dword [ebx]
cmp eax, 1
jne 0x44222e
mov eax, dword [ebx]
nop word cs:[eax + eax]
mov ecx, eax
and ecx, 0xfffffffe
lock cmpxchg dword [ebx], ecx
jne 0x442090
test al, 1
je 0x442362
cmp eax, 1
mov ebx, dword [ebp - 0x14]
jne 0x442212
cmp byte [esi + 2], 0
je 0x44217c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
lea ecx, [esi + 0x48]
lea edx, [esi + 0x8c8]
cmp edx, eax
setae dl
cmp ecx, eax
ja 0x44227d
test dl, dl
je 0x44217c
mov edx, dword [0x4c1b28]
mov edi, dword fs:[0x2c]
mov edx, dword [edi + edx*4]
mov edi, dword [edx + 0x90]
cmp edi, 2
jb 0x44217c
sub eax, ecx
sar eax, 5
add dword [edi + 0x30], 1
adc dword [edi + 0x34], 0
movzx ecx, word [0x4bfcc0]
cmp eax, ecx
ja 0x442174
mov ecx, dword [edi + eax*8 + 0x58]
bswap ecx
mov dword [ebx], ecx
mov dword [edi + eax*8 + 0x58], ebx
inc byte [edi + eax*8 + 0x5c]
movzx ecx, word [edi + eax*8 + 0x5e]
add dword [edi], ecx
add dword [edi + 0x38], 1
adc dword [edi + 0x3c], 0
mov cl, byte [edi + eax*8 + 0x5d]
cmp byte [edi + eax*8 + 0x5c], cl
ja 0x4421f9
mov al, byte [edi + 4]
test al, 1
jne 0x442263
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
and eax, 0xffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0xff8
lea ebx, [ecx + eax]
add ebx, 0x2000
jmp 0x442074
add dword [edi + 0x40], 1
adc dword [edi + 0x44], 0
mov dword [ebx], 0
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x442271
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xc]
sub dword [esi + 0x8fc], eax
mov eax, dword [ecx]
cmp eax, ebx
je 0x442367
bswap eax
mov dword [ebx], eax
mov dword [ecx], ebx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x44236a
lea esi, [eax + 0x3ffe]
and esi, 0x3ffe
mov edx, eax
and edx, 0xefffc001
or edx, esi
mov dword [ecx + 0xc], edx
test al, 1
jne 0x44225a
test esi, esi
je 0x44225a
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x44214c
lea eax, [edi + eax*8]
add eax, 0x58
movzx edx, cl
shr edx, 1
mov ecx, edi
push edx
push eax
call fcn.00438c70
jmp 0x442141
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
lock add dword [esi + 0x918], eax
lock inc dword [esi + 0x91c]
jmp 0x44214c
mov eax, dword [ebp - 0x10]
test byte [eax + 0xf], 8
jne 0x44236d
mov eax, dword [eax + 8]
add eax, 0xc
mov eax, dword [eax]
sub eax, dword [esi + 8]
push eax
push 0xef
push edi
call fcn.00456480
add esp, 0xc
jmp 0x44207f
push 1
call fcn.004360f0
jmp 0x4421ed
mov ecx, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00439000
mov ecx, edi
call fcn.004385b0
jmp 0x442194
xor edx, edx
jmp 0x4420d5
mov dword [ebp - 0x14], ebx
mov al, byte [0x4bfc8d]
test al, 1
jne 0x442375
mov ebx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 0x15
cmp word [eax + eax + 0x4bec70], 0xfffe
jne 0x44205c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
test byte [ecx + 0xf], 8
jne 0x44237f
lea ecx, [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax + 0xc]
cmp byte [0x4bfc8f], 1
jne 0x4422e1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [esi + 8]
push eax
push 0
push edi
call fcn.00456480
add esp, 0xc
mov ecx, dword [0x4bfc78]
and ecx, 1
mov eax, 2
sub eax, ecx
mov edx, dword [ebp - 0x14]
mov ecx, edx
shr cl, 2
and cl, 0x1e
shl eax, cl
mov ecx, edx
and ecx, 0xffe00000
not eax
shr edx, 5
and edx, 0xfffc
lock and dword [edx + ecx + 0x4000], eax
mov eax, ebx
lock xadd dword [0x4bfc70], eax
add eax, ebx
mov ecx, dword [0x4bfc74]
cmp eax, ecx
jbe 0x44214c
mov ecx, dword [0x4bfc88]
call fcn.0047f6d0
test al, al
je 0x44214c
mov al, byte [0x4bfc8c]
test al, al
jne 0x44214c
push 1
call fcn.0047d720
add esp, 0xc
jmp 0x44214f
call fcn.0047d680
int3
int3
add eax, 0x20
jmp 0x442241
call fcn.0047d740
jmp 0x442294
add dword [ebp - 0x10], 0x20
jmp 0x4422c1