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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4098
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4c8104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebx + 0x1c]
mov dword [ebp - 0x28], eax
movq qword [eax], xmm0
mov dword [ebp - 0x24], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
lea esi, [eax + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x30], xmm0
movq qword [esi + 0x40], xmm0
mov byte [ebp - 4], 2
call fcn.00475c30
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
call fcn.00475c30
lea ecx, [esi + 0x58]
mov dword [esi + 0x50], eax
push ecx
push edi
mov dword [esi + 0x54], edx
call fcn.0040f790
mov edi, esi
mov byte [ebp - 4], 3
lea ecx, [edi + 0xa8]
mov dword [ebp - 0x1c], ecx
call fcn.00408940
push ecx
push dword [ebp - 0x24]
lea ecx, [edi + 0xc8]
mov byte [ebp - 4], 4
call fcn.00436090
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x3c
lea ecx, [edi + 0x100]
push eax
call fcn.00420420
lea ecx, [edi + 0xf8]
xor eax, eax
xchg dword [ecx], eax
push ecx
push dword [ebp - 0x24]
lea esi, [edi + 0x108]
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00436090
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 5
lea ecx, [esi + 0x38]
mov dword [ebp - 0x1c], 0
push eax
call fcn.0042f4c0
push 0x50b818
push 0x435e10
push 0x50b820
mov dword [esi + 0x40], 0
call fcn.00475b00
add esp, 0xc
test eax, eax
je 0x41ed55
mov dword [esi + 0x44], 0x50b818
lea ecx, [esi + 0x30]
mov byte [esi + 0x48], 0
xor eax, eax
xchg dword [ecx], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x158]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00409680
mov dword [esi], eax
mov byte [ebp - 4], 7
lea esi, [edi + 0x160]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movq qword [esi], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004094e0
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x168]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [esi], xmm0
push 8
movups xmmword [esi + 0x10], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov eax, dword [ebx + 8]
lea esi, [edi + 0x194]
mov byte [ebp - 4], 9
mov ecx, esi
mov dword [edi + 0x188], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x190], eax
mov dword [ebp - 0x1c], esi
call fcn.00429ed0
mov eax, dword [ebx + 0x18]
lea ecx, [esi + 0x3c]
mov dword [esi], 0x4b489c
mov dword [esi + 0x38], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0xb
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x14], eax
cmp eax, 0x80
jbe 0x41ecb4
mov eax, pe_nt_image_headers32
mov dword [ebp - 0x14], eax
jmp 0x41ecbe
cmp eax, 1
jae 0x41ecbe
mov eax, 1
push ecx
push eax
call fcn.0040c050
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x3c]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x3c]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov eax, dword [ebx + 0x14]
mov ecx, esi
mov byte [ebp - 4], 0xc
push eax
mov dword [esi], 0x4b48f4
mov dword [esi + 0x48], eax
call fcn.0042a020
mov eax, 0x1388
mov word [edi + 0x1e0], 0
mov ecx, 0xf4240
mov dword [edi + 0x1e4], 0
imul ecx
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1f0], eax
mov eax, edi
mov dword [edi + 0x1f4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3