Function at 0x10002eb0
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100152b7
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x10023014]
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 cl, byte [ebp + 8]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x11c], 0
call fcn.10002e40
test eax, eax
jne 0x100031a6
lea ecx, [ebp - 0x11c]
call fcn.100024b0
mov esi, eax
test esi, esi
je 0x10002f2e
push 0
push 0x100208f0
push 0x10020904
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, esi
jmp 0x100031a6
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, dword [ebp - 0x11c]
call fcn.10002700
add esp, 4
mov dword [0x10024d9c], eax
test eax, eax
jne 0x10002f68
push eax
push 0x100208f0
push 0x10020914
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x100031a3
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.100055f0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
mov dword [ebp - 0x11c], 1
push eax
push 0x104
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 1
call fcn.10001940
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x120], 8
lea eax, [ebp - 0x134]
mov edi, dword [ebp - 0x124]
cmovae eax, dword [ebp - 0x134]
push eax
push edi
call fcn.1000346c
mov esi, eax
lea ecx, [ebp - 0x134]
push 0
push esi
mov ebx, edx
call fcn.10001940
cmp esi, edi
jae 0x10002fe0
mov byte [ebp - 4], 0
test ebx, ebx
jne 0x10003239
push ecx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x134]
call fcn.10001c80
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push eax
push 0x10020920
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.100028e0
mov edx, dword [ebp - 0x13c]
add esp, 0x10
cmp edx, 0x10
jb 0x1000309e
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003094
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003240
push edx
push ecx
call fcn.10003dc7
add esp, 8
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 8
jb 0x100030f9
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100030ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003240
push edx
push ecx
call fcn.10003dc7
add esp, 8
xor eax, eax
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], ax
mov eax, dword [0x10024d98]
mov dword [ebp - 0x11c], eax
mov eax, dword [0x10024d9c]
push 0x10024b90
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x138], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
test ebx, ebx
je 0x10003193
push str.InitSpy
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push ebx
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add dword [ebp - 0x11c], esi
je 0x10003193
mov ebx, dword [ebp - 0x138]
push 4
push 0x1000
push pe_nt_image_headers32
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
push 0
test esi, esi
jne 0x100031c2
push 0x1002085c
push 0x10020878
push 0
call edi
push 0
push 0x100208f0
push 0x1002092c
push 0
call edi
or eax, 0xffffffff
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.100039aa
mov esp, ebp
pop ebp
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push esi
push dword [ebp - 0x11c]
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
jne 0x1000320c
push 0x8000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push ebx
push 0x1002085c
push 0x10020888
jmp 0x1000318f
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 8]
mov byte [0x10024da0], al
xor eax, eax
jmp 0x100031a6
mov edx, ebx
call fcn.10002d20
call fcn.100089e3
int3