Function at 0x40c1f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446c70
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x45a4b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0040c040
test eax, eax
je 0x40c47f
push 8
push str._iPlayer
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00401710
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0040f650
mov edi, eax
cmp dword [edi + 0x28], 0
je 0x40c26f
mov esi, 1
jmp 0x40c46c
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 1
mov dword [edi + 0x2c], 1
mov dword [edi + 0x34], 1
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x40c2bd
push 0x40
push 0x3000
push 0x1000
push 0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
sub esp, 0x18
mov dword [edi + 0xc], eax
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.3B_0D_00_04_E9_02_75_17_83_3D_00_02_EC_02_01_75_20_D9_41_1C_D9_59_14_D9_EE_D9_5C_24_0C_EB_12_83_3D_04_02_EC_02_01_75_09_D9_EE_D8_61_1C_D9_5C_24_0C_D9_41_14_D8_44_24_0C
call fcn.00408cc0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.D9_41_14_D8_44_24_0C
call fcn.00408cc0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push str.D9_41_14_D8_44_24_0C
call fcn.00408cc0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004026f0
push dword [edi + 0xc]
lea esi, [edi + 0x74]
push ecx
push 0x2ec0000
push esi
call fcn.00402960
push 0xc
push str.iPlayerSetup
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00401710
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0040f5a0
mov eax, dword [eax + 0xc]
add eax, 0x400
push eax
push 0x2e90400
push esi
call fcn.00402b30
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
jb 0x40c371
push dword [ebp - 0x28]
call fcn.0042d411
add esp, 4
push 1
push 0x452030
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00401710
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x200
call fcn.0040f5a0
mov byte [ebp - 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], 0
mov dword [eax + 0x38], 1
mov dword [eax + 0x30], 0
mov dword [eax], 2
cmp dword [ebp - 0x14], 0x10
jb 0x40c3e4
push dword [ebp - 0x28]
call fcn.0042d411
add esp, 4
push 1
push 0x452034
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00401710
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x204
call fcn.0040f5a0
mov byte [ebp - 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], 0
mov dword [eax + 0x38], 1
mov dword [eax + 0x30], 0
mov dword [eax], 2
cmp dword [ebp - 0x14], 0x10
jb 0x40c457
push dword [ebp - 0x28]
call fcn.0042d411
add esp, 4
sub esp, 0x10
lea eax, [ebp - 0x40]
push 1
push ecx
push 1
push eax
mov ecx, ebx
call fcn.0040e4c0
mov esi, eax
cmp dword [ebp - 0x2c], 0x10
jb 0x40c47d
push dword [ebp - 0x40]
call fcn.0042d411
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d416
mov esp, ebp
pop ebp
ret