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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49acc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0
lea eax, [edi + 0x70]
mov dword [edi], 0x4bd2bc
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x4bd2b0
mov dword [ebp - 4], 0
mov dword [eax], 0x4bd2b4
mov dword [ebp - 4], 1
lea ebx, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x4bd2b8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
push ecx
push ebx
call fcn.00422f60
mov dword [ebp - 4], 4
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x4bd2c4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ebx
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov dword [ebx], 0x4bd2c8
call fcn.004765fa
push 1
mov esi, eax
call fcn.0047517d
mov dword [esi + 4], eax
add esp, 8
lea eax, [edi + 0x10]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x40], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x10], 0x4bd304
mov byte [ebx + 0x58], 0
mov byte [ebx + 0x4e], 0
mov ebx, dword [ebp - 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], esi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], ecx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x40], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov esi, dword [ebp - 0x10]
mov dword [ecx], 0
mov ecx, dword [0x4dc8f0]
mov dword [eax], 0
mov eax, dword [0x4dc8ec]
mov dword [ebx], 0
lea ebx, [esi + 0x10]
mov dword [edi], 0
mov dword [edx], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 6
cmp dword [ebx + 0x4c], 0
jne 0x42279c
push 0x40
push 1
push dword [ebp + 8]
call fcn.00475b06
add esp, 0xc
test eax, eax
je 0x42279c
lea ecx, [ebx + 4]
mov byte [ebx + 0x48], 1
mov dword [ebx + 0xc], ecx
lea esi, [ebx + 0x18]
mov dword [ebx + 0x20], esi
lea edx, [ebx + 8]
mov byte [ebx + 0x3e], 0
lea edi, [ebx + 0x14]
mov dword [ebx + 0x10], edx
lea esi, [ebx + 0x24]
mov dword [ebx + 0x1c], edi
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x30], ecx
mov ecx, dword [0x4dc8f0]
mov dword [ebx + 0x2c], esi
mov dword [edx], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 4], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [ebx + 0x4c], eax
mov eax, dword [0x4dc8ec]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 7
mov eax, dword [ebx + 0x34]
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x20], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 5
push eax
call fcn.00423440
mov esi, eax
add esp, 4
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
call edx
test al, al
je 0x422722
mov dword [ebx + 0x38], 0
jmp 0x422770
mov dword [ebx + 0x38], esi
lea eax, [ebx + 4]
mov dword [ebx + 0xc], eax
lea esi, [ebx + 0x18]
mov dword [ebx + 0x20], esi
lea ecx, [ebx + 8]
mov dword [ebx + 0x10], ecx
lea edx, [ebx + 0x14]
mov dword [ebx + 0x1c], edx
lea esi, [ebx + 0x24]
mov dword [ebx + 0x2c], esi
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 4], 0
mov dword [edx], 0
mov dword [esi], 0
mov eax, 5
mov dword [ebp - 0x14], eax
and eax, 0xfffffffb
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x4227bd
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
jmp 0x4227bd
mov eax, dword [esi]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, esi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00425ba0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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