joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50e0b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.00555ae0
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.00555020
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.0050aad0
test eax, eax
je 0x50e192
cmp byte [ebx + 0x2afa], 0
je 0x50e106
mov ecx, ebx
call fcn.0050b540
push 0xfff
lea edx, [ebp - 0x1217]
push 0
push edx
mov dword [ebp - 0xa], 0
mov word [ebp - 0x10], 0x124
mov dword [ebp - 0xe], 0x20009126
call fcn.00555020
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 8]
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x1214], ecx
push 0
mov dword [ebp - 0x1218], eax
push 0x212
mov word [ebp - 0x1210], dx
mov ecx, 0x82
lea edi, [ebp - 0x120e]
lea eax, [ebp - 0x1218]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x3c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x50e192
mov eax, dword [ebx + 0x3c]
push 0
lea edx, [ebp - 0x218]
push edx
push eax
mov ecx, ebx
call fcn.0050dac0
test eax, eax
jne 0x50e1b8
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 5
jl 0x50e0e7
pop edi
xor al, al
pop esi
movzx eax, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x218]
push ecx
push 0x104
push edx
mov bl, 1
call fcn.00554e48
add esp, 0xc
pop edi
pop esi
movzx eax, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.00555020
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.WS2_32.dll_send]
add esp, 0xc
mov dword [ebp - 4], 0
lea esp, [esp]
mov ecx, esi
call fcn.0050aad0
test eax, eax
je 0x50e486
cmp byte [esi + 0x2afa], 0
je 0x50e44b
mov ecx, esi
call fcn.0050b540
mov eax, dword [esi + 0x3c]
push 0
push 0xa
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0xa], 0
mov word [ebp - 0x10], 0x124
mov dword [ebp - 0xe], edi
call ebx
cmp eax, 0xffffffff
je 0x50e486
mov edx, dword [esi + 0x3c]
push 0
lea ecx, [ebp - 0x218]
push ecx
push edx
mov ecx, esi
call fcn.0050dac0
test eax, eax
jne 0x50e4a8
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 5
jl 0x50e430
pop edi
xor al, al
pop esi
movzx eax, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push ecx
push edx
mov bl, 1
call fcn.00554e48
add esp, 0xc
pop edi
pop esi
movzx eax, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x510880
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
xor ebx, ebx
push 0x204
lea eax, [ebp - 0x21c]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x220], ebx
call fcn.00555020
add esp, 0xc
mov ecx, esi
call fcn.0050aad0
test eax, eax
jne 0x5108dc
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x2afa], bl
je 0x5108eb
mov ecx, esi
call fcn.0050b540
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.WS2_32.dll_send]
push ebx
push 0xa
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 0x12], ebx
mov word [ebp - 0x18], 0x124
mov dword [ebp - 0x16], ecx
call edi
cmp eax, 0xffffffff
je 0x51099e
mov ecx, dword [esi + 0x3c]
push ebx
push pe_nt_image_headers32
push 0x5fcae8
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x51099e
mov eax, dword [0x5fcae8]
mov edx, dword [0x5fcaec]
mov cx, word [0x5fcaf0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x10], cx
cmp al, 0x24
jne 0x51099e
cmp dword [0x5fcaea], 0x20009301
je 0x5109b3
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x16]
push ecx
lea edx, [ebp + 8]
push str.Bad_data_type._Received_type__04Xh
push edx
call fcn.004060d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404d60
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x5fcaee], 4
jne 0x51099e
mov ebx, dword [0x5fcaf2]
test ebx, ebx
je 0x51099e
mov ecx, dword [esi + 0x3c]
push 0
push 0xa
lea eax, [ebp - 0x18]
push eax
push ecx
mov dword [ebp - 0x12], 0
mov word [ebp - 0x18], 0x24
mov dword [ebp - 0x16], 0x55aa0000
call edi
cmp eax, 0xffffffff
je 0x51099e
xor edi, edi
test ebx, ebx
je 0x510a45
mov edx, dword [ebp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x510a45
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x510a14
push ebx
push edi
call eax
add esp, 8
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00555020
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
add esp, 0xc
push ecx
lea edx, [ebp - 0x220]
push edx
push eax
mov ecx, esi
call fcn.0050dac0
inc edi
cmp edi, ebx
jb 0x5109f3
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x510a55
push 1
push 1
call eax
add esp, 8
mov ecx, esi
call fcn.00510690
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5110c0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [0x5fcbe8]
test eax, eax
jne 0x5110cf
mov eax, 1
ret
mov ecx, dword [0x5fcc38]
cmp ecx, dword [eax + 0x4c]
je 0x5110f0
push ecx
call fcn.00532540
add esp, 4
test eax, eax
jne 0x511193
mov eax, dword [0x5fcbe8]
mov cx, word [eax + 4]
mov word [0x5fcc30], cx
mov dl, byte [eax + 6]
mov byte [0x5fcc32], dl
mov ecx, dword [eax + 8]
mov dword [0x5fcc20], ecx
mov edx, dword [eax + 0xc]
mov dword [0x5fcc24], edx
mov ecx, dword [eax + 0x10]
mov dword [0x5fcc28], ecx
mov edx, dword [eax + 0x14]
mov dword [0x5fcc2c], edx
mov ecx, dword [eax + 0x18]
mov dword [0x5fcc0c], ecx
mov edx, dword [eax + 0x1c]
mov dword [0x5fcc10], edx
mov ecx, dword [eax + 0x20]
mov dword [0x5fcc14], ecx
mov edx, dword [eax + 0x24]
mov dword [0x5fcc18], edx
mov ecx, dword [eax + 0x28]
push esi
mov dword [0x5fcc1c], ecx
push edi
lea esi, [eax + 0x2c]
mov ecx, 8
mov edi, 0x5fcbec
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x4c]
mov dword [0x5fcc38], edx
mov ecx, dword [eax + 0x50]
mov dword [0x5fcc34], ecx
mov edx, dword [eax]
dec dword [0x5fcc44]
push eax
mov dword [0x5fcbe8], edx
call fcn.00553d26
add esp, 4
pop edi
xor eax, eax
pop esi
ret

Function at 0x511620
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0
call fcn.0055dbea
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 4
push 0
push ecx
mov dword [ebp - 0xc], eax
push edx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], 0
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
test esi, esi
je 0x51167e
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00554c82
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push edx
call fcn.00554c82
add esp, 4
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5116f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x26c
push esi
push edi
mov ecx, 0x16
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 4]
push eax
push 1
push 0
lea ecx, [ebp - 0x64]
push ecx
push edx
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x511735
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x26c]
push ecx
push 0
push 0
push str.SystemRoot
push edx
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x511779
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x26c]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x511786
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5117b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x202]
push ecx
mov dword [ebp - 4], 0
mov word [ebp - 0x204], ax
call fcn.00555020
push str.sstray.exe
lea edx, [ebp - 0x204]
push str.SYSTEMCurrentControlSetServices_s
push edx
call fcn.00555a14
mov edx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x204]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x511821
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push esi
push str.Parameters
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
je 0x51184f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x511870
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x511882
sub eax, edx
sar eax, 1
push str.sstray.exe
jne 0x5118af
mov eax, dword [ebp + 0xc]
push eax
push str._s_system32_s
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x5118c1
push esi
push str._s_system32_s
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.0055dc3f
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
test eax, eax
jne 0x5118f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x511900
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
push ebx
push 0xf003f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x511923
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0xf01ff
push str.Time_Control_Service
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x511959
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x5119fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x426
je 0x5119fa
cmp edi, 0x41d
jne 0x511a0d
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0
push 0x3e8
call edi
lea edx, [ebp - 0x20]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov eax, dword [ebp - 0x1c]
je 0x5119d5
cmp eax, 3
jne 0x5119d5
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
cmp ecx, 5
jl 0x5119a7
jmp 0x5119da
cmp eax, 1
je 0x5119fa
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push 0x41d
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x511a29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511af0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5966d3
push eax
mov eax, 0x2b28
mov dword fs:[0], esp
call fcn.00555ae0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
lea ecx, [ebp - 0x10]
call fcn.0040bfb0
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
lea ecx, [ebp - 0x14]
call fcn.00413810
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x511b62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x511b8f
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
movzx esi, byte [eax + 2]
movzx eax, byte [eax + 3]
push eax
push esi
push edx
push ecx
lea edx, [ebp - 0x10]
push 0x5a008c
push edx
call fcn.004060d0
add esp, 0x18
lea ecx, [ebp - 0x2b34]
call fcn.0050fb70
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x511bb6
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov eax, dword [ebp - 0x10]
push 1
push eax
lea ecx, [ebp - 0x2b34]
call fcn.0050d2f0
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x511c0e
mov byte [ecx], 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2b34]
call fcn.0050f0a0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x511bfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [ecx], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2b34]
call fcn.0050f0a0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x511c3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0xe0000001
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x511c60
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1420
call fcn.00555ae0
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, edi
jne 0x511d6f
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
lea edx, [ebp - 4]
push edx
push 0x1000
lea eax, [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_EnumProcesses
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
cmp eax, edi
jle 0x511d67
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + edi*4 - 0x1420]
push ecx
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x511d5c
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 8]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
mov edx, dword [ebp - 8]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x511d59
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.005571bb
add esp, 8
test eax, eax
jne 0x511d59
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp + edi*4 - 0x1420]
je 0x511d59
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x511cd6
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
push 0xbb8
push 2
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x511d67
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
push ecx
push edi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x513a80
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5968c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x513ac9
mov dword [ebp - 0x1c], 1
push 0x5e1f30
lea eax, [ebp - 0x1c]
push eax
call fcn.00554cbc
lea ecx, [ebp - 0x18]
push ecx
push 0x5aa6d0
push 1
push edi
push 0x5aa6c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x513af9
mov dword [ebp - 0x20], 2
push 0x5e1f30
lea edx, [ebp - 0x20]
push edx
call fcn.00554cbc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jge 0x513b21
mov dword [ebp - 0x24], 3
push 0x5e1f30
lea ecx, [ebp - 0x24]
push ecx
call fcn.00554cbc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, edi
jge 0x513b46
mov dword [ebp - 0x28], 4
push 0x5e1f30
lea ecx, [ebp - 0x28]
push ecx
call fcn.00554cbc
mov dword [ebp - 4], 0xffffffff
jmp 0x513b67
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x513b76
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x513b85
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x514c70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push esi
push 0
push 0x80
push 3
push 0
push 0
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x514ca1
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x14]
xor eax, eax
push edi
mov dword [ebx], 0
push edx
mov dword [ecx], eax
push eax
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.00555020
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
push 4
push ebx
push esi
call edi
mov eax, dword [ebp + 0x10]
push 0
lea edx, [ebp - 4]
push edx
push 4
push eax
push esi
call edi
mov edx, dword [ebp + 0x14]
push 0
lea ecx, [ebp - 4]
push ecx
push 8
push edx
push esi
call edi
mov ebx, dword [ebx]
push ebx
push 8
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov edx, dword [ebp - 8]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
mov ebx, eax
push ebx
push esi
call edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
push eax
push ebx
lea ecx, [ebp - 8]
push ecx
push edx
call fcn.00514c60
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x514d68
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
call fcn.00554470
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
pop edi
pop ebx
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x514da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 0
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x514dcf
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [edi], 0
mov dword [ecx], 0
push edx
mov dword [ebx], eax
push eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.00555020
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 4]
push edx
push 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call ebx
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0xc50
push 0
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 4]
push edx
push eax
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x515100
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596999
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x21f]
mov dword [ebp - 0x14], ebx
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x220], bl
call fcn.00555020
push 0x103
lea ecx, [ebp - 0x11b]
push ebx
push ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x11c], bl
call fcn.00555020
add esp, 0x18
push ebx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x59bf4c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x11c]
push str._8.8X
push eax
call fcn.0055a166
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
add esp, 0xc
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5151b0
sub eax, edx
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, esi
call fcn.0040a960
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret