Function at 0x40de70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4479e8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x45b4b8]
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 4
push str.iExp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004028c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0040ffe0
mov edi, eax
cmp dword [edi + 0x28], 0
je 0x40dee2
mov esi, 1
jmp 0x40e15f
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 0x40df30
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 0x8c
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.8B_43_30_83_3D_04_02_6F_0E_00_74_0F_53_8B_1D_04_02_6F_0E_0F_AF_5D_CC_89_5D_CC_5B_83_3D_00_02_6F_0E_01_75_08_B8_FF_E0_F5_05_2B_45_CC_03_45_CC
mov byte [ecx], 0
call fcn.004028c0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x11
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.8B_43_30_03_45_CC
mov byte [ecx], 0
call fcn.004028c0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x17
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.8B_43_30_03_45_CC_83_EC
mov byte [ecx], 0
call fcn.004028c0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00403900
push dword [edi + 0xc]
lea eax, [edi + 0x74]
push ecx
push 0xe6f0000
push eax
call fcn.00403b70
mov eax, dword [ebx + 0x2c]
sub esp, 0x18
mov ecx, esp
mov esi, dword [eax + 0xc]
lea eax, [edi + 0x44]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402540
push 0x40
push 0xffffffffffffffff
push 0x10000
push 0
push 1
lea ecx, [ebx + 0x2c]
call fcn.004123a0
mov dword [edi + 8], eax
cmp eax, esi
jae 0x40e064
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.8B_49_30_83_3D_04_02_3E_0E_00_74_07_0F_AF_1D_04_02_3E_0E_83_3D_00_02_3E_0E_01_75_07_B9_FF_E0_F5_05_29_D9_01_D9
call fcn.00409d00
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.8B_49_30_03_CB
call fcn.00409d00
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push str.8B_49_30_03_CB_83_EC_08_51_50_39_00_E8
call fcn.00409d00
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00403900
push dword [edi + 0xc]
lea eax, [edi + 0x74]
push ecx
push 0xe3e0000
push eax
call fcn.00403b70
push 1
push 0x453928
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004028c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x200
call fcn.0040ff30
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 0x40e0d7
push dword [ebp - 0x28]
call fcn.0042d3ab
add esp, 4
push 4
push str.MTP2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004028c0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push eax
add esi, 0x204
call fcn.0040ff30
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 0x40e14a
push dword [ebp - 0x28]
call fcn.0042d3ab
add esp, 4
sub esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, ebx
push 0
sub esp, 0xc
push eax
call fcn.0040ee90
mov esi, eax
cmp dword [ebp - 0x2c], 0x10
jb 0x40e170
push dword [ebp - 0x40]
call fcn.0042d3ab
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.0042d3b0
mov esp, ebp
pop ebp
ret