joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004df0
Capabilities:
Enumerate threads
Print debug messages
Suspend thread

Disassembly:
sub esp, 0x12c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
call fcn.10004a10
mov esi, 0x1000723c
call fcn.100048a0
test eax, eax
jne 0x10004e43
mov esi, 0x10007248
call fcn.100048a0
test eax, eax
jne 0x10004e43
mov esi, str.gostop.exe
call fcn.100048a0
test eax, eax
je 0x10004f4f
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10004f40
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x20]
push edx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004f19
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
cmp eax, 0xf
je 0x10004ea5
cmp eax, 0xfffffff1
jne 0x10004f19
push esi
call fcn.10004980
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push edi
lea ecx, [esp + 0x48]
push str._xsize:_d_tid:_d_pid:_d_base:_ld_delta:_ld_n
push ecx
call ebx
mov eax, dword [0x1000f9d8]
mov ecx, dword [esp + 0x40]
add esp, 0x1c
cmp eax, ecx
jne 0x10004f19
lea edx, [edi - 0x100001]
cmp edx, 0x3feffffe
ja 0x10004f19
push ecx
push eax
push edi
lea eax, [esp + 0x40]
push str.stop:_x_d:_d_n
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10004f39
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10004e77
jmp 0x10004f40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005e60
add esp, 0x12c
ret
Function at 0x10004f70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push edi
push 0x104
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
push esi
lea ecx, [esp + 0x1c]
push str._c_route_delete__s
push ecx
call edi
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x18
push 0
push 0
lea edx, [esp + 0x14]
push edx
push str.cmd.exe
push 0
push 0
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call ebp
push str.mask_255.255.255.255_0.0.0.0
push esi
lea eax, [esp + 0x14]
push str._c_route_add__s__s
push eax
call edi
add esp, 0x10
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.cmd.exe
push 0
push 0
call ebx
push 0x7d0
call ebp
mov ecx, dword [0x1000f9dc]
shl ecx, 4
pop edi
lea ecx, [ecx + 0x1000ed48]
pop ebp
mov eax, esi
sub ecx, esi
pop ebx
jmp 0x10005020
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x10005020
mov ecx, dword [esp + 0x104]
inc dword [0x1000f9dc]
xor ecx, esp
call fcn.10005e60
add esp, 0x108
ret
Function at 0x10005170
Capabilities:
List tcp connections and listeners

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
push 0
push 5
push 2
push 1
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x28], 0
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov ebp, eax
push 0
push 5
push 2
push 1
lea edx, [esp + 0x20]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
xor ebx, ebx
cmp dword [ebp], ebx
jbe 0x100052be
lea edi, [ebp + 0x18]
cmp dword [edi - 0x14], 5
jne 0x100052b1
mov eax, dword [edi]
push eax
call fcn.100050d0
add esp, 4
lea edx, [esp + 0x14]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x100051f0
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005201
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x10005229
mov al, byte [esp + ecx + 0x14]
cmp al, 0x41
jl 0x10005224
cmp al, 0x5f
jg 0x10005224
add al, 0x20
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, edx
jl 0x10005212
movzx ecx, word [edi - 4]
push ecx
call sub.WS2_32.dll_ntohs
movzx esi, ax
mov ecx, str.game.exe
lea eax, [esp + 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005260
test dl, dl
je 0x1000525c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005260
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005240
xor eax, eax
jmp 0x10005265
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10005271
cmp esi, 0x1964
jmp 0x100052af
mov ecx, str.poker.exe
lea eax, [esp + 0x14]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100052a0
test dl, dl
je 0x1000529c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100052a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005280
xor eax, eax
jmp 0x100052a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100052b1
cmp esi, 0x3b63
je 0x100052ce
inc ebx
add edi, 0x18
cmp ebx, dword [ebp]
jb 0x100051d5
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100051b4
push ebp
call dword [sym.imp.MSVCR90.dll_free]
mov ecx, dword [esp + 0x118]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10005e60
add esp, 0x108
ret
Function at 0x100059c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x1000fa44]
lea eax, [esp]
push eax
push 0x1000f9e0
push 0
push 0
push 0x10008028
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x1000f9e0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100059f0
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x10005a1d
mov edx, eax
and edx, 0x80000001
jns 0x10005a10
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x1000f9e0], dl
inc eax
cmp eax, ecx
jl 0x10005a01
pop ecx
ret

Function at 0x10005a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x1000fa44]
lea eax, [esp]
push eax
push 0x1000f9f0
push 0
push 0
push 0x10008040
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x1000f9f0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005a50
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x10005a7d
mov edx, eax
and edx, 0x80000001
jns 0x10005a70
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x1000f9f0], dl
inc eax
cmp eax, ecx
jl 0x10005a61
pop ecx
ret

Function at 0x10005a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x1000fa44]
lea eax, [esp]
push eax
push 0x1000fa00
push 0
push 0
push 0x10008058
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x1000fa00
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005ab0
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x10005add
mov edx, eax
and edx, 0x80000001
jns 0x10005ad0
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x1000fa00], dl
inc eax
cmp eax, ecx
jl 0x10005ac1
pop ecx
ret

Function at 0x10005ae0
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x10005b90
push 0
push 0
mov byte [0x10008078], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10005b13
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x100016e0
push 0
push 0
call esi
test eax, eax
je 0x10005b2e
push eax
call edi
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x10002900
push 0
push 0
call esi
test eax, eax
je 0x10005b49
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x100038f0
push 0
push 0
call esi
test eax, eax
je 0x10005b64
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x10005300
push 0
push 0
call esi
test eax, eax
je 0x10005b7f
push eax
call edi
pop edi
pop esi
add esp, 0x14
ret

Function at 0x10005e60
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10005e6a
repz ret
jmp fcn.1000621d
Function at 0x44ab98
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x45e9d0]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x44aba4
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x44abe8
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x44abc5
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44ac07
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
xor edx, edx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x400]
mov ecx, 0x100
mov ebx, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, edx
add esi, 1
je 0x44ac9f
inc edx
and edx, 0x800000ff
jns 0x44ac41
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [ebp + edx*4 - 0x400]
add ebx, eax
and ebx, 0x800000ff
jns 0x44ac5a
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, al
mov eax, dword [ebp + ebx*4 - 0x400]
mov dword [ebp + edx*4 - 0x400], eax
movzx eax, cl
mov dword [ebp + ebx*4 - 0x400], eax
mov ecx, dword [ebp + edx*4 - 0x400]
add ecx, eax
and ecx, 0x800000ff
jns 0x44ac8d
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [ebp + ecx*4 - 0x400]
mov ecx, dword [ebp + 8]
xor byte [edi + ecx], al
inc edi
cmp edi, esi
jb 0x44ac30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45fc4d
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x45fc78
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x45fc78
cmp al, 0xc0
je 0x45fc78
cmp al, 0xcc
je 0x45fc78
add edx, 2
cmp dx, cx
jb 0x45fc5d
pop esi
ret

Function at 0x4626ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.00462647
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x4626c9
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x4626d7
pop edi
pop esi
pop ebp
ret

Function at 0x4647b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4647ce
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x4647c1
pop esi
pop ebp
ret

Function at 0x4647d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x4647ee
shr esi, 2
push esi
call fcn.004647b4
pop ecx
jmp 0x4647ff
test esi, esi
je 0x4647ff
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x4647f4
pop esi
pop ebp
ret

Function at 0x464802
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x464828
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x464817
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x46c5bd
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x46c6b6
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
jne 0x46c5df
test esi, esi
jne 0x46c6b6
cmp edx, 3
je 0x46c615
cmp edx, 4
je 0x46c615
cmp edx, 5
je 0x46c615
cmp edx, 6
je 0x46c615
cmp edx, 7
je 0x46c615
cmp edx, 8
je 0x46c615
cmp edx, 0xa
je 0x46c615
cmp edx, 0xb
je 0x46c615
cmp edx, 0xc
je 0x46c615
cmp edx, 0xd
jne 0x46c6b6
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0046c5a0
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x46c6bb
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x46c6b6
cmp esi, 0x40
ja 0x46c65a
cmp dword [ebp + 8], ebx
je 0x46c681
push esi
push dword [ebp + 8]
push ecx
call fcn.00474a70
add esp, 0xc
jmp 0x46c67e
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004711fe
pop ecx
test eax, eax
jne 0x46c6bb
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.004712cf
mov dword [ebp - 4], eax
test eax, eax
jne 0x46c6bb
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x46c699
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.00474500
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x46c699
mov eax, dword [ebp - 4]
jmp 0x46c6bb
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470b4d
Capabilities:
Hash data using sha256

Disassembly:
mov edx, ecx
test edx, edx
jne 0x470b01
mov eax, 0xffffff53
ret
push edi
push 8
xor eax, eax
mov edi, edx
pop ecx
rep stosd dword es:[edi], eax
mov dword [edx], 0x6a09e667
mov dword [edx + 4], 0xbb67ae85
mov dword [edx + 8], 0x3c6ef372
mov dword [edx + 0xc], 0xa54ff53a
mov dword [edx + 0x10], 0x510e527f
mov dword [edx + 0x14], 0x9b05688c
mov dword [edx + 0x18], 0x1f83d9ab
mov dword [edx + 0x1c], 0x5be0cd19
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
pop edi
ret
test ecx, ecx
jne 0x470b57
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x470af5
Function at 0x471222
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x471230
mov eax, 0xffffff53
pop esi
ret
mov eax, dword [esi + 0x60]
push ebx
push edi
lea edi, [esi + 0x20]
mov byte [edi + eax], 0x80
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
push 0x38
pop ebx
cmp ecx, ebx
jbe 0x47127d
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.00474500
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.00470ac8
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.00470b5f
test eax, eax
jne 0x4712cb
and dword [esi + 0x60], eax
mov eax, dword [esi + 0x60]
sub ebx, eax
push ebx
add eax, edi
push 0
push eax
call fcn.00474500
mov ecx, dword [esi + 0x64]
mov edx, edi
mov eax, dword [esi + 0x68]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
shl eax, 3
mov dword [esi + 0x64], eax
call fcn.00470ac8
mov eax, dword [esi + 0x68]
add esp, 0x10
mov dword [edi + 0x38], eax
mov edx, edi
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [edi + 0x3c], eax
pop edi
pop ebx
pop esi
jmp fcn.00470b5f
pop edi
pop ebx
pop esi
ret

Function at 0x4712cf
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x471304
test edi, edi
je 0x471304
call fcn.00471222
test eax, eax
jne 0x471309
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.00470ac8
pop ecx
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp 0x470af5
mov eax, 0xffffff53
pop edi
pop ebx
ret

Function at 0x4713be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
neg eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
je 0x47145b
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x47145b
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.0046cd0b
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x471460
xor edx, edx
push edi
cmp dword [esi], edx
jle 0x471420
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.004713a8
mov ecx, ebx
mov esi, eax
call fcn.004713a8
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [esi]
jl 0x4713f9
jmp 0x471446
mov ecx, dword [ebp - 4]
jmp 0x471446
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.004713a8
mov ecx, ebx
mov esi, eax
call fcn.004713a8
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [ebx]
jl 0x471425
mov eax, dword [ebp - 8]
pop edi
mov eax, dword [eax]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [ebp - 0xc]
jmp 0x471460
mov eax, 0xffffff53
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
mov ecx, 0x7e5e5629
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, str.xdE
nop
mov ebx, 0x42cd70
mov ecx, 0x643810dd
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x406243
pop dword [ebp - 0xc]
mov eax, 0x5aa53f69
add eax, 0xa59b22da
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3c1c388b
sub dword [ebp - 0x1c], 0xedc9f340
mov dword [ebp - 0x18], 0xb4c9d9d4
add dword [ebp - 0x18], 0x7d697271
mov dword [ebp - 0x14], 0x7266d78f
add dword [ebp - 0x14], 0xd9e56c9f
mov dword [ebp - 0x10], 0x31ad9b1d
add dword [ebp - 0x10], 0xce5264e3
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xcc314f56
sub eax, 0xcbf0ce52
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x35945a12
add dword [ebp - 0x1c], 0x3ede0f44
mov dword [ebp - 0x18], 0x85979eaa
add dword [ebp - 0x18], 0xbbd4c2cb
mov dword [ebp - 0x14], 0xe20e37e3
sub dword [ebp - 0x14], 0x7e9ecb77
mov dword [ebp - 0x10], 0x80249dbd
add dword [ebp - 0x10], 0x7fdb6243
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa13
push 0
call eax
mov ecx, 0x3354a42e
add ecx, 0xccabb23f
xor ebx, ebx
add ebx, eax
mov edi, 0x46e400
add edi, dword [ebp - 0xc]
mov edx, 0xe9cdebf1
add dword [ebp - 4], 0x86f8173d
mov esi, dword [edi]
xor dword [ebp - 8], 0x586c0834
sub esi, edx
add dword [ebp - 4], 0xdb969cb3
mov dword [ebx], esi
mov dword [ebp - 8], 0xce00b052
add ebx, 4
add edi, 4
loop 0x406356
add eax, 0x14c87
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x712e5aa5
sub ecx, 0x70ee5aa5
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
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 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
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 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x401120
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b5d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x434674]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
push eax
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x401196
mov ecx, dword [edi + 4]
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 2
push 0
push 0
push 0
push 4
push esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], str.WindowsService_in_OnStart
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push 8
call fcn.0041227d
add esp, 4
test eax, eax
je 0x4011af
mov dword [eax], 0x401210
mov dword [eax + 4], edi
jmp 0x4011b1
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x10
push eax
push 0x4019c0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x4011ea
push 0
call fcn.00412221
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push 0x431b5c
lea eax, [ebp - 0x10]
push eax
call fcn.00414e8b
int3

Function at 0x401380
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
cmp edi, ebx
je 0x4013cc
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 8]
push edx
push ebx
push 2
push ebx
push ebx
push ebx
push 4
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], str.WindowsService_in_OnStop
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, dword [esi + 0x30]
mov ecx, 1
mov dword [esi + 0x28], ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4013fd
mov ebx, str.Stop
mov edi, str.Socket_Service
mov byte [eax + 1], cl
call fcn.00410070
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [esi + 0x2c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebx
test eax, eax
je 0x401427
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push 0x431b5c
lea eax, [ebp - 4]
push eax
call fcn.00414e8b
mov esp, ebp
pop ebp
ret