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

Disassembly:
push 0xffffffffffffffff
push 0x41e3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
push 0x18
mov dword [esp + 0x20], ebp
call fcn.00419780
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov dword [eax + 0x14], ebp
mov ecx, dword [0x4277f4]
add esp, 4
mov dword [eax], ecx
mov edx, dword [0x4277f4]
mov dword [esp + 0x10], eax
mov dword [eax + 8], edx
add eax, 0xc
push edi
push eax
call fcn.00404ca0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
add esp, 8
inc ecx
cmp esi, eax
mov dword [ebx + 0xc], ecx
je 0x40474c
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4277f4]
cmp eax, ecx
jne 0x40474c
mov ecx, dword [edi]
mov edi, dword [esi + 0xc]
xor edx, edx
cmp ecx, edi
setl dl
test dl, dl
jne 0x40474c
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 4]
cmp esi, dword [eax + 8]
jne 0x40476e
mov dword [eax + 8], ecx
jmp 0x40476e
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x404764
mov dword [eax + 4], ecx
mov eax, dword [ebx + 4]
mov dword [eax + 8], ecx
jmp 0x40476e
cmp esi, dword [eax]
jne 0x40476e
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov edi, 1
cmp eax, dword [edx + 4]
je 0x404908
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x14], ebp
jne 0x404908
mov esi, dword [ecx + 4]
mov edx, dword [esi]
cmp ecx, edx
jne 0x40484a
mov edx, dword [esi + 8]
cmp dword [edx + 0x14], ebp
je 0x40484f
cmp eax, dword [ecx + 8]
jne 0x4047ea
mov eax, ecx
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x4277f4]
je 0x4047c4
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 4]
cmp eax, dword [edx + 4]
jne 0x4047d7
mov dword [edx + 4], ecx
jmp 0x4047e5
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x4047e2
mov dword [edx], ecx
jmp 0x4047e5
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov ecx, dword [eax + 4]
mov dword [ecx + 0x14], edi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [ecx + 0x14], ebp
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov dword [ecx], esi
mov esi, dword [edx + 8]
cmp esi, dword [0x4277f4]
je 0x404814
mov dword [esi + 4], ecx
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ebx + 4]
cmp ecx, dword [esi + 4]
jne 0x40482d
mov dword [esi + 4], edx
mov dword [edx + 8], ecx
jmp 0x4048f9
mov esi, dword [ecx + 4]
cmp ecx, dword [esi + 8]
jne 0x404840
mov dword [esi + 8], edx
mov dword [edx + 8], ecx
jmp 0x4048f9
mov dword [esi], edx
mov dword [edx + 8], ecx
jmp 0x4048f9
cmp dword [edx + 0x14], ebp
jne 0x404869
mov dword [ecx + 0x14], edi
mov dword [edx + 0x14], edi
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [edx + 0x14], ebp
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
jmp 0x4048fc
cmp eax, dword [ecx]
jne 0x4048ac
mov eax, ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x4277f4]
je 0x404884
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 4]
cmp eax, dword [edx + 4]
jne 0x404897
mov dword [edx + 4], ecx
jmp 0x4048a6
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x4048a4
mov dword [edx + 8], ecx
jmp 0x4048a6
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov ecx, dword [eax + 4]
mov dword [ecx + 0x14], edi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [ecx + 0x14], ebp
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [edx]
mov dword [ecx + 8], esi
mov esi, dword [edx]
cmp esi, dword [0x4277f4]
je 0x4048d6
mov dword [esi + 4], ecx
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ebx + 4]
cmp ecx, dword [esi + 4]
jne 0x4048e9
mov dword [esi + 4], edx
jmp 0x4048f7
mov esi, dword [ecx + 4]
cmp ecx, dword [esi]
jne 0x4048f4
mov dword [esi], edx
jmp 0x4048f7
mov dword [esi + 8], edx
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov ecx, dword [ebx + 4]
cmp eax, dword [ecx + 4]
jne 0x404783
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x10