joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002032
Capabilities:
Create process on windows
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcec
mov eax, dword [0x1004f010]
xor eax, esp
mov dword [esp + 0xce8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [0x10050db8], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push esi
mov dword [0x10050dbc], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [0x10050dc0], eax
cmp dword [0x10050cec], ebx
jne 0x100020e6
push 0x100019ab
push dword [0x10050ce4]
xor esi, esi
inc esi
mov dword [0x10050cec], esi
call dword [ecx + 0xc]
call fcn.1000187e
test eax, eax
je 0x100020db
call fcn.1000194d
test eax, eax
jne 0x100020db
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
mov esi, eax
push esi
push 0x10001f80
push ebx
push ebx
call fcn.1000e063
add esp, 0x18
mov dword [0x10050ce0], eax
test eax, eax
je 0x100020cd
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ExecShellAsUser:_elevated_process_detected
jmp 0x100020e0
push str.ExecShellAsUser:_process_is_not_elevated__will_fallback_to_ShellExecute
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x10050cdc], ebx
je 0x100020fd
push 0xc78
call fcn.1000291e
pop ecx
mov esi, eax
jmp 0x10002101
lea esi, [esp + 0x10]
push esi
call section..text
lea ebx, [esi + 0x64]
push ebx
call section..text
lea edi, [esi + 0x26c]
push edi
call section..text
lea eax, [esp + 0xc88]
push eax
call section..text
lea ecx, [esp + 0xc88]
call fcn.10001cc6
push 0x16
mov dword [esi + 0xc74], eax
call fcn.100010d4
mov ecx, dword [0x10050cdc]
test ecx, ecx
je 0x1000217b
test eax, eax
je 0x10002169
push 0x104
push eax
lea eax, [esi + 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [0x10050cdc]
push esi
xor edx, edx
push edx
push 0x40a
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1000219c
push dword [esi + 0xc74]
xor edx, edx
push eax
xor eax, eax
cmp word [edi], dx
cmove edi, eax
cmp word [esi], dx
push edi
push ebx
cmove esi, eax
push esi
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0xcf4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10002910
mov esp, ebp
pop ebp
ret

Function at 0x100286eb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100280a9

Function at 0x1003b879
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003b74d
Function at 0x401154
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
xor esi, esi
call edi
sub byte [esi + 0x4228d0], 0x37
call edi
add byte [esi + 0x4228d0], 0x7c
call edi
xor byte [esi + 0x4228d0], 0x51
call edi
add byte [esi + 0x4228d0], 0x7c
call edi
add byte [esi + 0x4228d0], 0xe6
call edi
add byte [esi + 0x4228d0], 0xb0
call edi
add byte [esi + 0x4228d0], 0x2c
call edi
xor byte [esi + 0x4228d0], 0x1c
call edi
add byte [esi + 0x4228d0], 0xe4
call edi
add byte [esi + 0x4228d0], 0xcc
call edi
xor byte [esi + 0x4228d0], 0x80
call edi
add byte [esi + 0x4228d0], 0x1a
call edi
add byte [esi + 0x4228d0], 0x7e
call edi
add byte [esi + 0x4228d0], 0xe5
call edi
add byte [esi + 0x4228d0], 0x74
call edi
add byte [esi + 0x4228d0], 0xab
call edi
xor byte [esi + 0x4228d0], 8
call edi
add byte [esi + 0x4228d0], 0xd9
call edi
add byte [esi + 0x4228d0], 0x60
call edi
add byte [esi + 0x4228d0], 0x4f
call edi
add byte [esi + 0x4228d0], 0x9a
call edi
add byte [esi + 0x4228d0], 0x55
call edi
add byte [esi + 0x4228d0], 0x42
call edi
add byte [esi + 0x4228d0], 0x2c
call edi
add byte [esi + 0x4228d0], 0xeb
call edi
xor byte [esi + 0x4228d0], 0xc3
call edi
add byte [esi + 0x4228d0], 0x22
call edi
add byte [esi + 0x4228d0], 0xcf
call edi
add byte [esi + 0x4228d0], 0x82
call edi
add byte [esi + 0x4228d0], 0x99
call edi
add byte [esi + 0x4228d0], 8
call edi
xor byte [esi + 0x4228d0], 0x91
call edi
xor byte [esi + 0x4228d0], 0xb9
call edi
xor byte [esi + 0x4228d0], 0x5d
call edi
add byte [esi + 0x4228d0], 0xc0
call edi
add byte [esi + 0x4228d0], 0xdb
call edi
xor byte [esi + 0x4228d0], 0x92
call edi
add byte [esi + 0x4228d0], 0x77
call edi
add byte [esi + 0x4228d0], 0x96
call edi
xor byte [esi + 0x4228d0], 0xfb
call edi
add byte [esi + 0x4228d0], 0x34
call edi
xor byte [esi + 0x4228d0], 0x74
call edi
add byte [esi + 0x4228d0], 0xee
call edi
xor byte [esi + 0x4228d0], 0x7b
call edi
add byte [esi + 0x4228d0], 0x3c
call edi
xor byte [esi + 0x4228d0], 0x62
call edi
add byte [esi + 0x4228d0], 0x58
call edi
add byte [esi + 0x4228d0], 0xfb
call edi
add byte [esi + 0x4228d0], 0x96
inc esi
cmp esi, 0x2b800
jb 0x40115e
pop edi
pop esi
ret
Function at 0x407515
Capabilities:
Parse pe header

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

Function at 0x40d5eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d61f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d625
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d669
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d6a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x402ab0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404224
test esi, esi
jne 0x402ae6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404314
jmp 0x402b04
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029c4
mov edi, eax
test esi, esi
je 0x402b04
cmp dword [ebx], 0
je 0x402b04
dec esi
jmp 0x402aed
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403264
Capabilities:
Query or enumerate registry value

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

Function at 0x404024
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b304c], 0
je 0x404085
cmp word [0x4b3220], 0xd7b2
jne 0x40404d
cmp dword [0x4b3228], 0
jbe 0x40404d
mov eax, 0x4b321c
call dword [0x4b3238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b006c
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 0x4040ac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b0030], 0
jne 0x4040a1
push 0
push 0x4b0064
push 0x4b006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4041d8
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.00402788
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4b304d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4041a0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405a58
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
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405c88
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405adb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405c88
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405adb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ca4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405b64
xor eax, eax
push ebp
push 0x405b5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004058a0
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 0x405b42
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405cc4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405b42
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 0x405b64
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
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405c7e
cmp byte [ebp - 0xd], 0
jne 0x405bab
cmp byte [ebp - 0x12], 0
je 0x405c7e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405bc4
dec ebx
cmp byte [ebx], 0x2e
je 0x405bd3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405bc3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405c7e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405c10
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 0x405c7e
cmp byte [ebp - 0xd], 0
je 0x405c7e
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 0x405c7e
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 0x406350
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 0x4063b6
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.00404494
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e08
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4063a0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4063bd
lea eax, [ebp - 0x10]
call fcn.00404224
ret

Function at 0x40c094
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_1
test eax, eax
jle 0x40c0cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404314
jmp 0x40c0d6
mov eax, ebx
mov edx, esi
call fcn.00404278
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c0e0
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 0x40c101
mov al, byte [esp]
jmp 0x40c103
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c788
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c600
mov eax, dword [0x4b2604]
cmp byte [eax], 0
je 0x40c804
mov eax, dword [0x4b22cc]
call fcn.00402bcc
call fcn.004028f0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004091b0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40c84c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c83a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b2260]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b3668]
call fcn.00405864
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d10c
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 0x40d1e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042bc
lea eax, [ebp - 8]
call fcn.00404734
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046e4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d1cc
mov eax, ebx
call fcn.00402788
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d1c5
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.004046e4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d1af
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d1f4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d1af
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 0x40d1cc
mov eax, dword [ebp - 0x10]
call fcn.004027a8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1e9
lea eax, [ebp - 8]
call fcn.00404224
ret

Function at 0x40d780
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 0x40d7e4
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.00404494
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408cd8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d7eb
lea eax, [ebp - 0xc]
call fcn.00404224
ret

Function at 0x424ddc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x424e29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00424c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424e41
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x424e48
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00424c34
dec esi
jne 0x424e6a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4265cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b388c
cmp dword [edi], 0
jne 0x426648
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b3888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b05d0
mov ecx, 2
call fcn.00402984
mov edx, 0x4265a4
lea eax, [esi + 5]
call fcn.004265c4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004265c4
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 0x42661d
mov dword [0x4b3888], 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 0x427be4
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 0x427bea
ret

Function at 0x42a2c4
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 0x42a315
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a2fc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a2ec
jmp 0x42a315
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 0x42a2fd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432f50
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.004046d4
xor eax, eax
push ebp
push 0x43307e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x433051
xor eax, eax
push ebp
push 0x43304a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044e4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43301f
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 0x43300e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044e4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004046e4
mov edx, ebx
pop ecx
call fcn.00402984
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 0x433015
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4b21c4]
mov dl, 1
mov eax, dword [0x407898]
call fcn.0040c930
call fcn.00403bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433085
lea eax, [ebp - 4]
call fcn.00404224
ret
Function at 0x43308c
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 0x43323d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004048d4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x433254
call fcn.00404530
mov eax, ebx
call fcn.00425540
mov edi, eax
dec edi
test edi, edi
jl 0x433144
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00425514
mov edx, dword [0x43abf0]
call fcn.00403580
test al, al
je 0x433140
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00425514
lea edx, [ebp - 0x14]
call fcn.004472f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004048d4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004045a4
inc esi
dec edi
jne 0x4330f2
mov al, byte [0x433258]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x433264
mov eax, dword [ebp - 0xc]
call fcn.0040dd58
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004042bc
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.004472f0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x433254
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.004472f0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x433254
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, 0x433254
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, 0x433270
call fcn.004098a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433244
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404248
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404248
lea eax, [ebp - 0x14]
call fcn.00404224
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404248
ret