Function at 0x40ba80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fab0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x44cb90]
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 edi, ecx
mov dword [ebp - 0x4c], edi
call fcn.0040b5c0
test eax, eax
je 0x40bd2d
push 7
xor ebx, ebx
mov esi, 0xf
push str._iSpeed
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407c10
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.0040d6d0
mov edi, eax
cmp dword [edi + 0x24], ebx
je 0x40bb0d
cmp dword [ebp - 0x34], 0x10
jb 0x40bb03
mov eax, dword [ebp - 0x48]
push eax
call fcn.00427fd2
add esp, 4
mov eax, 1
jmp 0x40bd2d
mov ecx, dword [ebp - 0x4c]
mov eax, 1
mov dword [edi + 8], ebx
mov dword [edi], ebx
mov dword [edi + 4], 2
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x34]
cmp eax, ebx
jne 0x40bb38
xor eax, eax
jmp 0x40bb4f
mov edx, dword [eax + 0x1c]
push 0x40
push 0x3000
push 0x1000
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
mov dword [edi + 0xc], eax
push 0xb0
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.39_35_00_04_C5_0C_75_1D_83_3D_00_02_06_0D_01_75_20_C7_05_00_03_06_0D_00_00_80_40_F3_0F_59_05_00_03_06_0D_EB_0C_83_3D_04_02_06_0D_01_75_03_0F_57_E4_F3_0F_59_C4_F3_0F_11_44_24_34
mov byte [ecx], bl
call fcn.00407c10
sub esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x1d
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.F3_0F_59_C4_F3_0F_11_44_24_34
mov byte [ecx], bl
call fcn.00407c10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
mov byte [ebp - 4], 2
push 0x59
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.F3_0F_59_C4_F3_0F_11_44_24_34_F3_0F_10_44_24_2C_8B_4C_24_34_F3_0F_59_C4_89_8E_38_01_00_00
mov byte [ecx], bl
call fcn.00407c10
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004019f0
mov eax, dword [edi + 0xc]
lea esi, [edi + 0x74]
push eax
mov edx, 0xd060000
mov ecx, esi
call fcn.00401c20
push 7
push str.iPlayer
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407c10
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040d6d0
mov eax, dword [eax + 0xc]
add eax, 0x400
push eax
mov ecx, 0xcc50400
call fcn.00401e00
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0x10
jb 0x40bc21
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00427fd2
add esp, 4
push 1
push 0x445754
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407c10
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 4
mov esi, dword [edi + 0xc]
lea edx, [ebp - 0x2c]
add esi, 0x200
call fcn.0040d6d0
mov dword [eax + 8], esi
mov esi, 1
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x34], esi
mov dword [eax + 0x2c], ebx
mov dword [eax], 2
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0x10
jb 0x40bc84
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427fd2
add esp, 4
push esi
push 0x445758
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407c10
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 5
mov edi, dword [edi + 0xc]
lea edx, [ebp - 0x2c]
mov ecx, esi
add edi, 0x204
call fcn.0040d6d0
mov dword [eax + 8], edi
mov edi, 1
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x34], edi
mov dword [eax + 0x2c], ebx
mov dword [eax], 2
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0x10
jb 0x40bce8
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00427fd2
add esp, 4
push ebx
push ebx
push ebx
push ebx
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.004080b0
mov ecx, edi
mov edx, esi
call fcn.0040c5b0
cmp dword [ebp - 0x34], 0x10
mov esi, eax
jb 0x40bd2b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00427fd2
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.00427fdd
mov esp, ebp
pop ebp
ret