joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x415004]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
call fcn.00401940
add esp, 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x40d1f0
push 0x65
call fcn.004018d0
add esp, 0x10
test eax, eax
jne 0x4013dc
xor eax, eax
jmp 0x401515
lea edx, [ebp - 0xc]
push edx
push 0xf023f
push 0
push 0x40d1f4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40141a
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 3
push 0
push 0x40d208
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x401421
xor eax, eax
jmp 0x401515
lea eax, [ebp - 0xc]
push eax
push 0xf013f
push 0
push str.SOFTWARE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40145f
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 3
push 0
push str._mecyqsezstager
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x401466
xor eax, eax
jmp 0x401515
push 0
call section..text
add esp, 4
mov dword [ebp - 0x18], eax
push 1
call section..text
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x40d25c
call fcn.00401750
add esp, 4
call fcn.00401970
test eax, eax
je 0x40149f
mov dword [ebp - 0x14], str.C:WindowsSysWOW64WindowsPowerShell_v1.0
jmp 0x4014a6
mov dword [ebp - 0x14], 0x40d2f0
mov ecx, dword [ebp - 0x18]
push ecx
push 0x40d280
mov edx, dword [ebp - 0x14]
push edx
push 0x40d2f4
call fcn.00401550
add esp, 0x10
test eax, eax
je 0x4014d1
push str._mecyqsezdpwvhegu
call fcn.004019c0
add esp, 4
call fcn.00401970
test eax, eax
je 0x401513
push 0x40d33c
call fcn.00401750
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
push str.powershell
push 0x40d378
push 0x40d37c
call fcn.00401550
add esp, 0x10
test eax, eax
je 0x401513
push str._mecyqsezwexemcox
call fcn.004019c0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401a9f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402dcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x430020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402e64
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e44
xor eax, eax
push ebp
push 0x402e3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402e80
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e44
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x430020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x430020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403abc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x432044], 0
je 0x403b1d
cmp word [0x432218], 0xd7b2
jne 0x403ae5
cmp dword [0x432220], 0
jbe 0x403ae5
mov eax, 0x432214
call dword [0x432230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x43006c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403b44
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x430030], 0
jne 0x403b39
push 0
push 0x430064
push 0x43006c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x404e64
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405094
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ee7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405094
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ee7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4050b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404f70
xor eax, eax
push ebp
push 0x404f69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404cac
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404f4e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4050d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404f4e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f70
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale_1
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40508a
cmp byte [ebp - 0xd], 0
jne 0x404fb7
cmp byte [ebp - 0x12], 0
je 0x40508a
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404fd0
dec ebx
cmp byte [ebx], 0x2e
je 0x404fdf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404fcf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40508a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40501c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40508a
cmp byte [ebp - 0xd], 0
je 0x40508a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40508a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405720
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405786
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403ea8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004029c0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405770
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40578d
lea eax, [ebp - 0x10]
call fcn.00403c38
ret

Function at 0x409d7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x409db5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d28
jmp 0x409dbe
mov eax, ebx
mov edx, esi
call fcn.00403c8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409dc8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x409de9
mov al, byte [esp]
jmp 0x409deb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b25c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b2c0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403ea8
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004071f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b2c7
lea eax, [ebp - 0xc]
call fcn.00403c38
ret

Function at 0x4141dc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4141e2
ret

Function at 0x4161ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4161fd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4161e4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4161d4
jmp 0x4161fd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4161e5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e99c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x41e9ca
mov eax, ebx
call fcn.0041f450
cmp dword [ebx + 0x40], 0
je 0x41e9c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x41ea3b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x41ea2d
cmp dword [ebx + 8], 0
je 0x41e9ec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x41e9fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x41ea2d
cmp dword [ebx + 8], 0
je 0x41e9df
cmp eax, 3
je 0x41ea11
dec eax
jne 0x41e9df
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x41e9df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x41e9df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x41ea59
cmp dword [ebx + 0x14], 0xcc
je 0x41ea59
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0041ea64
pop ebx
ret
Function at 0x402080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x438018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
je 0x4020fb
cmp dword [esi + 0x34], 0
je 0x4020fb
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4020fb
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [esi + 0x34]
push dword [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dcd3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040dcd3
mov esp, ebp
pop ebp
ret 4

Function at 0x402940
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x438018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [edx + 8]
test edi, edi
je 0x402999
mov esi, dword [edx + 0xc]
test esi, 0x2000000
je 0x4029ae
mov esi, dword [edx]
cmp esi, dword [edx + 4]
jne 0x402999
cmp dword [edx + 0x10], 0
push ebx
jne 0x402986
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x3c]
cmp dword [eax + 0x38], ebx
je 0x402986
xor edx, edx
mov eax, edi
div ebx
test edx, edx
jne 0x402998
push dword [ecx + 0x34]
mov eax, dword [ecx + 0x20]
push 0x4000
push edi
push esi
call eax
add esp, 0x10
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dcd3
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov eax, esi
shr eax, 0x1e
and eax, 1
shr ecx, 0x1d
and ecx, 1
lea ecx, [eax + ecx*2]
mov eax, esi
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x434788]
lea eax, [ebp - 8]
push eax
mov eax, ecx
or eax, 0x200
and esi, 0x4000000
cmove eax, ecx
push eax
push edi
push dword [edx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402999
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402a17
sub ecx, edx
lea eax, [ecx + 0x1f]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0xc]
mov esi, eax
push str.Error_protecting_memory_page
push str._s:__s
push esi
call fcn.004028d0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040dcd3
mov esp, ebp
pop ebp
ret
Function at 0x404280
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427462
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x438018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x608], esi
mov dword [ebp - 0x630], esi
xorps xmm0, xmm0
mov dword [ebp - 0x60c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x604]
mov dword [ebp - 4], 0
push eax
push 0x400
mov dword [ebp - 0x60c], 1
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor edi, edi
mov dword [ebp - 0x608], eax
test eax, eax
jle 0x40442a
nop word [eax + eax]
movzx eax, word [ebp + edi*4 - 0x604]
lea ecx, [ebp - 0x204]
push 0x1f4
push ecx
push 2
push eax
mov dword [ebp - 0x610], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x61c], 0
lea edx, [eax + 1]
mov dword [ebp - 0x618], 0xf
mov byte [ebp - 0x62c], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404371
sub eax, edx
lea ecx, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00402460
mov ecx, dword [ebp - 0x610]
mov dword [ebp - 0x614], ecx
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4043d4
movups xmm0, xmmword [ebp - 0x62c]
mov edx, 0xf
mov byte [ebp - 0x62c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x61c]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], ecx
add dword [esi + 4], 0x1c
jmp 0x4043e9
lea ecx, [ebp - 0x62c]
push ecx
push eax
mov ecx, esi
call fcn.0040bcf0
mov edx, dword [ebp - 0x618]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x40441d
mov ecx, dword [ebp - 0x62c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404413
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404447
push edx
push ecx
call fcn.0040df13
add esp, 8
inc edi
cmp edi, dword [ebp - 0x608]
jl 0x404320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dcd3
mov esp, ebp
pop ebp
ret
call fcn.004123b7
int3
Function at 0x4045e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x438018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x110], edi
mov ax, word [0x4349a8]
movq xmm0, qword [str._unknown_]
push 0xfa
mov word [ebp - 0x100], ax
lea eax, [ebp - 0xfe]
push 0
push eax
movq qword [ebp - 0x108], xmm0
call fcn.0040fac0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404680
lea eax, [ebp - 0x10c]
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x404680
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x108]
mov dword [edi], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4046a7
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
mov ecx, edi
call fcn.00402460
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040dcd3
mov esp, ebp
pop ebp
ret

Function at 0x404780
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427503
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x438018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea ecx, [ebp - 0xa0]
mov edx, esi
call fcn.004046e0
mov edi, eax
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004045e0
push eax
mov edx, str._c_taskkill__im__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040ba20
push str.___f__erase__
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040ba90
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040bc50
push str.___exit
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040ba90
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.004021f0
lea ecx, [ebp - 0x58]
call fcn.004021f0
lea ecx, [ebp - 0x70]
call fcn.004021f0
lea ecx, [ebp - 0x88]
call fcn.004021f0
lea ecx, [ebp - 0xa0]
call fcn.004021f0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004021b0
push eax
push str.C:WindowsSystem32cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call fcn.00415e0e
int3
Function at 0x40b070
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x5e], 0
je 0x40b0bd
movups xmm0, xmmword [ecx]
mov eax, 0x40
movaps xmm2, xmmword [str.................]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
pxor xmm0, xmm2
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
pxor xmm0, xmm2
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
pxor xmm0, xmm2
movups xmmword [ecx + 0x30], xmm0
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x5f
jb 0x40b0b3
mov eax, ecx
ret

Function at 0x40b170
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xc], 0
je 0x40b182
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xd
jb 0x40b178
mov eax, ecx
ret
Function at 0x53a080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x103000]
push edi
jmp 0x53a09a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53a0a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53a090
mov eax, 1
add ebx, ebx
jne 0x53a0b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53a0c4
jne 0x53a0e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53a0e3
dec eax
add ebx, ebx
jne 0x53a0d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53a0a8
add ebx, ebx
jne 0x53a0df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53a135
xor ecx, ecx
sub eax, 3
jb 0x53a0fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53a16a
sar eax, 1
mov ebp, eax
jmp 0x53a106
add ebx, ebx
jne 0x53a106
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53a0d4
inc ecx
add ebx, ebx
jne 0x53a114
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53a0d4
add ebx, ebx
jne 0x53a121
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53a116
jne 0x53a132
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53a116
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53a154
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53a146
jmp 0x53a096
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53a154
add edi, ecx
jmp 0x53a096
pop esi
mov edi, esi
mov ecx, 0x61d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53a172
cmp byte [edi], 4
jne 0x53a172
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53a177
lea edi, [esi + 0x138000]
mov eax, dword [edi]
or eax, eax
je 0x53a1ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17db3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17db78]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53a1a4
mov ecx, edi
jns 0x53a1d3
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 + 0x17db80]
or eax, eax
je 0x53a1e9
mov dword [ebx], eax
add ebx, 4
jmp 0x53a1c1
call dword [esi + 0x17db7c]
mov ebp, dword [esi + 0x17db84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x53a223
sub esp, 0xffffff80
jmp 0x4037bc
Function at 0x401f6f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x401f80
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, esi
pop esi
jmp 0x411308
inc eax
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
test dword [ebp + 0x55fffffc], edi
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00410a96
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00410a4b
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
invalid
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx

Function at 0x402888
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
push ebx
push ebx
push 0x438bb4
call int.00410db8
mov dword [esi + 0xc], eax
mov dword [eax + 0x44], 0x3f1
mov eax, dword [esi + 0xc]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, ebx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4028c2
cmp dword [eax + 0x20], ebx
jne 0x4028d2
cmp edi, 0x14
jge 0x4028d2
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4028b6
mov ecx, eax
pop edi
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x14], eax
pop esi
pop ebx
ret