joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc8c14
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0xc8c2b
add esp, 0xfffffff0
call fcn.000445e0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.000667f0
mov eax, dword [0x19dce0]
cmp word [eax + 2], 0
jne 0xc8c53
mov eax, dword [0x19dce0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.000ca394
mov eax, dword [0x19de84]
cmp word [eax + 2], 0
jne 0xc8c6d
mov eax, dword [0x19de84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.000ca58c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x5b0b0]
call fcn.0004424c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x5b0b0]
call fcn.0004424c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x68e34]
call fcn.00070dd8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0xc8df4
mov eax, dword [0x19da98]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.000711a8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0xcab2c
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x19da98]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0004ed18
test eax, eax
je 0xc8d62
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0004a770
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0004ed40
test eax, eax
je 0xc8d76
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00045300
mov eax, dword [0x19d744]
cmp byte [eax], 0
jne 0xc8daa
mov eax, ebx
call fcn.000c8f1c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.000cad08
mov eax, ebx
call fcn.000cb6cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0xc8dea
call fcn.00044638
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc919c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x19fbf4]
cmp dword [eax + 0x30], 0
je 0xc9246
cmp dword [ebx + 0x94], 0
jne 0xc9240
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0xc912c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0xc9240
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0xc9206
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0xc9240
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0005d974
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0xc9215
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0xc9da8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0xc9ddd
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00045180
jmp 0xc9dea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.000450e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0xcaee4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0xcaf25
mov eax, esi
call fcn.000b0eb4
test al, al
je 0xcaf25
mov eax, dword [ebx + 0x84]
call fcn.000b0bb0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0xcaf25
push 0
mov eax, dword [ebx + 0x84]
call fcn.000b0bb0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0xccc24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xcce84
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0xccc87
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.000cc6ec
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0004e800
cmp al, 1
jne 0xccc87
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.000cca04
test al, al
je 0xcce13
cmp dword [ebp - 8], 0
jge 0xccca5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.000cc6ec
mov eax, dword [ebp - 0x210]
call fcn.00045350
cmp ebx, eax
jge 0xcccef
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.000cc6ec
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x19e20c]
and eax, 0xff
bt dword [edx], eax
jae 0xcccef
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0xccd03
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.000ccc00
cmp ebx, dword [ebp - 8]
je 0xcce05
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0xccd2f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00044478
and eax, 0x7f
movzx eax, word [eax*2 + 0x19b3d0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0xccdf2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00044478
and eax, 0x7f
movzx eax, word [eax*2 + 0x19b3d0]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.000b0bb0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00044478
and eax, 0x7f
movzx eax, word [eax*2 + 0x19b3d0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.000b0bb0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xccdf9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0xcce66
cmp dword [ebp - 8], 0
jge 0xcce1e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.000cc6ec
mov eax, dword [ebp - 0x218]
call fcn.00045350
cmp eax, dword [ebp - 8]
jg 0xcce58
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.000cc6ec
mov eax, dword [ebp - 0x21c]
call fcn.00045350
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.000ccc00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xcce8b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.000450b4
ret
Function at 0xf64e7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x19c23e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0xf653f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x19c25f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0xf6535
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0xf6543
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x106278
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffedc
mov ebx, edx
test eax, eax
jne 0x10629f
push 0x90
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0004a93c
jmp 0x1062bf
push 0x90
lea eax, [esp + 0x95]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [esp + 0x91]
call fcn.0004a93c
add esp, 0x124
pop ebx
ret

Function at 0x1196f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x119761
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x19c468]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x11974b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.001196e0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x1174f0]
call fcn.0011a5b0
mov dword [0x19c4d0], eax
mov eax, dword [ebp - 4]
call fcn.0011956c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x119768
lea eax, [ebp - 8]
call fcn.00046cfc
ret

Function at 0x119800
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x119813
or esi, 2
test dl, dl
je 0x11981c
or esi, 0
jmp 0x11981f
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x11a43c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00045540
xor eax, eax
push ebp
push 0x11a594
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x1172d8]
call fcn.00059964
test eax, eax
jl 0x11a4a3
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.001197e4
and eax, 0x7f
mov eax, dword [eax*4 + 0x19c468]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x11a506
mov eax, dword [ebx]
call fcn.00045350
test eax, eax
jle 0x11a506
mov eax, dword [ebx]
call fcn.00045350
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x11a4ca
mov eax, ebx
mov edx, 0x11a5ac
call fcn.00045358
mov eax, dword [ebx]
call fcn.00045350
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00045ee0
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.001196e0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x11a551
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x19d7d4]
call fcn.000471c0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0004ae2c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.000450e4
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x489b8]
call fcn.0004ddfc
call fcn.00044a48
mov eax, dword [ebp - 8]
call fcn.0011a3b4
mov ebx, eax
test edi, edi
je 0x11a566
mov eax, edi
call fcn.0004427c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11a59b
lea eax, [ebp - 0x1c]
call fcn.00045090
lea eax, [ebp - 0x18]
call fcn.00046cfc
lea eax, [ebp - 0x14]
call fcn.00045090
lea eax, [ebp - 4]
call fcn.00045090
ret
Function at 0x11bc94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x11bdfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x19e1f0]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x19e1f0]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.000c827c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00089acc
xor edx, edx
push ebp
push 0x11bde1
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x11bd51
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00046cfc
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.00119dfc
push eax
mov eax, dword [0x19de34]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x11bd47
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00044af4
jmp 0x11bde8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x11bd8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.000896ac
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0011bb24
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x11bd69
push 0
mov edx, 0x11babc
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00089264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11bde8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00089b18
mov eax, dword [0x19e1f0]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.000c827c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11be05
lea eax, [ebp - 0x10]
call fcn.00046cfc
ret

Function at 0x11f840
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00045540
xor eax, eax
push ebp
push 0x11f89e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00045550
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExA
test eax, eax
je 0x11f888
fild qword [ebp - 0x18]
mov eax, dword [0x19da38]
fstp xword [eax]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11f8a5
lea eax, [ebp - 4]
call fcn.00045090
ret
Function at 0x11f8ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x11f9c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 4
call fcn.000427e0
mov edx, dword [0x19de90]
mov dword [edx], eax
mov eax, dword [0x19d944]
mov dword [eax], 0x7b1
mov eax, 0x11f9d0
mov edx, dword [0x19dbf0]
mov dword [edx], eax
mov eax, dword [0x19d8e4]
mov eax, dword [eax]
push eax
mov eax, dword [0x19d878]
mov eax, dword [eax]
push eax
mov eax, dword [0x19e198]
push eax
mov eax, dword [0x19e158]
push eax
mov eax, dword [0x19de90]
mov eax, dword [eax]
push eax
mov eax, dword [0x19dfe4]
mov eax, dword [eax]
push eax
mov eax, dword [0x19df98]
mov eax, dword [eax]
push eax
mov eax, dword [0x19dbf0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [0x19de90]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [0x19d944]
mov dword [edx], eax
mov eax, dword [0x19de90]
mov eax, dword [eax]
mov edx, 4
call fcn.00042800
mov eax, dword [0x19da38]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], 0xc8000000
mov word [eax + 8], 0x4005
mov eax, 0x11f9dc
call fcn.0011f840
mov eax, dword [0x19da38]
mov dx, word [eax + 8]
push edx
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 4]
call fcn.0004b84c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x19d944]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.00049dd4
mov edx, dword [ebp - 8]
mov eax, dword [0x19d860]
pop ecx
call fcn.0004539c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11f9cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.000450b4
ret

Function at 0x120188
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf0]
mov edx, edi
call fcn.0004a7cc
push eax
lea eax, [ebp - 0xa0]
mov edx, esi
call fcn.0004a7cc
push eax
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0004a7cc
push eax
push 0
mov eax, dword [0x19de34]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.000b0bb0
push eax
call sub.shell32.dll_ShellExecuteA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x121ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x121c96
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x121c7d
mov eax, dword [edi + 0x30]
call fcn.00045350
test eax, eax
jne 0x121b16
mov eax, dword [edi + 0x34]
call fcn.00045350
test eax, eax
jne 0x121b16
mov eax, edi
call fcn.00121d34
jmp 0x121c7d
cmp dword [edi + 0xa0], 0
jne 0x121b4d
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0004a7cc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x1a2480]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x121b84
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0004a7cc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x1a2480]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00121d74
mov ebx, eax
test bl, bl
jne 0x121c32
mov eax, dword [edi + 0x30]
call fcn.00045350
test eax, eax
jne 0x121bbc
mov eax, dword [edi + 0xc0]
call fcn.00045350
test eax, eax
je 0x121c32
mov eax, dword [edi + 0xc0]
call fcn.00045350
test eax, eax
je 0x121bde
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0004a7cc
jmp 0x121c0a
push dword [edi + 0x30]
push 0x121cb0
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00045410
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0004a7cc
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x121c32
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00121d74
mov ebx, eax
test bl, bl
jne 0x121c3f
mov eax, edi
call fcn.00121d34
jmp 0x121c7d
mov eax, dword [edi + 0x58]
test eax, eax
je 0x121c4e
mov dword [edi + 0xa8], eax
jmp 0x121c58
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00121dec
test al, al
je 0x121c7d
mov eax, edi
mov si, 0xffee
call fcn.00044478
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00121e98
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x121c9d
lea eax, [ebp - 0x108]
call fcn.00045090
ret
Function at 0x126dc8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x126df6
mov eax, ebx
call fcn.0012787c
cmp dword [ebx + 0x40], 0
je 0x126def
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x126e67
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x126e59
cmp dword [ebx + 8], 0
je 0x126e18
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x126e2a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x126e59
cmp dword [ebx + 8], 0
je 0x126e0b
cmp eax, 3
je 0x126e3d
dec eax
jne 0x126e0b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x126e0b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x126e0b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x126e85
cmp dword [ebx + 0x14], 0xcc
je 0x126e85
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00126e90
pop ebx
ret

Function at 0x14774c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.00045300
add esp, 0x14
pop ebx
ret
Function at 0x17ccb8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
xor eax, eax
push ebp
push 0x17ce92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x1a24a8]
mov ebx, dword [eax + 0xd4c]
mov eax, dword [ebx + 0x4c]
push eax
lea eax, [ebp - 0x114]
push eax
imul ecx, dword [ebx + 0x48], 2
jno 0x17cd0c
call fcn.000441bc
xor edx, edx
xor eax, eax
call fcn.0005c31c
lea eax, [ebp - 0x104]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00045300
lea eax, [ebp - 0x118]
mov edx, 0x17cea8
call fcn.00045358
mov edx, dword [ebp - 0x118]
mov eax, dword [0x1a24a8]
mov eax, dword [eax + 0xd4c]
mov eax, dword [eax + 0x168]
call fcn.0006d288
mov dl, 1
mov eax, dword [0x68cf0]
call fcn.0006f244
mov dword [ebp - 4], eax
lea edx, [ebp - 0x11c]
mov eax, dword [0x1a24a8]
mov eax, dword [eax + 0x1998]
call fcn.000aa2fc
mov eax, dword [ebp - 0x11c]
call fcn.00049e24
mov ebx, eax
xor edx, edx
push ebp
push 0x17ce57
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00045300
lea eax, [ebp - 0x120]
mov edx, 0x17cea8
call fcn.00045358
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
call fcn.00074c10
mov esi, eax
test ebx, ebx
jle 0x17ce10
mov eax, esi
call fcn.00074290
mov eax, esi
call fcn.0007466c
lea edx, [ebp - 0x114]
mov ecx, dword [ebp - 4]
call fcn.0006aacc
call fcn.00074c10
call fcn.00074318
dec ebx
jne 0x17cde7
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00045300
lea eax, [ebp - 0x124]
mov edx, 0x17cea8
call fcn.00045358
mov eax, dword [ebp - 0x124]
call fcn.0004a438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x17ce5e
mov eax, dword [ebp - 4]
call fcn.0004427c
ret

Function at 0x19972f
Capabilities:
Encode data using xor

Disassembly:
nop
inc ecx
xchg ecx, ecx
sub eax, 2
jmp 0x199757
jmp 0x1996e4
nop
sbb word [eax + 0x4eb000], 0x9c40
or cl, 0xdb
jmp 0x1996f5
adc cl, cl
mov dh, 0xa5
cmp dh, bh
cmp ecx, 0x6e
xchg dl, cl
dec ecx
xchg ch, ch
adc cl, ah
mov dl, dh
push 0x6d40
clc
pop eax
nop
not ecx
xchg ecx, ecx
xchg dh, cl
jmp 0x199707
mov edx, 0x59356d2
mov edx, 0x50b79a61
jge 0x199707
lea eax, [ebx + ebp*2]
inc edx
sbb ecx, 2
sub ecx, esp
xor al, cl
inc ecx
xchg ah, ch
inc edx
dec ecx
inc eax
xor dh, cl
sub al, 0xcf
jmp loc.004eb0b5