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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578509
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x732480]
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], 0x71f0d0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0x71f0d0
push dword [ebp + 0xc]
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
call fcn.00405f70
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.004804d0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 4
call fcn.004804d0
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 0x437898
push 1
push 0x5c39b8
call fcn.0042a840
mov dword [ebp + 8], eax
add esp, 8
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
mov ebx, 9
jmp 0x4378b8
mov dword [ebp + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4378a9
cmp ecx, 0xffffffff
je 0x4378a9
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.00439d00
or esi, 0xffffffff
test bl, 2
je 0x437901
mov eax, dword [ebp + 0xc]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x4378ef
cmp eax, esi
je 0x4378fe
mov eax, dword [ebp + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4378fe
push 4
push 2
push dword [ebp + 0xc]
call fcn.00425140
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 5
test bl, 1
je 0x43793b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x43792c
cmp eax, 0xffffffff
je 0x43793b
mov eax, dword [ebp + 8]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x43793b
push 4
push 2
push dword [ebp + 8]
call fcn.00425140
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
cmp esi, eax
je 0x437974
sub esi, eax
xor edx, edx
test esi, esi
jle 0x437974
lea ecx, [ecx + eax*4]
add ecx, 0x10
nop word [eax + eax]
mov eax, dword [ecx]
cmp dword [eax + 4], 0
jne 0x437a23
inc edx
add ecx, 4
cmp edx, esi
jl 0x437960
push 1
push 0x5c39bc
call fcn.0042a840
add esp, 8
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0x71f0d0
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0xc]
call fcn.00402cb0
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x10]
call fcn.00402970
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x4379ce
or edx, 0xffffffff
cmp eax, edx
je 0x4379f9
mov eax, dword [ebp + 0xc]
mov ecx, edx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4379f9
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.004037e0
push esi
call fcn.00430ae0
add esp, 4
or edx, 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x437a16
cmp ecx, 0xffffffff
je 0x437a23
lock xadd dword [eax], edx
dec edx
setne cl
test cl, cl
jne 0x437a23
push 4
push 2
push eax
call fcn.00425140
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