joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4060a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x4060d0
lea eax, [esi + 0x2e8]
push eax
push 0
push esi
push 0x406080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2e4], eax
pop esi
pop ebp
ret 4
call fcn.00405b10
pop esi
pop ebp
ret 4

Function at 0x4060e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, ecx
push 0
push eax
call fcn.0048d530
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0048d530
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebx + 0x130], 8
lea ecx, [ebx + 0x11c]
jb 0x406143
mov ecx, dword [ecx]
lea edx, [ebp - 0x414]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x406150
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x406170
mov eax, dword [0x50fa54]
mov dword [edi], eax
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x406190
mov ecx, 6
mov esi, str.XiangCaoWifi
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x4061b3
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048362e
lea edi, [ebp - 0x20c]
add esp, 4
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4061e0
mov ecx, 6
mov esi, str.XiangCaoWifi
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
movsw word es:[edi], word [esi]
pop edi
pop esi
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x406205
mov eax, dword [str..ini]
mov dword [ecx], eax
mov eax, dword [0x50fc6c]
mov dword [ecx + 4], eax
mov ax, word [0x50fc70]
mov word [ecx + 8], ax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.InstallPath
push str.QJCfg
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
push str.InstallPath
call fcn.00406270
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00413c46
mov esp, ebp
pop ebp
ret
Function at 0x406270
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508798
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x5490a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
call fcn.00482ace
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00482b02
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x406348
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4063c3
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.XiangCaoWifi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40631e
push dword [ebp + 0xc]
call esi
jmp 0x4063c3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call esi
push dword [ebp + 0xc]
call esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4063c3
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.XiangCaoWifi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4063be
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00482ae1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x409070
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x88c]
test ecx, ecx
je 0x40908d
call fcn.004f7930
mov ecx, dword [esi + 0x88c]
call fcn.004073b0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push 1
push 1
push 0x7530
push 0x7530
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0xc]
pop esi
ret 4
Function at 0x40a930
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0x50f7a0
mov dword [ebp - 0xa38], eax
call fcn.00403840
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048d530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x40a99d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413c46
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push edi
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x40a9f1
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413c8d
push esi
mov esi, eax
mov dword [ebp - 0xa34], eax
push 0
push esi
call fcn.0048d530
add esp, 0x10
push esi
push edi
call ebx
test eax, eax
jne 0x40aa06
push esi
call fcn.00413ca0
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413c46
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x5107f4]
mov dword [ebp - 0xc], eax
mov ax, word [0x5107f8]
push 0x208
mov word [ebp - 8], ax
call fcn.00413c8d
add esp, 4
mov ebx, eax
mov cx, word [esi]
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x104
push ebx
push eax
mov word [ebp - 0xc], cx
call edi
test eax, eax
jne 0x40aa8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40ab19
push ebx
call fcn.00413ca0
xor ecx, ecx
mov eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413c8d
add esp, 8
mov ebx, eax
lea eax, [ebp - 0xc]
push 1
push ebx
push eax
call edi
test eax, eax
je 0x40ab19
mov edi, ebx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x40aa90
sub edi, ecx
lea eax, [ebp - 0x218]
sar edi, 1
push edi
push ebx
push eax
call fcn.0048ffea
add esp, 0xc
test eax, eax
je 0x40aac9
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40aab4
cmp word [esi], ax
je 0x40ab19
jmp 0x40aa27
lea eax, [ebp - 0x218]
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5107fc
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.0040af20
add esp, 0x14
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.00401d80
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00402620
lea ecx, [ebp - 0xa30]
call fcn.004022f0
mov eax, dword [ebp - 0xa34]
push eax
call fcn.00413ca0
push ebx
call fcn.00413ca0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov al, 1
pop edi
pop ebx
pop esi
call fcn.00413c46
mov esp, ebp
pop ebp
ret 8
Function at 0x40ab50
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0x214], 0
call fcn.0048d530
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40abd8
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x40abd1
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x40abf8
xor ecx, ecx
jmp 0x40ac10
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ac01
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00403840
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00413c46
mov esp, ebp
pop ebp
ret 8
Function at 0x40ac40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508c96
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x478], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x47c], 0
push eax
push 0x50f7a0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403840
push 0x22c
lea eax, [ebp - 0x474]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0048d530
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40acfe
push 0x50f7a0
mov ecx, ebx
call fcn.00401d80
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x40aebd
inc ecx
push ecx
jmp 0x40aeac
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40ae77
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
jne 0x40ad4a
xor ecx, ecx
jmp 0x40ad62
lea ecx, [ebp - 0x450]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ad53
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403840
mov esi, dword [ebp - 0x46c]
mov byte [ebp - 4], 1
cmp esi, dword [ebp + 0xc]
je 0x40adc0
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x40ada6
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00467f00
lea eax, [ebp - 0x474]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ad20
jmp 0x40ae77
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048d530
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40ae65
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408850
lea eax, [ebp - 0x230]
push 0x50f7a0
push eax
call fcn.00409be0
add esp, 8
test al, al
je 0x40ae65
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.0040a930
lea eax, [ebp - 0x230]
push 0x50f7a0
push eax
call fcn.00409be0
add esp, 8
test al, al
je 0x40ae65
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408850
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.004022f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x230]
push eax
call fcn.00402bf0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40aebd
inc eax
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00467f00
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413c46
mov esp, ebp
pop ebp
ret 8
Function at 0x40d520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0041d5c0
add esp, 4
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [0x549074]
mov edi, eax
mov ecx, dword [0x549078]
mov dword [0x54bbb4], 0
cmp esi, ecx
jae 0x40d58a
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x40d583
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x549078]
add esi, 4
cmp esi, ecx
jb 0x40d570
cmp dword [0x54bbb8], 0
jne 0x40d598
call fcn.0040d7a0
mov ecx, dword [0x54bbb8]
mov eax, dword [ecx]
call dword [eax + 0xac]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0048d530
push 0x510218
lea eax, [ebp - 0x20c]
push 0x510854
push eax
call fcn.00403cf0
add esp, 0x18
cmp dword [0x54bbb8], 0
jne 0x40d5e0
call fcn.0040d7a0
mov ecx, dword [0x54bbb8]
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x40100
push 0x10ce0000
push eax
push 0
call fcn.00416e80
cmp dword [0x54bbb8], 0
jne 0x40d618
call fcn.0040d7a0
mov ecx, dword [0x54bbb8]
call fcn.00416d00
cmp dword [0x54bbb8], 0
jne 0x40d631
call fcn.0040d7a0
mov ecx, dword [0x54bbb8]
push 5
call fcn.00484b10
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x54bbb8], 0
jne 0x40d653
call fcn.0040d7a0
mov ecx, dword [0x54bbb8]
call fcn.00484b10
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.0041c060
call fcn.0041e2e0
mov ecx, 0x54bb88
call fcn.0040ed70
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413c46
mov esp, ebp
pop ebp
ret
Function at 0x40e070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509036
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40e11c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40e11c
call fcn.0040d180
mov esi, eax
jmp 0x40e20c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40e13f
call fcn.0040d180
jmp 0x40e1ff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40e15d
call fcn.0040d180
jmp 0x40e1ff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40e17e
mov esi, 0x8007000e
jmp 0x40e201
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0040cf60
jmp 0x40e1a8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40e1bf
mov esi, 0x8007000e
jmp 0x40e201
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40e1df
call fcn.0040d180
jmp 0x40e1ff
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040df10
mov esi, eax
test edi, edi
je 0x40e20c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40e230
lea ecx, [ebp - 0x418]
call fcn.0040d6e0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413c46
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40eb60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x40eb79
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40eb85
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x40eb80
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40ebc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x40ebd5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ebe0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x411300
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0x64
push 2
push esi
mov ecx, dword [esi + 0x758]
call fcn.0041e080
lea eax, [esi + 0x8c0]
push eax
push 0
push esi
push 0x411940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x8c4], eax
pop esi
ret
Function at 0x411f20
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x8a4]
test ecx, ecx
je 0x411f35
mov eax, dword [ecx]
call dword [eax + 0x1c8]
mov ecx, dword [esi + 0x8a8]
test ecx, ecx
je 0x411f47
mov eax, dword [ecx]
call dword [eax + 0x1c8]
mov ecx, dword [esi + 0x8ac]
test ecx, ecx
je 0x411f59
mov eax, dword [ecx]
call dword [eax + 0x1c8]
push 0
push 0
push esi
push 0x411940
push 0
push 0
call fcn.00494e6a
add esp, 0x18
test eax, eax
jne 0x411f7a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x758]
push 0x64
push 1
push esi
call fcn.0041e080
pop esi
ret

Function at 0x412730
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x208
push eax
mov word [ebp - 0xc], ax
mov edi, ecx
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x214]
push eax
call fcn.0048d530
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412771
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jl 0x412794
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00494efd
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.004147a0
cmp dword [edi + 0x788], 0
cvtsd2ss xmm0, xmm0
je 0x412834
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x41280d
mulss xmm0, dword [0x5132e8]
lea eax, [ebp - 0x214]
sub esp, 8
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push 0x513228
push eax
call fcn.00403cf0
add esp, 0x10
jmp 0x412822
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.00403cf0
add esp, 0xc
mov ecx, dword [edi + 0x788]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413c46
mov esp, ebp
pop ebp
ret 4
Function at 0x413190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509643
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc8], ebx
mov ecx, dword [ebx + 0x76c]
test ecx, ecx
je 0x413319
cmp dword [ebx + 0x778], 0
je 0x413319
call fcn.00432200
test al, al
je 0x413319
mov ecx, dword [ebx + 0x778]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00415ba0
push eax
lea ecx, [ebp - 0x28]
call fcn.00401d80
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00415380
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413234
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jle 0x4132f0
push 3
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406fb0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
sbb esi, esi
call fcn.004022f0
and esi, 1
je 0x4132f0
mov ecx, dword [ebx + 0x768]
test ecx, ecx
je 0x413293
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov esi, dword [ebx + 0x758]
xor ecx, ecx
mov eax, dword [ebx + 0x75c]
xor edi, edi
mov ebx, eax
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x4132d7
mov edx, dword [esi]
test edx, edx
je 0x4132cf
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
inc edi
add esi, 4
cmp edi, ebx
jne 0x4132b6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412730
jmp 0x413304
mov ecx, dword [ebx + 0x768]
test ecx, ecx
je 0x413304
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x413319
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00467f00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413c46
mov esp, ebp
pop ebp
ret

Function at 0x413510
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413587
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x413587
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413c46
mov esp, ebp
pop ebp
ret
Function at 0x41a000
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x41a025
or esi, 1
push 1
call edi
test ax, ax
jns 0x41a031
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x41a03d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x41a049
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret