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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b209
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
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], 0x6e8124
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0x6e8124
push dword [ebp + 0xc]
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
call fcn.0040ee80
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.0044c670
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 4
call fcn.0044c670
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 0x423678
push 1
push 0x59405c
call fcn.00408c30
mov dword [ebp + 8], eax
add esp, 8
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
mov ebx, 9
jmp 0x423698
mov dword [ebp + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x423689
cmp ecx, 0xffffffff
je 0x423689
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.004252f0
or esi, 0xffffffff
test bl, 2
je 0x4236e1
mov eax, dword [ebp + 0xc]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x4236cf
cmp eax, esi
je 0x4236de
mov eax, dword [ebp + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4236de
push 4
push 2
push dword [ebp + 0xc]
call fcn.00403690
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 5
test bl, 1
je 0x42371b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x42370c
cmp eax, 0xffffffff
je 0x42371b
mov eax, dword [ebp + 8]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x42371b
push 4
push 2
push dword [ebp + 8]
call fcn.00403690
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
cmp esi, eax
je 0x423754
sub esi, eax
xor edx, edx
test esi, esi
jle 0x423754
lea ecx, [ecx + eax*4]
add ecx, 0x10
nop word [eax + eax]
mov eax, dword [ecx]
cmp dword [eax + 4], 0
jne 0x423803
inc edx
add ecx, 4
cmp edx, esi
jl 0x423740
push 1
push 0x594060
call fcn.00408c30
add esp, 8
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0x6e8124
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0xc]
call fcn.00406090
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x10]
call fcn.00423950
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x4237ae
or edx, 0xffffffff
cmp eax, edx
je 0x4237d9
mov eax, dword [ebp + 0xc]
mov ecx, edx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4237d9
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.0040e830
add esp, 4
or edx, 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x4237f6
cmp ecx, 0xffffffff
je 0x423803
lock xadd dword [eax], edx
dec edx
setne cl
test cl, cl
jne 0x423803
push 4
push 2
push eax
call fcn.00403690
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