Function at 0x40d610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446fd9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x45a5d0]
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
push 7
push str.iPlayer
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.00403690
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004103f0
mov edi, eax
cmp byte [edi + 0x2c], 0
je 0x40d682
mov bl, 1
jmp 0x40d9f0
push 0x98
push str.53_8D_9C_10_s1_00_00_83_3D_00_02_7F_01_01_75_05_D9_43_F8_D9_1B_83_3D_04_02_7F_01_01_75_0C_D9_43_FC_D9_5B_04_DB_43_F0_DB_5B_F4_5B_F3_0F_10_84_10_s1_00_00
lea ecx, [ebp - 0x90]
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 2
mov word [edi + 0x30], pe_nt_image_headers32
mov byte [edi + 0x2d], 1
mov byte [edi + 0x2f], 1
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
call fcn.00403690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 0x17
push str.F3_0F_10_84_10_s1_00_00
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00403690
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
push 0x53
push str.F3_0F_10_84_10_s1_00_00_F3_0F_5E_84_10___00_00_0F_2F_C8_F3_0F_11____72__0F_B6
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00403690
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x60]
mov dword [edi], 0
cmp ecx, eax
je 0x40d736
push 0xffffffffffffffff
push 0
push eax
call fcn.004032d0
lea ecx, [edi + 0x4c]
lea eax, [ebp - 0x48]
cmp ecx, eax
je 0x40d74a
push 0xffffffffffffffff
push 0
push eax
call fcn.004032d0
lea esi, [edi + 0x64]
lea eax, [ebp - 0x90]
cmp esi, eax
je 0x40d763
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004032d0
cmp dword [ebp - 0x4c], 0x10
jb 0x40d774
push dword [ebp - 0x60]
call fcn.0042cfae
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jb 0x40d797
push dword [ebp - 0x48]
call fcn.0042cfae
add esp, 4
cmp dword [ebp - 0x7c], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x40d7bd
push dword [ebp - 0x90]
call fcn.0042cfae
add esp, 4
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
push 2
push 0x452af4
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.00403690
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x30]
call fcn.004032d0
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 5
jb 0x40d85a
push dword [ebp - 0xb8]
call fcn.0042cfae
add esp, 4
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x9c]
call fcn.004104a0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x40d89d
push dword [ebp - 0x30]
call fcn.0042cfae
add esp, 4
sub esp, 0x10
lea eax, [ebp - 0x9c]
lea ecx, [ebx + 0x68]
push 1
push eax
push edi
call fcn.004134b0
test al, al
jne 0x40d8bd
xor bl, bl
jmp 0x40d9d1
mov eax, dword [ebx + 0x6c]
push 0x40
push 0x3000
push 0x800
push 0
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
push ecx
push 0x17f0000
push esi
mov dword [edi + 0xc], eax
call fcn.00406860
push 1
push 0x452af8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403690
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x200
call fcn.00410340
mov byte [ebp - 4], 4
mov dword [eax + 8], esi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 0
mov byte [eax + 0x30], 1
mov byte [eax + 0x2e], 0
mov dword [eax], 2
cmp dword [ebp - 0x14], 0x10
jb 0x40d954
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
push 1
push 0x452afc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403690
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x204
call fcn.00410340
mov byte [ebp - 4], 4
mov dword [eax + 8], esi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 0
mov byte [eax + 0x30], 1
mov byte [eax + 0x2e], 0
mov dword [eax], 2
cmp dword [ebp - 0x14], 0x10
jb 0x40d9c1
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0x78]
mov ecx, ebx
push eax
call fcn.0040e9b0
mov bl, al
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x40d9f0
push dword [ebp - 0x98]
push esi
call fcn.00410810
push esi
call fcn.0042cfae
add esp, 4
cmp dword [ebp - 0x64], 0x10
jb 0x40da01
push dword [ebp - 0x78]
call fcn.0042cfae
add esp, 4
mov al, bl
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.0042cfb3
mov esp, ebp
pop ebp
ret