joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret

Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x17e51da7
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x18aa6f19
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x100010d0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov esi, dword [eax + 0x10002080]
mov eax, dword [0x1000300c]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10001153
push str.RtlZeroMemory
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000300c], eax
test eax, eax
je 0x1000115c
push 0x30
lea ecx, [esp + 0x24]
push ecx
call eax
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 1
push eax
push edi
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
mov ebx, eax
test ebx, ebx
jne 0x10001214
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001214
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10001214
xor esi, esi
test edx, edx
je 0x10001209
mov eax, dword [edi + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100011e6
cmp dword [ecx], 0
jne 0x10001204
push dword [eax + 0x8c]
push dword [eax + 0x88]
push dword [esp + 0x14]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
jb 0x100011d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 8
jb 0x10001120
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001245
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100024e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 1
xor eax, eax
mov dl, byte [edi + eax + 0x3ed419b4]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x100024f1
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x100025a1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100025d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x1abd646a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x28
jb 0x100025e1
pop edi
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100026a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
mov dl, byte [edi + eax + 0x43f2140e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x100026b1
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100026e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x19
xor eax, eax
mov dl, byte [edi + eax + 0x1bf4bbef]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x88
jb 0x100026f1
pop edi
mov byte [esi + 0x88], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x2d
xor eax, eax
mov dl, byte [edi + eax + 0x5d9825a0]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x10002851
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x34
xor eax, eax
mov dl, byte [edi + eax + 0x32593faf]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002891
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100028c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x36
xor eax, eax
mov dl, byte [edi + eax - 0x5023d40c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x3b
jb 0x100028d1
pop edi
mov byte [esi + 0x3b], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x5b
xor eax, eax
mov dl, byte [edi + eax - 0x416a29a2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x10002a11
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x70
xor eax, eax
mov dl, byte [edi + eax - 0x2a0c3c7f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2c
jb 0x10002b51
pop edi
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x84
xor eax, eax
mov dl, byte [edi + eax - 0x49ba47c2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1e
jb 0x10002b91
pop edi
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x89
xor eax, eax
mov dl, byte [edi + eax + 0x1af98a5a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002bd1
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x8c
xor eax, eax
mov dl, byte [edi + eax + 0x57243b52]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x10
jb 0x10002c11
pop edi
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xaf
xor eax, eax
mov dl, byte [edi + eax + 0x1f0ff0d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x23
jb 0x10002cc1
pop edi
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xbe
xor eax, eax
mov dl, byte [edi + eax + 0x6e0053c7]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x11
jb 0x10002d71
pop edi
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xdd
xor eax, eax
mov dl, byte [edi + eax - 0x6db8ad5e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x16
jb 0x10002f21
pop edi
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xe8
xor eax, eax
mov dl, byte [edi + eax + 0x3566316e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2a
jb 0x10002f61
pop edi
mov byte [esi + 0x2a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xeb
xor eax, eax
mov dl, byte [edi + eax - 0x7b6b46e5]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x20
jb 0x10002fd1
pop edi
mov byte [esi + 0x20], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10003120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0xab77782]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x17
jb 0x10003131
pop edi
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100049d0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
cmp eax, 4
ja case.default.0x100049df
jmp dword [eax*4 + 0x10004a58]
pop ebp
jmp fcn.10007c60
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 1
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 2
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 3
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 4
push 0
push 0
push 0
push 0x100052b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100049e6
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
cmp eax, 4
ja case.default.0x100049df
jmp dword [eax*4 + 0x10004a58]
pop ebp
jmp fcn.10007c60
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 1
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 2
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 3
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 4
push 0
push 0
push 0
push 0x100052b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10004a2b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
cmp eax, 4
ja case.default.0x100049df
jmp dword [eax*4 + 0x10004a58]
pop ebp
jmp fcn.10007c60
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 1
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 2
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 3
jmp 0x10004a3e
cmp dword [0x1014ab64], 0
jne case.default.0x100049df
mov dword [0x1014ab64], 4
push 0
push 0
push 0
push 0x100052b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10006120
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038928
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101499e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10149430]
cmp eax, 0x927c0
jb 0x10006165
call esi
mov dword [0x10149430], eax
cmp dword [edi + 4], 0
je 0x100061f9
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [edi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.10011f80
mov esi, dword [ebp - 0x1c]
test al, al
je 0x100061de
cmp esi, dword [ebp - 0x18]
je 0x100061de
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000e340
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x100061f9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.100112d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100064f0
Capabilities:
Create process on windows
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test bl, 0xe
jne 0x10006524
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
push esi
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1001d760
push 0x208
lea eax, [ebp - 0x558]
push 0
push eax
call fcn.1001d760
push 0x208
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.1001d760
add esp, 0x24
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10006713
push 0x104
lea eax, [ebp - 0x558]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x1000670c
push 0x104
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.10007440
add esp, 0xc
test al, al
je 0x1000670c
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1001d760
lea eax, [ebp - 0x558]
mov word [ebp - 0x574], 0x5325
push eax
mov byte [ebp - 0x572], 0
call fcn.100073e0
push eax
lea eax, [ebp - 0x574]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
test bl, 2
je 0x1000667a
lea eax, [ebp - 0x44]
mov ecx, 0x10149480
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.10006400
test al, al
jne 0x1000667a
push 0x7dbc6c9e
lea ecx, [ebp - 0x570]
call fcn.10002f10
push edi
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.10014bf0
add esp, 0xc
lea eax, [ebp - 0x148]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.1001d760
add esp, 0xc
push 0
push esi
call 0x1000ee30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
test bl, 4
je 0x100066c3
lea eax, [ebp - 0x44]
mov ecx, 0x10149484
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.10006210
test al, al
jne 0x100066c3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x44]
push eax
push 2
call fcn.10004a70
add esp, 0xc
xor al, al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
test bl, 8
je 0x1000670c
lea eax, [ebp - 0x44]
mov ecx, 0x10149434
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.100062d0
test al, al
jne 0x1000670c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x44]
push eax
push 5
call fcn.10004a70
add esp, 0xc
xor al, al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
Function at 0x10006730
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.1001a920
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x100c], ecx
push eax
push 0x1000
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 0
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x10006785
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp - 0x1008]
push esi
shr ebx, 2
xor esi, esi
push edi
test ebx, ebx
jle 0x1000680b
nop word [eax + eax]
mov edi, dword [ebp + esi*4 - 0x1004]
test edi, edi
je 0x10006806
mov ecx, dword [ebp - 0x100c]
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.10009910
test al, al
jne 0x10006806
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x100c]
push eax
push edi
call fcn.1000c5f0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x100c]
push dword [ebp + esi*4 - 0x1004]
call fcn.10006840
test al, al
je 0x10006820
push dword [ebp + 8]
mov ecx, 0x10149488
push dword [ebp + esi*4 - 0x1004]
call fcn.100064f0
test al, al
je 0x10006820
inc esi
cmp esi, ebx
jl 0x100067a0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 4

Function at 0x100068f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.1001a920
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
mov dword [ebp - 0x110c], 0
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x10006945
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov edi, dword [ebp - 0x110c]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x100069b4
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + esi*4 - 0x1108]
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x100069af
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100069a6
test dl, dl
je 0x100069a2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100069a6
add ecx, 2
add eax, 2
test dl, dl
jne 0x10006986
xor eax, eax
jmp 0x100069ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x100069c9
inc esi
cmp esi, edi
jl 0x10006960
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
Function at 0x10006c60
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101499e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0xffffffff
je 0x10006ceb
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10006cc3
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10006cc3
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.1001d1e0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10006cff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10006cff
mov ecx, esi
call fcn.10007c20
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
push 0x23
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10006d58
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10006d28
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10006d3d
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
pop edi
mov byte [esi + 0x100038], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.1001d760
push 0x80000
lea eax, [esi + 0x80010]
mov dword [esi + 0x8000c], 0
push 0
push eax
call fcn.1001d760
add esp, 0x18
mov dword [esi + 0x100010], 0
push 0
push 0
push esi
push 0x10006b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
mov byte [esi + 0x100038], 1
xor ecx, ebp
pop esi
call fcn.1001a90f
mov esp, ebp
pop ebp
ret 8