joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dfca
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e009
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e009
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e009
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41e009
cmp dword [ecx + 0x74], 0xe
jbe 0x41e009
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x423fbf
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449898
push 0x449890
push str.FlsAlloc
push 0x1f
call fcn.00423e7e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423ff3
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c144]
call esi
jmp 0x423ff9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42403d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4498a8
push 0x4498a0
push str.FlsGetValue
push 0x21
call fcn.00423e7e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424074
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42407c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4498b0
push 0x4498a8
push str.FlsSetValue
push 0x22
call fcn.00423e7e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4240b6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42586e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42590b
push ebx
push esi
call fcn.00425837
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004257cb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4258b8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42590a
push edi
push eax
call fcn.00424281
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4258d8
call fcn.004242cf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425909
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004257cb
add esp, 0x20
test eax, eax
jne 0x4258f7
push edi
call fcn.004242cf
jmp 0x4258ff
push ebx
call fcn.004242cf
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42bb50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42bb7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42bb7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42fb71
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43757a
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c770
mov dword [esi + 4], 0x43c758
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x43c73c
mov dword [esi + 4], 0x43c724
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43196e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x43197d
pop dword [ebp - 0x34]
mov eax, 0x9820c17f
sub eax, 0x97dda802
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3c9c0
push 0
mov eax, 0xc832c710
add eax, 0x3810b920
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x4f9b
mov edx, eax
mov edi, 0x44c600
add edi, dword [ebp - 0x34]
mov esi, 0x2abd0fa2
add esi, 0xd523702c
xor dword [ebp - 0x28], eax
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0x61ea5c43
sub ebx, esi
mov dword [ebp - 0x20], 0xf836972
mov dword [edx], ebx
add edx, 0xbaf1cd7e
sub edx, 0xbaf1cd7a
add edi, 4
loop 0x4319d0
add eax, 0x3bfb1b04
sub eax, 0x3bf9e9c5
xor ebx, ebx
add ebx, eax
add eax, 0x9ea13cb0
add eax, 0x615ec355
mov ecx, 0x75e9c389
add ecx, 0x8a563c77
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x433770
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x433799
xor eax, eax
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4337a8
mov eax, 1
ret 4
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x405660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40566f
pop dword [ebp - 4]
mov eax, 0x843cf1ba
add eax, 0x7c0364b5
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x357ee
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0xe47d41ed
add ecx, 0x1b82f736
mov esi, eax
mov edx, 0x211419f3
sub edx, 0x20d2de2f
add edx, dword [ebp - 4]
mov ebx, 0x558f778
sub ebx, 0x74920b6c
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
add esi, 0x4cb532bf
sub esi, 0x4cb532bb
add edx, 0x4fed4e3e
sub edx, 0x4fed4e3a
loop 0x4056c9
add eax, 0x3db94295
sub eax, 0x3db86b36
xor ebx, ebx
add ebx, eax
add eax, 0xe99735e7
add eax, 0x1668ca1e
mov ecx, 0x2aedcc9e
add ecx, 0xd5523362
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x409607
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f19
and dword [ebp - 4], 0
cmp dword [0x412990], 0
mov ebx, eax
jne 0x4096b8
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409769
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409769
push eax
call fcn.00405660
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412990], eax
call esi
push eax
call fcn.00405660
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412994], eax
call esi
push eax
call fcn.00405660
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412998], eax
call esi
push eax
call fcn.00405660
pop ecx
mov dword [0x4129a0], eax
test eax, eax
je 0x4096b8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405660
pop ecx
mov dword [0x41299c], eax
mov eax, dword [0x41299c]
cmp eax, ebx
je 0x409710
cmp dword [0x4129a0], ebx
je 0x409710
push eax
call fcn.00405660
push dword [0x4129a0]
mov esi, eax
call fcn.00405660
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409710
test edi, edi
je 0x409710
call esi
test eax, eax
je 0x409707
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409707
test byte [ebp - 0xc], 1
jne 0x409710
or dword [ebp + 0x10], 0x200000
jmp 0x409749
mov eax, dword [0x412994]
cmp eax, ebx
je 0x409749
push eax
call fcn.00405660
pop ecx
test eax, eax
je 0x409749
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409749
mov eax, dword [0x412998]
cmp eax, ebx
je 0x409749
push eax
call fcn.00405660
pop ecx
test eax, eax
je 0x409749
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412990]
call fcn.00405660
pop ecx
test eax, eax
je 0x409769
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40976b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401117
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x406290
cmp dword [edi], ebx
je 0x4011a8
push str._mozilla.org_observer_service_1
mov edx, 0x40811c
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.0040461d
mov eax, dword [ebp - 4]
test eax, eax
je 0x401188
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change2
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.004046cc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4011a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4011df
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x4011df
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00401c86
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.00404287
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4011fb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x401208
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x401214
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x401224
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10001372
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x1004e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x408]
mov edi, ecx
push 0
push eax
call fcn.10022700
push edi
lea eax, [ebp - 0x408]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001499
test byte [ebp - 0x658], 0x10
jne 0x1000147c
mov ecx, 0x10045a78
lea eax, [ebp - 0x62c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000140f
test dx, dx
je 0x1000140b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000140f
add eax, 4
add ecx, 4
test dx, dx
jne 0x100013e9
xor eax, eax
jmp 0x10001414
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000147c
mov ecx, 0x10045a7c
lea eax, [ebp - 0x62c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10001449
test dx, dx
je 0x10001445
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10001449
add eax, 4
add ecx, 4
test dx, dx
jne 0x10001423
xor eax, eax
jmp 0x1000144e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000147c
lea eax, [ebp - 0x62c]
push eax
push edi
lea eax, [ebp - 0x408]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x658]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100013d1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000a179
mov esp, ebp
pop ebp
ret

Function at 0x100014a9
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x658
mov eax, dword [0x1004e00c]
xor eax, esp
mov dword [esp + 0x654], eax
push esi
push edi
push 0x400
lea eax, [esp + 0x25c]
mov edi, ecx
push 0
push eax
call fcn.10022700
add esp, 0xc
lea eax, [esp + 0x258]
push edi
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001577
push 0x2e
pop eax
test byte [esp + 8], 0x10
je 0x1000155d
cmp word [esp + 0x34], ax
je 0x1000155d
cmp word [esp + 0x36], ax
je 0x1000155d
lea eax, [esp + 0x34]
push eax
push edi
lea eax, [esp + 0x260]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [esp + 0x258]
call fcn.10001372
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x10001512
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x65c]
pop edi
pop esi
xor ecx, esp
call fcn.1000a179
mov esp, ebp
pop ebp
ret
Function at 0x10002664
Capabilities:
Get file size

Disassembly:
push 0x54
mov eax, 0x1003b70b
call fcn.1000ace4
mov ebx, ecx
mov edi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
push edi
call fcn.100066b4
lea ecx, [ebp - 0x58]
call fcn.1000158b
add esp, 0x18
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push str.SCAN
call fcn.10006709
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000798d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10006e98
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.10006e98
cmp dword [edi + 0x14], 8
jb 0x100026d4
mov eax, dword [edi]
jmp 0x100026d6
mov eax, edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x60], eax
cmp eax, 0xffffffff
je 0x10002769
and dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x10002741
cmp dword [ebp - 0x5c], 0
jne 0x10002741
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10002806
test al, al
je 0x1000275e
mov ecx, ebx
mov byte [ebx + 0x415c], 1
call fcn.1000283e
mov byte [ebx + 0x415c], 0
jmp 0x1000275e
mov esi, str.:_OK
mov ecx, esi
call fcn.100010b1
push eax
push esi
mov ecx, edi
call fcn.10006da2
push edi
mov ecx, ebx
call fcn.10002f13
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10002786
mov esi, str.:_OK
mov ecx, esi
call fcn.100010b1
push eax
push esi
mov ecx, edi
call fcn.10006da2
push edi
mov ecx, ebx
call fcn.10002f13
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10006e98
call fcn.1000ac9f
ret 4

Function at 0x1000279a
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x78]
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
pop ebx
push ebx
call dword [sym.imp.WS2_32.dll_socket]
lea esi, [edi + 0x40c0]
mov dword [edi + 0x78], eax
push str.127.0.0.1
mov word [esi], bx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [sym.imp.WS2_32.dll_connect]
pop edi
cmp eax, 0xffffffff
pop esi
setne al
pop ebx
ret

Function at 0x10002806
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.1000279a
test al, al
je 0x10002839
mov ecx, dword [ebp + 8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000281b
push 0
sub ecx, edx
push ecx
push dword [ebp + 8]
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret 4
Function at 0x10003095
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x1004e00c]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 1
push 2
pop ebx
push ebx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
jne 0x100030e4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1000314c
lea esi, [edi + 0x40c0]
push str.127.0.0.1
mov word [esi], bx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10003137
push dword [edi + 0x78]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x100030da
push str.PING
mov ecx, edi
call fcn.10002806
mov ecx, edi
call fcn.1000283e
mov al, 1
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000a179
mov esp, ebp
pop ebp
ret

Function at 0x10003161
Capabilities:
Enumerate process modules

Disassembly:
push 0x44c
mov eax, 0x1003b822
call fcn.1000ace4
mov edi, ecx
mov eax, dword [ebp + 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x450], 0x428
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x100031f9
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x230]
push eax
call fcn.10006c7d
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push dword [ebp - 0x454]
push eax
push ecx
lea eax, [ebp - 0x458]
push eax
lea ecx, [edi + 0x40d0]
call fcn.10007e22
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.10006b0c
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1000319a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1000ac9f
ret 4
Function at 0x1000320c
Capabilities:
Enumerate processes

Disassembly:
push 0x268
mov eax, 0x1003b860
call fcn.1000ace4
mov esi, ecx
mov dword [ebp - 0x270], esi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push str.QueryFullProcessImageNameW
push ebx
mov dword [ebp - 0x274], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esi, 0x40d0
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [esi]
push dword [ecx + 4]
mov ecx, esi
call fcn.10006899
mov eax, dword [esi]
push 7
pop ecx
mov dword [ebp - 0x2c], ecx
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], edi
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esi + 4], edi
mov dword [ebp - 0x26c], 0x22c
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
push edi
push 2
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x100032f5
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x26c]
push eax
push esi
call edi
cmp eax, 1
jne 0x100032f3
mov ebx, dword [ebp - 0x270]
push dword [ebp - 0x264]
mov ecx, ebx
call fcn.10003161
lea eax, [ebp - 0x26c]
push eax
push esi
call edi
cmp eax, 1
je 0x100032d1
mov ebx, dword [ebp - 0x274]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.10006b0c
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.10006b0c
call fcn.1000ac9f
ret
Function at 0x100036da
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1004e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x230], 0x22c
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000382a
push edi
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
xor edi, edi
inc edi
jmp 0x1000381a
lea eax, [ebp - 0x20c]
push eax
push str.avgcsrvx.exe
call fcn.100274c9
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgemcx.exe
cmove ebx, edi
call fcn.100274c9
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgidsagent.exe
cmove ebx, edi
call fcn.100274c9
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgnsx.exe
cmove ebx, edi
call fcn.100274c9
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgrsx.exe
cmove ebx, edi
call fcn.100274c9
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgsvcx.exe
cmove ebx, edi
call fcn.100274c9
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avgui.exe
cmove ebx, edi
call fcn.100274c9
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x20c]
push eax
push str.avguix.exe
cmove ebx, edi
call fcn.100274c9
add esp, 0x40
movzx ebx, bl
test eax, eax
lea eax, [ebp - 0x20c]
cmove ebx, edi
push eax
push str.avgwdsvcx.exe
call fcn.100274c9
pop ecx
test eax, eax
movzx ebx, bl
pop ecx
lea eax, [ebp - 0x230]
cmove ebx, edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, edi
je 0x10003726
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a179
mov esp, ebp
pop ebp
ret