Function at 0x4425e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505770
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.00488380
add esp, 8
mov esi, dword [ebp + 8]
push 0
push 1
push eax
push esi
mov dword [esp + 0x40], 0
call fcn.00443770
or edi, 0xffffffff
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442657
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push 5
push ecx
call fcn.00488380
add esp, 8
push 0
push 1
push eax
push esi
mov dword [esp + 0x40], 1
call fcn.00443770
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x44269a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x25c]
add esi, 0x25c
cmp dword [ecx - 0xc], 0
je 0x44281b
call fcn.00492130
mov ecx, eax
add ecx, 0xcc
mov eax, esi
call fcn.00425450
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x44281b
mov eax, dword [ecx + 0x18]
mov ebx, dword [eax]
mov esi, dword [ecx]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
lea esp, [esp]
mov edi, dword [ecx + 0x18]
mov eax, dword [ecx]
test esi, esi
je 0x4426fd
cmp esi, eax
je 0x442702
call fcn.004e48f7
cmp ebx, edi
je 0x44276f
test esi, esi
jne 0x442767
call fcn.004e48f7
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x44271b
call fcn.004e48f7
mov edx, dword [ebx + 0xc]
cmp dword [edx - 0xc], 0
je 0x442750
test esi, esi
jne 0x44276b
call fcn.004e48f7
cmp ebx, dword [esi + 0x18]
jne 0x442737
call fcn.004e48f7
mov eax, dword [ebp + 8]
push 1
push 1
add ebx, 0x10
push ebx
push eax
call fcn.00443770
mov dword [esp + 0x14], 1
lea esi, [esp + 0x1c]
call fcn.0048d760
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x4426f0
mov eax, dword [esi]
jmp 0x442711
mov esi, dword [esi]
jmp 0x44272d
cmp dword [esp + 0x14], 0
je 0x44281b
lea ecx, [esp + 0x18]
push 0x1f2
push ecx
call fcn.00433510
add esp, 8
mov esi, eax
mov ebx, 2
mov dword [esp + 0x30], ebx
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, esi
lea edi, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.00404930
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
add ecx, 0x12c
push ecx
mov ecx, esi
call fcn.004bd130
lea eax, [esi - 0x10]
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4427f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44281b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4