joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401440
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
xor ebx, ebx
push 0x1000
push ebx
mov dword [esp + 0x1c], ebx
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebp
mov edi, eax
test edi, edi
je 0x40151f
lea eax, [esp + 0x10]
push eax
push 0x1000
push edi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x401513
push 0x104
push ebx
call esi
push eax
call ebp
mov ebp, eax
test ebp, ebp
je 0x401513
mov eax, dword [esp + 0x10]
shr eax, 2
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x401503
mov ecx, dword [edi + ebx*4]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4014e6
push 0x104
push ebp
push 0
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
jbe 0x4014df
mov edx, dword [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4014ef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x4014a6
jmp 0x4014fd
mov eax, dword [edi + ebx*4]
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebp
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [esp + 0x14]
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x401530
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [0x41b5d8]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40158b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov edi, edi
push edi
lea ecx, [esp + 0x30]
push ecx
call ebx
test eax, eax
je 0x4015ab
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401570
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00404d1c
add esp, 0x134
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
mov eax, dword [esp + 0x10]
pop esi
pop ebx
xor ecx, esp
call fcn.00404d1c
add esp, 0x134
ret
Function at 0x4015d0
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4157c1
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x41b5d8]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41b5d8]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18c]
mov ebp, dword [esp + 0x188]
push 0x104
lea ecx, [esp + 0x74]
xor ebx, ebx
push ecx
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x40178a
cmp eax, 0x104
je 0x40178a
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401660
sub eax, edx
push eax
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x5c]
call fcn.00402080
push 2
lea edi, [esp + 0x58]
mov dword [esp + 0x184], ebx
call fcn.00401e50
cmp eax, 0xffffffff
je 0x401713
lea ecx, [eax + 1]
lea esi, [esp + 0x38]
mov edx, edi
call fcn.00401ca0
mov edi, dword [esp + 0x14]
push eax
lea esi, [esp + 0x20]
mov byte [esp + 0x184], 1
call fcn.00402560
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x18c], 2
call fcn.00401d40
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x4016e7
mov eax, dword [esp + 0x20]
push eax
call fcn.004050ad
add esp, 4
mov byte [esp + 0x180], bl
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], esi
jb 0x401718
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004050ad
add esp, 4
jmp 0x401718
mov esi, 0x10
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x401726
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40178a
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x5c]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push edx
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00401d40
cmp dword [esp + 0x6c], esi
jb 0x401760
mov eax, dword [esp + 0x58]
push eax
call fcn.004050ad
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00404d1c
add esp, 0x170
ret
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401be0
Capabilities:
Allocate or change rwx memory
Check if file exists
Create thread
Execute shellcode via indirect call
Hide graphical window
Inject thread
Set console window title
Spawn thread to rwx shellcode
Terminate process

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x401bf3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp fcn.004017a0

Function at 0x402650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x7d
xor ecx, ecx
jmp 0x402660
mov al, byte [edi + ecx + 0x7245b3c3]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x40267d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x402660
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x4026d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xcb
xor ecx, ecx
jmp 0x4026e0
mov al, byte [edi + ecx - 0x3e48f7f]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x4026fd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x4026e0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x404d1c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b5d8]
jne 0x404d26
repz ret
jmp fcn.004095cc

Function at 0x40a164
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40a195
call fcn.00409a9a
mov dword [eax], esi
call fcn.00409a87
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004055d1
add esp, 0x14
push 0x16
pop eax
jmp 0x40a1ea
test dword [ebp + 0xc], 0xfffffff9
jne 0x40a171
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40a1c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00409aad
pop ecx
call fcn.00409a87
mov eax, dword [eax]
jmp 0x40a1ea
test al, 0x10
jne 0x40a1e8
test al, 1
je 0x40a1e8
test byte [ebp + 0xc], 2
je 0x40a1e8
call fcn.00409a9a
mov dword [eax], 5
call fcn.00409a87
mov dword [eax], 0xd
jmp 0x40a1b9
xor eax, eax
pop esi
pop ebp
ret
Function at 0x412e2b
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.0040b2da
and dword [ebp - 4], 0
cmp dword [0x424f7c], 0
mov ebx, eax
jne 0x412edc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412f8d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x418508
push edi
call esi
test eax, eax
je 0x412f8d
push eax
call fcn.0040b268
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424f7c], eax
call esi
push eax
call fcn.0040b268
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424f80], eax
call esi
push eax
call fcn.0040b268
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424f84], eax
call esi
push eax
call fcn.0040b268
pop ecx
mov dword [0x424f8c], eax
test eax, eax
je 0x412edc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b268
pop ecx
mov dword [0x424f88], eax
mov eax, dword [0x424f88]
cmp eax, ebx
je 0x412f34
cmp dword [0x424f8c], ebx
je 0x412f34
push eax
call fcn.0040b2e3
push dword [0x424f8c]
mov esi, eax
call fcn.0040b2e3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x412f34
test edi, edi
je 0x412f34
call esi
test eax, eax
je 0x412f2b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x412f2b
test byte [ebp - 0xc], 1
jne 0x412f34
or dword [ebp + 0x10], 0x200000
jmp 0x412f6d
mov eax, dword [0x424f80]
cmp eax, ebx
je 0x412f6d
push eax
call fcn.0040b2e3
pop ecx
test eax, eax
je 0x412f6d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x412f6d
mov eax, dword [0x424f84]
cmp eax, ebx
je 0x412f6d
push eax
call fcn.0040b2e3
pop ecx
test eax, eax
je 0x412f6d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424f7c]
call fcn.0040b2e3
pop ecx
test eax, eax
je 0x412f8d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412f8f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40618e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4061b2
xor eax, eax
test eax, eax
je 0x4061c4
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4061c4
xor ecx, ecx
jmp 0x4061c7
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x43e2c4], 0
push esi
jne 0x4062a8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406282
mov dword [ecx*4 + 0x43e2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40627d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4062d9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43e2c0]
xor eax, esi
inc ecx
dec edx
jne 0x4062bb
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x40fb18e6
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2955003f
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x402ebc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404be4
test esi, esi
jne 0x402ef3
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404cd4
jmp 0x402f14
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d58
mov dword [esp], eax
test esi, esi
je 0x402f14
cmp dword [ebx], 0
je 0x402f14
dec esi
jmp 0x402efb
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403c40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403cd8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403cb8
xor eax, eax
push ebp
push 0x403cb1
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 0x403cf4
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 0x403cb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48e020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48e020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4049dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49204c], 0
je 0x404a3d
cmp word [0x492220], 0xd7b2
jne 0x404a05
cmp dword [0x492228], 0
jbe 0x404a05
mov eax, 0x49221c
call dword [0x492238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48e070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404a64
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48e030], 0
jne 0x404a59
push 0
push 0x48e068
push 0x48e070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404b98
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402ac8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404b60
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406b94
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 0x406bfa
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
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404e54
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004035ac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406be4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c01
lea eax, [ebp - 0x10]
call fcn.00404be4
ret

Function at 0x40c0e8
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c121
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404cd4
jmp 0x40c12a
mov eax, ebx
mov edx, esi
call fcn.00404c38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c134
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_1
test eax, eax
jle 0x40c155
mov al, byte [esp]
jmp 0x40c157
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d160
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d236
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404c7c
lea eax, [ebp - 8]
call fcn.004050f4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004050a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d220
mov eax, ebx
call fcn.00402ac8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d219
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004050a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d203
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d248
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d203
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d220
mov eax, dword [ebp - 0x10]
call fcn.00402af8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d23d
lea eax, [ebp - 8]
call fcn.00404be4
ret
Function at 0x40d81c
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 0x40d880
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_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404e54
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409224
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d887
lea eax, [ebp - 0xc]
call fcn.00404be4
ret

Function at 0x41f774
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49288c
cmp dword [edi], 0
jne 0x41f7f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x492888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48e41c
mov ecx, 2
call fcn.00402d18
mov edx, 0x41f74c
lea eax, [esi + 5]
call fcn.0041f76c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f76c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41f7c5
mov dword [0x492888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x420e34
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 0x420e3a
ret

Function at 0x423558
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 0x4235a9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423590
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423580
jmp 0x4235a9
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 0x423591
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42db78
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405094
xor eax, eax
push ebp
push 0x42dca6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42dc79
xor eax, eax
push ebp
push 0x42dc72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ea4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42dc47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42dc36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ea4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004050a4
mov edx, ebx
pop ecx
call fcn.00402d18
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dc3d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x490e20]
mov dl, 1
mov eax, dword [0x4080ac]
call fcn.0040c97c
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dcad
lea eax, [ebp - 4]
call fcn.00404be4
ret
Function at 0x42dcb4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42de65
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405294
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42de7c
call fcn.00404ef0
mov eax, ebx
call fcn.0041ed08
mov edi, eax
dec edi
test edi, edi
jl 0x42dd6c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ecdc
mov edx, dword [0x438470]
call fcn.00403f6c
test al, al
je 0x42dd68
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041ecdc
lea edx, [ebp - 0x14]
call fcn.0044379c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405294
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f64
inc esi
dec edi
jne 0x42dd1a
mov al, byte [0x42de80]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42de8c
mov eax, dword [ebp - 0xc]
call fcn.0040ddf8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404c7c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044379c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42de7c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0044379c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42de7c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42de7c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42de98
call fcn.00409edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42de6c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404c08
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c08
lea eax, [ebp - 0x14]
call fcn.00404be4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404c08
ret