joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d20
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
or eax, 0xaf
sub ebx, 0x22
or eax, 0xfb
imul esi
neg edi
ror esi, 0xa7
rcr ebx, 0x2d
neg edx
ror edx, 0x7b
not ebx
rcr edi, 0x81
ror eax, 0x1c
not esi
sbb edx, 0x4d
bswap ebx
neg esi
rcl edx, 0x2a
dec eax
imul ebx
imul eax
neg edi
ror eax, 0x22
imul edx
inc eax
bswap ebx
neg edi
rol edx, 0xb1
bswap ebx
sub edx, 0x2f
neg edi
not edx
add edi, 0xe0
mov esi, 0xc8
imul esi
dec ebx
mov esi, 0x5a
dec edx
neg edi
inc esi
sbb ebx, 0x8f
add eax, 0x30
inc ebx
bswap eax
neg ebx
imul esi
and eax, 0x4d
sub eax, 0x9a
sub ebx, 0x68
inc edi
neg edi
xor ecx, ecx
xor edi, edi
sub esi, 0x58
dec edi
bswap edx
dec edi
or eax, 0x1c
inc esi
neg eax
not edi
imul edx
inc edi
not ebx
add ebx, 0x3c
bswap edx
dec edi
bswap esi
imul edi
mov esi, 0x1d
and ebx, 0xab
rol edx, 0xfb
mov ebx, 0x35
add eax, 0x9f
and esi, 0xe7
sub edi, 0x45
bswap edx
not edi
neg edi
sub ebx, 0x87
rol edx, 0x9e
imul ebx
and edi, 9
rcr edx, 0x70
dec eax
and esi, 0x2a
and esi, 0x77
rcr eax, 0x5b
imul ebx
not edi
rcl edi, 0xee
dec edx
rcr eax, 0x97
and esi, 0x39
sub esi, 0x16
bswap edx
bswap edx
dec ebx
rol edi, 0x74
sub eax, 0xb9
not ebx
mov esi, 0x59
bswap eax
mov ecx, dword [ebp + 0xc]
dec esi
neg edi
sbb edi, 0x6c
not edx
ror edx, 0xa4
add edi, 0x47
imul eax
rol edx, 0xb1
imul edi
rcl edi, 0xab
and edx, 0xe7
not edx
dec eax
rcl ebx, 0xe2
rcl edx, 0xf5
not esi
inc ebx
ror edx, 0x2f
dec ebx
imul esi
sub edi, 0x65
not eax
dec edx
rol esi, 0xef
and ebx, 0x15
imul esi
mov eax, 0x3f
and esi, 5
bswap edi
not esi
and edx, 0x61
neg eax
inc ebx
inc edi
or edx, 0x61
imul esi
inc eax
inc edx
neg eax
mov edi, 0x34
rol esi, 0xa
bswap ebx
ror esi, 0x62
rcl edi, 0x96
add esi, 0x9a
imul edi
sbb esi, 0x80
mov esi, 0xff
bswap esi
dec edi
mov edi, dword [ebp + 8]
mov esi, ebx
xor eax, eax
mov eax, esi
not byte [edi]
xor ebx, ebx
mov esi, eax
mov ebx, eax
mov ebx, esi
mov ebx, ebx
mov eax, ebx
xor eax, eax
mov ebx, eax
xor eax, ebx
add byte [edi], 0x79
mov eax, eax
mov ebx, esi
xor ebx, eax
mov ebx, eax
xor eax, esi
xor esi, ebx
mov ebx, eax
mov eax, esi
mov esi, eax
sub byte [edi], 0x30
mov esi, esi
mov eax, esi
xor esi, eax
xor eax, esi
xor esi, esi
mov esi, eax
xor esi, ebx
mov ebx, eax
mov ebx, esi
imul byte [edi]
inc edi
loop 0x401ebf
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4073a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x487c94]
jne 0x4073ae
repz ret
jmp fcn.0040bd86
Function at 0x40d58d
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.0040a34f
and dword [ebp - 4], 0
cmp dword [0x489214], 0
mov ebx, eax
jne 0x40d63e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d6ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d6ef
push eax
call fcn.0040a2dd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x489214], eax
call esi
push eax
call fcn.0040a2dd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x489218], eax
call esi
push eax
call fcn.0040a2dd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48921c], eax
call esi
push eax
call fcn.0040a2dd
pop ecx
mov dword [0x489224], eax
test eax, eax
je 0x40d63e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a2dd
pop ecx
mov dword [0x489220], eax
mov eax, dword [0x489220]
cmp eax, ebx
je 0x40d696
cmp dword [0x489224], ebx
je 0x40d696
push eax
call fcn.0040a358
push dword [0x489224]
mov esi, eax
call fcn.0040a358
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d696
test edi, edi
je 0x40d696
call esi
test eax, eax
je 0x40d68d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d68d
test byte [ebp - 0xc], 1
jne 0x40d696
or dword [ebp + 0x10], 0x200000
jmp 0x40d6cf
mov eax, dword [0x489218]
cmp eax, ebx
je 0x40d6cf
push eax
call fcn.0040a358
pop ecx
test eax, eax
je 0x40d6cf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d6cf
mov eax, dword [0x48921c]
cmp eax, ebx
je 0x40d6cf
push eax
call fcn.0040a358
pop ecx
test eax, eax
je 0x40d6cf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x489214]
call fcn.0040a358
pop ecx
test eax, eax
je 0x40d6ef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d6f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ae4
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.0040416c
test esi, esi
jne 0x402b1a
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.0040425c
jmp 0x402b38
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402998
mov edi, eax
test esi, esi
je 0x402b38
cmp dword [ebx], 0
je 0x402b38
dec esi
jmp 0x402b21
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403208
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 0x4032a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403280
xor eax, eax
push ebp
push 0x403279
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 0x4032bc
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 0x403280
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 0x403f6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49104c], 0
je 0x403fcd
cmp word [0x491220], 0xd7b2
jne 0x403f95
cmp dword [0x491228], 0
jbe 0x403f95
mov eax, 0x49121c
call dword [0x491238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48e06c
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 0x403ff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48e030], 0
jne 0x403fe9
push 0
push 0x48e064
push 0x48e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404120
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.0040275c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4040e8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4058d8
Capabilities:
Get geographical location

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 0x4059fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40584f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4059fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40584f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a18
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4058d8
xor eax, eax
push ebp
push 0x4058d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405614
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 0x4058b6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405a38
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4058b6
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 0x4058d8
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 0x4059f2
cmp byte [ebp - 0xd], 0
jne 0x40591f
cmp byte [ebp - 0x12], 0
je 0x4059f2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405938
dec ebx
cmp byte [ebx], 0x2e
je 0x405947
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405937
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4059f2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405984
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 0x4059f2
cmp byte [ebp - 0xd], 0
je 0x4059f2
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 0x4059f2
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 0x4060c4
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 0x40612a
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.004043dc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402dcc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406114
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406131
lea eax, [ebp - 0x10]
call fcn.0040416c
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040462c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408abd
test al, 0x10
jne 0x408ac1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408ac8
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040462c
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x408adc
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.0040462c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408afe
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40b838
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 0x40b871
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040425c
jmp 0x40b87a
mov eax, ebx
mov edx, esi
call fcn.004041c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b884
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 0x40b8a5
mov al, byte [esp]
jmp 0x40b8a7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40bf2c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bda4
mov eax, dword [0x490d20]
cmp byte [eax], 0
je 0x40bfa8
mov eax, dword [0x49099c]
call fcn.00402bfc
call fcn.004028c4
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.00408df4
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 0x40bff0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bfde
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49091c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x491668]
call fcn.004055d8
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 0x40c88c
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 0x40c962
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404204
lea eax, [ebp - 8]
call fcn.0040467c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c94c
mov eax, ebx
call fcn.0040275c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c945
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.0040462c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c92f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c974
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c92f
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 0x40c94c
mov eax, dword [ebp - 0x10]
call fcn.0040277c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c969
lea eax, [ebp - 8]
call fcn.0040416c
ret

Function at 0x40cee8
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 0x40cf4c
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.004043dc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408704
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf53
lea eax, [ebp - 0xc]
call fcn.0040416c
ret
Function at 0x421358
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 0x4213a5
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.00421198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4213bd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4213c4
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.00421198
dec esi
jne 0x4213e6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x422b48
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49188c
cmp dword [edi], 0
jne 0x422bc4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x491888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48e588
mov ecx, 2
call fcn.00402958
mov edx, 0x422b20
lea eax, [esi + 5]
call fcn.00422b40
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422b40
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 0x422b99
mov dword [0x491888], 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 0x424218
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 0x42421e
ret

Function at 0x4266b4
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 0x426705
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4266ec
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4266dc
jmp 0x426705
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 0x4266ed
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f20c
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.0040461c
xor eax, eax
push ebp
push 0x42f33a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f30d
xor eax, eax
push ebp
push 0x42f306
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040442c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f2db
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 0x42f2ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040442c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040462c
mov edx, ebx
pop ecx
call fcn.00402958
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 0x42f2d1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x490868]
mov dl, 1
mov eax, dword [0x4075c4]
call fcn.0040c0b0
call fcn.00403b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f341
lea eax, [ebp - 4]
call fcn.0040416c
ret
Function at 0x42f348
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 0x42f4f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040481c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42f510
call fcn.00404478
mov eax, ebx
call fcn.00421abc
mov edi, eax
dec edi
test edi, edi
jl 0x42f400
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421a90
mov edx, dword [0x435180]
call fcn.00403524
test al, al
je 0x42f3fc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421a90
lea edx, [ebp - 0x14]
call fcn.0043c4c4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040481c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004044ec
inc esi
dec edi
jne 0x42f3ae
mov al, byte [0x42f514]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42f520
mov eax, dword [ebp - 0xc]
call fcn.0040d4c0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404204
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.0043c4c4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42f510
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.0043c4c4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42f510
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, 0x42f510
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, 0x42f52c
call fcn.00409504
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f500
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404190
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404190
lea eax, [ebp - 0x14]
call fcn.0040416c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404190
ret