joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a0f4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x52a15f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetComputerNameW
lea eax, [ebp - 4]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.0040a858
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a19c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a166
lea eax, [ebp - 4]
call fcn.00409dbc
pop eax
jmp eax

Function at 0x52a16c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, eax
push esp
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x52a1ae
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.0040a858
mov eax, ebx
mov edx, 0x52a1c4
call fcn.0040a9b0
add esp, 0x204
pop ebx
ret

Function at 0x52a220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x52a228
push ebx
push esi
xor eax, eax
push ebp
push 0x52a37d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x495920]
call fcn.004bb204
mov ebx, eax
lea eax, [ebp - 0x10]
call fcn.0052a0f4
push dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, 7
call fcn.00529fe0
push dword [ebp - 0x14]
push 0x52a398
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040aa90
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 8]
call fcn.0052a16c
lea eax, [ebp - 4]
mov edx, 0x52a3b0
call fcn.0040a1e4
lea eax, [ebp - 0x18]
mov ecx, 0x52a414
mov edx, dword [ebp - 8]
call fcn.0040aa08
mov eax, dword [ebp - 0x18]
mov dl, 1
call fcn.004227b8
test al, al
jne 0x52a360
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040aa08
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00529f8c
test al, al
je 0x52a2ee
push 0xc8
call sub.kernel32.dll_Sleep
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.0040aa08
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.0052a1c8
push 0xbb8
call sub.kernel32.dll_Sleep
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
mov ecx, 0x52a434
mov edx, dword [ebp - 8]
call fcn.0040aa08
mov eax, dword [ebp - 0x2c]
call fcn.0040a7b8
push eax
push 0x52a44c
push 0
call sub.shell32.dll_ShellExecuteW
lea eax, [ebp - 0x30]
mov ecx, 0x52a414
mov edx, dword [ebp - 8]
call fcn.0040aa08
mov eax, dword [ebp - 0x30]
call fcn.00422428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a384
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00409e1c
pop eax
jmp eax
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x401150
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x140]
test edi, edi
jne 0x401172
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret
lea eax, [esp + 0x34]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__stat]
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
lea eax, [esp + 0x3c]
push 0x403510
push eax
call esi
mov ecx, dword [esp + 0x14c]
mov ebx, eax
push 0
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [esp + 0x160]
push 0x40350c
push edx
call esi
push edi
mov ebp, eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x4011e5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
push ebx
push 1
push edi
push esi
call dword [sym.imp.MSVCRT.dll_fread]
push ebp
push 1
push edi
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret

Function at 0x401220
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401272
push 5
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x54
ret
Function at 0x401825
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0043dba0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40186a
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.leTime_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401895
push 6
call fcn.0043ba29
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4018b1
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0043ba1d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4018b6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4018c7
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x403045
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.leTime_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x403088
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.leTime_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4030b2
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.leTime_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4030e6
push 6
call fcn.0043ba29
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4030ee
mov esp, ebp
pop ebp
ret 4

Function at 0x4030f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 1
jne 0x403113
mov dword [ebp + 0x14], 0
jmp 0x403130
cmp dword [ebp + 0x14], 2
jne 0x403129
mov dword [ebp + 0x14], 7
jmp 0x403130
mov dword [ebp + 0x14], 1
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0x44422d
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.stFileA_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40316b
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x403187
mov eax, 0
jmp 0x403191
mov eax, 1
jmp 0x403191
mov esp, ebp
pop ebp
ret 0x14
Function at 0x409a8a
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0x14e
jle 0x409ab4
cmp dword [ebp + 8], 0x180
jge 0x409ab4
mov eax, 1
jmp 0x409ab6
xor eax, eax
test eax, eax
je 0x409b0a
cmp dword [ebp + 0xc], 0xc8
jle 0x409adf
cmp dword [ebp + 0xc], 0xd9
jge 0x409adf
mov eax, 1
jmp 0x409ae1
xor eax, eax
test eax, eax
je 0x409b0a
mov eax, 0x453102
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00409c54
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409b0a
push ebx
call fcn.0043ba23
add esp, 4
cmp dword [ebp + 8], 0x151
jle 0x409b2b
cmp dword [ebp + 8], 0x180
jge 0x409b2b
mov eax, 1
jmp 0x409b2d
xor eax, eax
test eax, eax
je 0x409b81
cmp dword [ebp + 0xc], 0xe7
jle 0x409b56
cmp dword [ebp + 0xc], 0xf5
jge 0x409b56
mov eax, 1
jmp 0x409b58
xor eax, eax
test eax, eax
je 0x409b81
mov eax, str.https:__aq.qq.com_cn2_findpsw_pc_pc_find_pwd_input_account_pw_type0aquin
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00409c54
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409b81
push ebx
call fcn.0043ba23
add esp, 4
cmp dword [ebp + 8], 0x193
jle 0x409ba2
cmp dword [ebp + 8], 0x1a6
jge 0x409ba2
mov eax, 1
jmp 0x409ba4
xor eax, eax
test eax, eax
je 0x409bdb
cmp dword [ebp + 0xc], 4
jle 0x409bc7
cmp dword [ebp + 0xc], 0x13
jge 0x409bc7
mov eax, 1
jmp 0x409bc9
xor eax, eax
test eax, eax
je 0x409bdb
push 0
call fcn.0043ba0b
add esp, 4
cmp dword [ebp + 8], 0x177
jle 0x409bfc
cmp dword [ebp + 8], 0x18a
jge 0x409bfc
mov eax, 1
jmp 0x409bfe
xor eax, eax
test eax, eax
je 0x409c44
cmp dword [ebp + 0xc], 6
jle 0x409c21
cmp dword [ebp + 0xc], 0x16
jge 0x409c21
mov eax, 1
jmp 0x409c23
xor eax, eax
test eax, eax
je 0x409c44
push 1
push 1
push 0x480c77
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1a0]
mov eax, 1
jmp 0x409c4e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x409c54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 1
push 0x44422d
push 0x44422d
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.stFileA_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x409c9a
push 6
call fcn.0043ba29
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x40fb4a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0043dba0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40fb8f
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.leTime_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40fbba
push 6
call fcn.0043ba29
add esp, 4
push 0x44427d
push dword [ebp - 4]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40fbda
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40fbeb
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x40fbf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x40fc0b
call fcn.0040fc7b
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.leTime_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40fc37
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.leTime_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40fc61
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x40fc75
mov esp, ebp
pop ebp
ret 8
Function at 0x429d27
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [0x4422d8]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x429d6d
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x452c24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0040342a
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.0043dba0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x429dc0
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [0x4422d4]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x429df9
push 6
call fcn.0043ba29
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x429e15
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0043ba1d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x429e1a
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x429e2b
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x43d870
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push Ordinal_2
push eax
call dword [sym.imp.leTime_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43d8d9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.leTime_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0043d370
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.leTime_ReadFile]
push edi
call dword [sym.imp.leTime_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x43e0b0
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
push edi
push 0x104
call fcn.0043d370
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0x104
push edi
push ebp
call dword [sym.imp.leTime_GetEnvironmentVariableA]
mov esi, eax
cmp esi, 0x104
jbe 0x43e107
push ebx
push edi
call fcn.0043d400
push esi
mov ebx, esi
call fcn.0043d370
add esp, 8
mov edi, eax
push esi
push edi
push ebp
call dword [sym.imp.leTime_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
ja 0x43e0de
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x43ebb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x43ed10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.leTime_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43eda2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ed94
mov ebp, dword [sym.imp.leTime_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ed8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ed55
push edi
call dword [sym.imp.leTime_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.leTime_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x42222f
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.004179f0
and dword [ebp - 4], 0
cmp dword [0x435abc], 0
mov ebx, eax
jne 0x4222e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422391
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422391
push eax
call fcn.0041797e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435abc], eax
call esi
push eax
call fcn.0041797e
mov dword [esp], 0x42a664
push edi
mov dword [0x435ac0], eax
call esi
push eax
call fcn.0041797e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435ac4], eax
call esi
push eax
call fcn.0041797e
pop ecx
mov dword [0x435acc], eax
test eax, eax
je 0x4222e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041797e
pop ecx
mov dword [0x435ac8], eax
mov eax, dword [0x435ac8]
cmp eax, ebx
je 0x422338
cmp dword [0x435acc], ebx
je 0x422338
push eax
call fcn.004179f9
push dword [0x435acc]
mov esi, eax
call fcn.004179f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422338
test edi, edi
je 0x422338
call esi
test eax, eax
je 0x42232f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42232f
test byte [ebp - 0xc], 1
jne 0x422338
or dword [ebp + 0x10], 0x200000
jmp 0x422371
mov eax, dword [0x435ac0]
cmp eax, ebx
je 0x422371
push eax
call fcn.004179f9
pop ecx
test eax, eax
je 0x422371
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422371
mov eax, dword [0x435ac4]
cmp eax, ebx
je 0x422371
push eax
call fcn.004179f9
pop ecx
test eax, eax
je 0x422371
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435abc]
call fcn.004179f9
pop ecx
test eax, eax
je 0x422391
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422393
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416930
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x416a05
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x416a20
push ebx
push 0x416a30
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405458
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403340
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405040
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4169b0
mov al, 0x72
call fcn.00416550
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00416904
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4169b9
call fcn.00416904
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416a0c
lea eax, [ebp - 4]
call fcn.00404fa4
ret

Function at 0x416b20
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x416beb
jmp 0x416bdf
cmp dword [esi + 0x10], 0x1000
jne 0x416bcb
test byte [esi + 0x15], 1
jne 0x416bcb
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x416b7c
cmp ebp, 2
je 0x416b7c
cmp ebp, 0x10
je 0x416b7c
cmp ebp, 0x20
jne 0x416b98
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x416b98
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x416ba9
mov eax, dword [esi]
add eax, ebx
call fcn.00416b18
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x416b9c
cmp byte [esp + 4], 0
je 0x416bcb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x416beb
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x416b51
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx - 0x49eef11], esp
pop ebx
xchg edi, eax
sub ah, byte fs:[edx + 6]
mov dh, 0x6d
or bh, byte [edx + edx*4 - 0x65ec8f3d]
aam 0x5a
shr ch, 0xf4
jo 0x414ae7
lcall 0xf4ed, 0xc03e5ad4
sub ebp, ebx
sub edi, edx
nop
xchg ecx, eax
push cs
and ch, byte es:[ebx]
mov dl, 0xe6
add al, 0x6a
or bh, byte [esi]
xor al, 0xd4
out 4, al
push 0xa
xor al, 0xd4
cmc
sub dword [eax + esi*2 - 0x6c64d60b], ecx
sbb dh, byte [esi + 0x7e22b25]
loop 0x414ad2
cmc
pop ds
cmpsd dword [esi], dword es:[edi]
sub ecx, dword [edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
wait
aam 0xf5
sub dword [ebx + ebp + 0xa], esp
salc
wait
aam 0xf5
sub dword [ebx + ebp + 0xa], esp
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[ecx + 0xeec603a]
mov byte [ebp - 0x55dd29b4], bl
loopne 0x414b38
xchg ecx, eax
and edi, dword [esi + 0x4b5b64be]
salc
in eax, 0xc1
or edx, esi
sub ecx, dword fs:[ecx + 0xeec603a]
push cs
in al, 0x40
jo 0x414b8d
inc ebx
or al, dh
and al, 0x2b
push ecx
not dword [esi - 0x752c1f56]
rcl edx, 0xd7
mov bl, 0x43
sub bl, byte [ebp + 0x3e532b25]
inc ebx
sub ecx, dword [edx]
salc
aas
mov al, byte [0xefe7f206]
push cs
call dword [edx - 0x4cc7749b]
mov ch, 0x33
cmp byte [ecx + edi + 0x6d64d60a], cl
mov edi, dword [eax]
pop edx
neg dword [eax + 0x26]
loop 0x414bb6
sub byte [ebp - 0x27], cl
enter 0x64da, 0x2a
cmc
fxch st(0)
fisub dword [edx + ebp - 0xb]
out 0x67, eax
sub esp, dword gs:[ecx]
ficom word [ecx + eax*2 - 0xb]
pop ecx
stosb byte es:[edi], al
leave
shl byte [ebx + ebp + 0xa], cl
out dx, eax
scasd eax, dword es:[edi]
pop esi
out 0x15, al
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
or dl, dh
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
sub ecx, dword fs:[edx]
salc
mov al, byte [0xa00fe9aa]
stosb byte es:[edi], al
jmp 0xe9ebec1a