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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b389
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6f9540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0
mov byte [edi + 4], 0
mov dword [edi + 8], 0x6e61b8
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0x6e61b8
push dword [ebp + 0xc]
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
call fcn.00402c80
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.0044c8a0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 4
call fcn.0044c8a0
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 eax, dword [eax]
mov byte [ebp - 4], 5
cmp dword [eax + 4], 0
jne 0x4236d8
push 1
push 0x593e6c
call fcn.004092c0
mov dword [ebp + 8], eax
add esp, 8
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
mov ebx, 9
jmp 0x4236f8
mov dword [ebp + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4236e9
cmp ecx, 0xffffffff
je 0x4236e9
lock inc dword [eax]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 7
mov ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 0x10], ebx
call fcn.004252d0
or esi, 0xffffffff
test bl, 2
je 0x423741
mov eax, dword [ebp + 0xc]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x42372f
cmp eax, esi
je 0x42373e
mov eax, dword [ebp + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x42373e
push 4
push 2
push dword [ebp + 0xc]
call fcn.00403d20
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 5
test bl, 1
je 0x42377b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x42376c
cmp eax, 0xffffffff
je 0x42377b
mov eax, dword [ebp + 8]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x42377b
push 4
push 2
push dword [ebp + 8]
call fcn.00403d20
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
cmp esi, eax
je 0x4237b4
sub esi, eax
xor edx, edx
test esi, esi
jle 0x4237b4
lea ecx, [ecx + eax*4]
add ecx, 0x10
nop word [eax + eax]
mov eax, dword [ecx]
cmp dword [eax + 4], 0
jne 0x423863
inc edx
add ecx, 4
cmp edx, esi
jl 0x4237a0
push 1
push 0x593e70
call fcn.004092c0
add esp, 8
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0x6e61b8
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0xc]
call fcn.00406720
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x10]
call fcn.00423930
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x42380e
or edx, 0xffffffff
cmp eax, edx
je 0x423839
mov eax, dword [ebp + 0xc]
mov ecx, edx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x423839
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.004028a0
push esi
call fcn.0040eed0
add esp, 4
or edx, 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x423856
cmp ecx, 0xffffffff
je 0x423863
lock xadd dword [eax], edx
dec edx
setne cl
test cl, cl
jne 0x423863
push 4
push 2
push eax
call fcn.00403d20
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