Function at 0x40dea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447103
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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.iDebuff
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00403690
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004103f0
mov edi, eax
cmp byte [edi + 0x2c], 0
je 0x40df18
mov bl, 1
jmp 0x40e316
push 0xb9
push str.53_83_7E_10_00_75_19_8D_1D_00_02_9B_1A_83_3C_BB_01_75_21_83_A4_BE_A4_04_00_00_00_0F_57_D2_EB_14_83_3D_14_02_9B_1A_01_75_0B_C7_84_BE_A4_04_00_00_7F_96_18_4B_5B_F3_0F_10_8C_BE_A4_04_00_00
lea ecx, [ebp - 0x70]
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 - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00403690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0x1a
push str.F3_0F_10_8C_BE_A4_04_00_00
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00403690
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0x32
push str.F3_0F_10_8C_BE_A4_04_00_00_F3_0F_58_CA_0F_2F_8C_BE
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00403690
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
mov dword [edi], 0
cmp ecx, eax
je 0x40dfc6
push 0xffffffffffffffff
push 0
push eax
call fcn.004032d0
lea ecx, [edi + 0x4c]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x40dfda
push 0xffffffffffffffff
push 0
push eax
call fcn.004032d0
lea esi, [edi + 0x64]
lea eax, [ebp - 0x70]
cmp esi, eax
je 0x40dff0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004032d0
cmp dword [ebp - 0x44], 0x10
jb 0x40e001
push dword [ebp - 0x58]
call fcn.0042cfae
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x40e024
push dword [ebp - 0x40]
call fcn.0042cfae
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40e04b
push dword [ebp - 0x70]
call fcn.0042cfae
add esp, 4
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 0x1a9b0000
push esi
mov dword [edi + 0xc], eax
call fcn.00406860
push 2
push 0x452d44
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], 4
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x200
call fcn.00410340
mov byte [ebp - 4], 0
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 0x40e0e2
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
push 2
push 0x452d48
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], 5
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x204
call fcn.00410340
mov byte [ebp - 4], 0
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 0x40e14f
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
push 2
push 0x452d4c
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], 6
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x208
call fcn.00410340
mov byte [ebp - 4], 0
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 0x40e1bc
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
push 2
push 0x452d50
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], 7
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x20c
call fcn.00410340
mov byte [ebp - 4], 0
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 0x40e229
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
push 2
push 0x452d54
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, 0x210
call fcn.00410340
mov byte [ebp - 4], 0
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 0x40e296
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
push 1
push 0x452d58
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, 0x214
call fcn.00410340
mov byte [ebp - 4], 0
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 0x40e303
push dword [ebp - 0x28]
call fcn.0042cfae
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0040e9b0
mov bl, al
cmp dword [ebp - 0x74], 0x10
jb 0x40e32a
push dword [ebp - 0x88]
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