Function at 0x446100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5482c4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0
mov byte [edi + 4], 0
mov dword [edi + 8], 0x72a82c
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0x72a82c
push dword [ebp + 0xc]
lea eax, [edi + 0x10]
mov byte [ebp - 4], 1
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00412020
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 3
call fcn.00453d20
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 4
call fcn.00453d20
mov eax, dword [ebp + 8]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0xffffffff
mov ecx, dword [eax]
mov byte [ebp - 4], 5
cmp dword [ecx + 4], 0
jne 0x4461dd
push 1
push 0x770ddc
call fcn.00406bb0
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
mov ebx, 5
jmp 0x446203
mov dword [ebp + 8], ecx
mov eax, dword [ecx]
test eax, eax
je 0x4461f4
cmp eax, 0xffffffff
je 0x4461f4
mov eax, 1
lock xadd dword [ecx], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 7
mov ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 0x10], ebx
call fcn.00447dd0
or esi, 0xffffffff
test bl, 2
je 0x44624e
mov eax, dword [ebp + 8]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x44623c
cmp eax, esi
je 0x44624b
mov eax, dword [ebp + 8]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x44624b
push 4
push 2
push dword [ebp + 8]
call fcn.004016c0
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 5
test bl, 1
je 0x44628a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x44627b
cmp eax, 0xffffffff
je 0x44628a
mov eax, dword [ebp - 0x14]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x44628a
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
cmp edx, ebx
je 0x4462c4
sub edx, ebx
xor ecx, ecx
test edx, edx
jle 0x4462c4
mov esi, dword [ebp - 0x1c]
lea eax, [ebx + ecx]
mov edi, dword [esi]
mov esi, 0xffffffff
mov eax, dword [edi + eax*4 + 0x10]
mov edi, dword [ebp - 0x20]
cmp dword [eax + 4], 0
jne 0x446375
inc ecx
cmp ecx, edx
jl 0x4462a1
push 1
push 0x770dd0
call fcn.00406bb0
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xc], 0x72a82c
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0xc]
call fcn.00403cd0
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x10]
call fcn.00446490
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x44631e
cmp eax, 0xffffffff
je 0x446349
mov eax, dword [ebp + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x446349
mov esi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov eax, dword [esi + 0xc]
add eax, 4
lea eax, [esi + eax*4]
push eax
mov eax, dword [esi + 8]
add eax, 4
lea eax, [esi + eax*4]
push eax
call fcn.00407b50
push esi
call fcn.0041fb10
add esp, 4
or esi, 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x446368
cmp ecx, 0xffffffff
je 0x446375
lock xadd dword [eax], esi
cmp esi, 1
setne cl
test cl, cl
jne 0x446375
push 4
push 2
push eax
call fcn.004016c0
add esp, 0xc
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 0x10