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

Disassembly:
push 0xffffffffffffffff
push 0x53734e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x54785c
lea edi, [esi + 8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edi
lea eax, [esp + 0xf]
mov ecx, edi
push eax
mov byte [esp + 0x30], 1
call fcn.0050e020
push 0x10
mov byte [esp + 0x30], 3
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [eax + 0x10]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov word [eax], bx
mov dword [esi + 0x14], ebx
lea edi, [esi + 0x18]
mov dword [esp + 0x14], edi
lea edx, [esp + 0xf]
mov ecx, edi
push edx
mov byte [esp + 0x30], 6
call fcn.0050e020
push 8
mov byte [esp + 0x30], 8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [eax + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov byte [eax], bl
lea edi, [esi + 0x24]
mov dword [esp + 0x14], edi
lea edx, [esp + 0xf]
mov ecx, edi
push edx
mov byte [esp + 0x30], 0xa
call fcn.0050e020
push 8
mov byte [esp + 0x30], 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [eax + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov byte [eax], bl
mov dword [esi + 0x30], ebx
lea edx, [esp + 0xf]
lea ecx, [esi + 0x3c]
push edx
mov byte [esp + 0x30], 0xf
call fcn.0050e020
lea edi, [esi + 0x48]
mov byte [esp + 0x2c], 0x11
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00405fe0
lea ecx, [edi + 0xc]
mov byte [esp + 0x2c], 0x12
call fcn.00405fe0
lea ecx, [edi + 0x18]
mov byte [esp + 0x2c], 0x13
call fcn.00405fe0
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
lea eax, [esp + 0xf]
lea ecx, [esi + 0x80]
push eax
mov byte [esp + 0x30], 0x15
call fcn.0050e020
lea edx, [esp + 0xf]
lea ecx, [esi + 0x8c]
push edx
mov byte [esp + 0x30], 0x18
call fcn.0050e020
lea edi, [esi + 0x98]
mov dword [esp + 0x14], edi
lea eax, [esp + 0xf]
mov ecx, edi
push eax
push 6
mov byte [esp + 0x34], 0x1b
call fcn.0042b950
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0x1d
call fcn.00405fe0
mov ecx, dword [edi]
push eax
push 6
push ecx
mov byte [esp + 0x38], 0x1e
call fcn.00489310
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [edi + 4], eax
mov byte [esp + 0x2c], 0x1d
call fcn.00418e50
lea edx, [esp + 0xf]
lea ecx, [esi + 0xa4]
push edx
mov byte [esp + 0x30], 0x20
call fcn.0050e020
lea edi, [esi + 0xb0]
mov dword [esp + 0x14], edi
lea eax, [esp + 0xf]
mov ecx, edi
push eax
mov byte [esp + 0x30], 0x23
call fcn.0050e020
mov byte [esp + 0x2c], 0x25
push 8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [eax + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov byte [eax], bl
lea edx, [esp + 0xf]
lea ecx, [esi + 0xbc]
push edx
mov byte [esp + 0x30], 0x27
call fcn.0050e020
lea eax, [esp + 0xf]
lea ecx, [esi + 0xc8]
push eax
mov byte [esp + 0x30], 0x2a
call fcn.0050e020
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
lea ecx, [esi + 0xdc]
mov byte [esp + 0x2c], 0x2e
call fcn.0050b540
mov ecx, dword [esp + 0x24]
mov dword [esi], 0x5477b0
mov byte [esi + 0x7c], bl
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x78], ebx
mov dword [esi + 0x34], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret