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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d088a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51808c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.00411530
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.00411530
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.004a4c72
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
lea eax, [ebx + 0x30]
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00411740
lea eax, [ebx + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x38]
call fcn.00411530
lea eax, [ebx + 0x50]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x50]
call fcn.00411530
mov byte [ebp - 4], 5
lea ecx, [edi + 0x6c]
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x68], eax
lea eax, [ebx + 0x6c]
push eax
call fcn.00411530
mov byte [ebp - 4], 6
lea ecx, [edi + 0x88]
mov eax, dword [ebx + 0x84]
mov dword [edi + 0x84], eax
lea eax, [ebx + 0x88]
push eax
call fcn.00411530
lea eax, [ebx + 0xa0]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0xa0]
call fcn.00411530
lea esi, [edi + 0xb8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x10], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.004a4c72
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 9
lea eax, [ebx + 0xb8]
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00411740
lea esi, [edi + 0xc0]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x10], esi
push 0x88
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.004a4c72
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0xc0]
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0042e550
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0xc8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebx + 0xcc]
mov esi, dword [ebx + 0xc8]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x421573
sub eax, esi
sar eax, 3
push eax
call fcn.00429880
mov edx, dword [edi + 0xc8]
mov ebx, dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esi, 8
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
cmp esi, ebx
jne 0x421556
mov ebx, dword [ebp + 8]
mov dword [edi + 0xcc], edx
lea eax, [ebx + 0xd4]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0xd4]
call fcn.0041e240
lea esi, [edi + 0x110]
mov dword [ebp + 8], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebx + 0x134]
test ecx, ecx
je 0x4215af
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x138]
mov dword [ebp + 8], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebx + 0x15c]
test ecx, ecx
je 0x4215d5
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x160]
mov dword [ebp + 8], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebx + 0x184]
test ecx, ecx
je 0x4215fb
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x188]
lea esi, [edi + 0x198]
mov dword [edi + 0x188], eax
mov eax, dword [ebx + 0x18c]
mov dword [edi + 0x18c], eax
mov eax, dword [ebx + 0x190]
mov dword [edi + 0x190], eax
mov dword [ebp + 8], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebx + 0x1bc]
test ecx, ecx
je 0x421645
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebx + 0x1c0]
mov byte [edi + 0x1c0], al
mov eax, dword [ebx + 0x1c4]
mov dword [edi + 0x1c4], eax
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 4