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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59150c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x61d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], edi
call fcn.0044c7a0
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.0044c7a0
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.004acfc9
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
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00491840
lea eax, [ebx + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x38]
call fcn.0044c7a0
lea eax, [ebx + 0x50]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x50]
call fcn.0044c7a0
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.0044c7a0
lea eax, [ebx + 0x84]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x84]
call fcn.0044c7a0
lea esi, [edi + 0x9c]
mov byte [ebp - 4], 7
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.004acfc9
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
lea eax, [ebx + 0x9c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.00491840
lea esi, [edi + 0xa4]
mov byte [ebp - 4], 9
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.004acfc9
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
lea eax, [ebx + 0xa4]
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.004917c0
mov byte [ebp - 4], 0xb
lea esi, [edi + 0xac]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebx + 0xb0]
sub eax, dword [ebx + 0xac]
sar eax, 3
mov dword [ebp - 0x18], esi
test eax, eax
je 0x47eb4d
cmp eax, 0x1fffffff
ja 0x47ed21
push eax
mov ecx, esi
call fcn.00492ef0
mov edi, dword [esi]
mov esi, dword [ebx + 0xb0]
mov eax, dword [ebx + 0xac]
sub esi, eax
push esi
push eax
push edi
call fcn.005649a0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
sar esi, 3
lea eax, [edi + esi*8]
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 0xc
lea esi, [edi + 0xb8]
mov dword [ebp - 0x10], esi
mov eax, dword [ebx + 0xb8]
mov dword [esi], eax
mov al, byte [ebx + 0xbc]
mov byte [esi + 4], al
mov eax, 0x2aaaaaab
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov ecx, dword [ebx + 0xc4]
sub ecx, dword [ebx + 0xc0]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
je 0x47ec01
cmp eax, 0x15555555
ja 0x47ed26
push eax
call fcn.00492ff0
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
mov edi, dword [esi + 8]
mov esi, dword [ebx + 0xc4]
mov eax, dword [ebx + 0xc0]
sub esi, eax
push esi
push eax
push edi
call fcn.005649a0
mov eax, 0x2aaaaaab
add esp, 0xc
imul esi
mov esi, dword [ebp - 0x10]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
movq xmm0, qword [ebx + 0xcc]
movq qword [esi + 0x14], xmm0
mov eax, dword [ebx + 0xd4]
mov dword [esi + 0x1c], eax
movq xmm0, qword [ebx + 0xd8]
movq qword [esi + 0x20], xmm0
mov eax, dword [ebx + 0xe0]
mov dword [esi + 0x28], eax
movq xmm0, qword [ebx + 0xe4]
movq qword [esi + 0x2c], xmm0
mov eax, dword [ebx + 0xec]
mov dword [esi + 0x34], eax
lea esi, [edi + 0xf0]
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebx + 0x114]
test ecx, ecx
je 0x47ec69
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x118]
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebx + 0x13c]
test ecx, ecx
je 0x47ec8f
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x140]
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebx + 0x164]
test ecx, ecx
je 0x47ecb5
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x168]
lea esi, [edi + 0x170]
mov dword [edi + 0x168], eax
mov eax, dword [ebx + 0x16c]
mov dword [edi + 0x16c], eax
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebx + 0x194]
test ecx, ecx
je 0x47ecf3
mov edx, dword [ecx]
push esi
call dword [edx]
mov dword [esi + 0x24], eax
mov cl, byte [ebx + 0x198]
mov eax, edi
mov byte [edi + 0x198], cl
mov ecx, dword [ebx + 0x19c]
mov dword [edi + 0x19c], ecx
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
call fcn.00492ee0
call fcn.00492ee0
int3