joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e648
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4d9a20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49e688
cmp byte [ebx], 0xa
jne 0x49e688
or byte [edi + eax + 0x28], 4
jmp 0x49e68d
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x49e78c
mov dl, byte [eax]
cmp dl, 0x1a
je 0x49e76f
inc eax
cmp dl, 0xd
je 0x49e6b9
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x49e6df
cmp eax, ecx
jae 0x49e6ed
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x49e6a1
jmp 0x49e78c
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49e76a
cmp dword [ebp - 0x10], 0
je 0x49e76a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4d9a20]
test byte [eax + edi + 0x28], 0x48
je 0x49e744
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x49e72f
mov byte [esi], dl
jmp 0x49e740
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d9a20]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x49e78c
cmp byte [ebp - 1], 0xa
jne 0x49e753
cmp esi, ebx
jne 0x49e753
mov byte [esi], 0xa
jmp 0x49e78b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401938
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x49e78c
mov byte [esi], 0xd
jmp 0x49e78b
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4d9a20]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49e789
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49e78c
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49e7e8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4d9a20]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49e82e
cmp word [ebx], dx
jne 0x49e82e
or byte [eax + edi + 0x28], 4
jmp 0x49e833
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x49e996
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x49e976
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x49e874
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49e8aa
cmp eax, edx
jae 0x49e8b8
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x49e84f
jmp 0x49e996
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49e971
cmp dword [ebp - 0x18], 0
je 0x49e971
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4d9a20]
test byte [eax + edi + 0x28], 0x48
je 0x49e947
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x49e90b
mov word [esi], cx
jmp 0x49e942
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4d9a20]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4d9a20]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4d9a20]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x49e996
pop eax
cmp word [ebp - 4], ax
jne 0x49e957
cmp esi, ebx
jne 0x49e957
mov word [esi], ax
jmp 0x49e993
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401938
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x49e996
push 0xd
pop eax
jmp 0x49e952
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4d9a20]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x49e990
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x49e996
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a371a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a3765
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a3bd2
test al, al
jne 0x4a375f
sub edx, 2
cmp edx, edi
jne 0x4a3745
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a3787
lea eax, [edi + 2]
cmp edx, eax
je 0x4a3787
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a3313
add esp, 0x10
jmp 0x4a3881
push esi
lea ecx, [ebp - 0x255]
call fcn.004a3bd2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a37ca
push dword [ebp - 0x25c]
jmp 0x4a3777
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a3807
cmp word [ebp - 0x226], 0
je 0x4a3828
cmp word [ebp - 0x226], ax
jne 0x4a3807
cmp word [ebp - 0x224], 0
je 0x4a3828
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a3313
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a3874
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a37e1
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a385c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a3881
push 0x4a2cfb
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040560a
add esp, 0x10
jmp 0x4a3851
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004030b7
leave
ret

Function at 0x4a9567
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040437c
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4a95d6
cmp esi, dword [ebp - 4]
je 0x4a95d1
cmp dword [ebp + 0xc], 0
je 0x4a95d1
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a95ae
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004a8f8f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4a95d8
xor eax, eax
inc eax
jmp 0x4a95d8
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x401063
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x422c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401138
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401127
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x401111
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x401127
push eax
push edi
push dword [ebp - 0x110]
call section..text
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x40113a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004085ae
leave
ret 4
Function at 0x402f70
Capabilities:
Empty the recycle bin
Read .ini file

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0x423418
push 0
push str.RecConf
push str.OPTIONS
call esi
push 0x423418
push 0
push str.RecNoUI
push str.OPTIONS
mov ebx, eax
call esi
push 0x423418
push 0
push str.RecNoSound
push str.OPTIONS
mov edi, eax
call esi
neg eax
sbb ecx, ecx
and ecx, 4
neg edi
sbb edi, edi
xor eax, eax
and edi, 2
or ecx, edi
test ebx, ebx
setne al
or ecx, eax
push ecx
push 0
push dword [0x42466c]
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
pop edi
pop esi
pop ebx
ret
Function at 0x404070
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov eax, dword [0x422c40]
xor eax, esp
mov dword [esp + 0x14], eax
push 0xa
push 0xa
lea eax, [esp + 8]
push eax
push dword [esp + 0x28]
call fcn.0040a51d
add esp, 0x10
lea eax, [esp]
push 0
push eax
push 0x418500
call fcn.004046d0
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4040c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x422c40]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x423e40
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.killproc.exe
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 5
push 0x4188c4
push 0x4188c4
lea eax, [esp + 0xc]
push eax
push str.open
push dword [0x42466c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004085ae
add esp, 0x20c
ret

Function at 0x404130
Capabilities:
Create thread
Open clipboard
Read .ini file

Disassembly:
push ecx
push 0x423418
push 0
push str.Clipboard
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x404162
push dword [esp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x80
push str.Free
call fcn.00404750
imul eax, eax, 0xffa80
add esp, 8
cmp dword [0x422004], 0
cdq
mov dword [0x424670], eax
mov eax, 0x49
mov dword [0x424674], edx
mov word [0x422008], ax
je 0x4041b1
lea eax, [esp]
push eax
push 0
push 0
push 0x4041c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
Function at 0x404510
Capabilities:
Create thread
Get memory capacity

Disassembly:
sub esp, 0x5c
push 0x40
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004094f0
movups xmm0, xmmword [esp + 0x28]
add esp, 0xc
movups xmmword [0x424258], xmm0
mov dword [0x424258], 0x40
movups xmm0, xmmword [esp + 0x2c]
push 0x424258
movups xmmword [0x424268], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [0x424278], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [0x424288], xmm0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4046c8
mov eax, dword [0x424260]
push ebx
mov ebx, 0x34ca257d
mul ebx
push ebp
mov dword [esp + 0x14], eax
mov ebp, 0x802c0f25
mov eax, dword [0x424260]
push esi
mov esi, edx
mul ebp
push edi
mov edi, eax
mov ebp, edx
mov eax, dword [0x424264]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [0x424264]
mov edx, 0x802c0f25
mul edx
add ecx, esi
mov dword [esp + 0x10], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x10]
adc ebp, 0
mov dword [esp + 0x1c], edi
xor eax, eax
add ebx, ebp
adc eax, eax
add ecx, ebx
adc edx, eax
mov eax, dword [esp + 0x70]
shrd ecx, edx, 0x13
shr edx, 0x13
mov dword [esp + 0x10], edx
cdq
push edx
push eax
push dword [esp + 0x18]
push ecx
call fcn.00408870
mov ecx, eax
mov ebx, edx
mov edx, 0xe147ae15
mov dword [esp + 0x1c], ecx
mul edx
mov ebp, 0x47ae147a
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov esi, edx
mov eax, ecx
mov ecx, 0xe147ae15
mul ebp
mov edi, eax
mov ebp, edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x14], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x14]
adc ebp, 0
xor eax, eax
add ebx, ebp
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x1c]
adc edx, eax
mov eax, dword [esp + 0x10]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 6
shr eax, 6
test eax, eax
ja 0x404673
jb 0x40466c
cmp ebx, 0x10
jae 0x404673
mov ebx, 0x10
xor eax, eax
mov esi, 0xffa80
mul esi
pop edi
mov ecx, eax
mov eax, ebx
mul esi
pop esi
add ecx, edx
mov dword [0x424670], eax
cmp dword [0x422004], 0
mov eax, 0x49
pop ebp
mov dword [0x424674], ecx
mov word [0x422008], ax
pop ebx
je 0x4046c8
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x4041c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4046c8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x5c
ret
Function at 0x404750
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x8014
call fcn.00408920
mov eax, dword [0x422c40]
xor eax, esp
mov dword [esp + 0x8010], eax
push esi
mov esi, dword [esp + 0x801c]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREGodlike_DevelopersRAM_Saver_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4047fe
lea eax, [esp + 8]
mov dword [esp + 8], 0x4000
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4047f4
lea eax, [esp + 0x14]
push eax
call fcn.0040b3e4
add esp, 4
mov esi, eax
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x8010]
xor ecx, esp
call fcn.004085ae
add esp, 0x8014
ret
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x8014]
mov eax, dword [esp + 0x8020]
pop esi
xor ecx, esp
call fcn.004085ae
add esp, 0x8014
ret

Function at 0x404820
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
push 0x423418
push 0
push str.Noicons
push str.OPTIONS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x40484a
push 5
push dword [0x4248b0]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 0
push dword [0x4248b0]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x404860
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar
Read .ini file

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
push 0
push str.BUTTON
push 0
push esi
call edi
push 0
push str.ReBarWindow32
push 0
push esi
mov dword [esp + 0x20], eax
call edi
push str.Quick_Launch
push str.ToolbarWindow32
mov ebx, eax
push 0
push ebx
call edi
push 0
push str.MSTaskSwWClass
push 0
push ebx
mov dword [esp + 0x24], eax
call edi
push 0
push str.TrayNotifyWnd
push 0
push esi
mov dword [esp + 0x28], eax
call edi
push 0
push str.BUTTON
mov esi, eax
push 0
push esi
call edi
push 0
push str.SysPager
push 0
push esi
call edi
push 0
push str.TrayClockWClass
push 0
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
push 0x423418
push 0
push str.Hide1
push str.OPTIONS
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x404918
push 5
jmp 0x40491a
push 0
push dword [esp + 0x14]
call esi
push 0x423418
push 0
push str.Hide2
push str.OPTIONS
call edi
test eax, eax
jne 0x40493b
push 5
jmp 0x40493d
push 0
push ebx
call esi
push 0x423418
push 0
push str.Hide3
push str.OPTIONS
call edi
test eax, eax
jne 0x40495b
push 5
jmp 0x40495d
push 0
push dword [esp + 0x18]
call esi
push 0x423418
push 0
push str.Hide4
push str.OPTIONS
call edi
test eax, eax
jne 0x40497e
push 5
jmp 0x404980
push 0
push dword [esp + 0x1c]
call esi
push 0x423418
push 0
push str.Hide5
push str.OPTIONS
call edi
test eax, eax
jne 0x4049aa
push 5
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 0
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x4049c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xbc
mov eax, dword [0x422c40]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc0]
push edi
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x18], 0x44
push str.CONTROL.EXE__s
mov edi, 1
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404a7c
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004085ae
add esp, 0xbc
ret
mov ecx, dword [esp + 0xbc]
xor eax, eax
pop edi
xor ecx, esp
call fcn.004085ae
add esp, 0xbc
ret
Function at 0x405d50
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
mov eax, dword [0x422c40]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405dd8
lea eax, [esp + 8]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x405dd8
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004085ae
add esp, 0x18
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
xor ecx, esp
call fcn.004085ae
add esp, 0x18
ret

Function at 0x405df0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
movzx ecx, word [eax]
test cx, cx
je 0x405e14
mov edx, ecx
nop
xor edx, 1
lea eax, [eax + 2]
mov word [eax - 2], dx
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x405e00
xor eax, eax
ret

Function at 0x405e20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
or esi, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
test ecx, ecx
jle 0x405e50
movzx eax, word [edi]
lea edi, [edi + 2]
xor eax, esi
dec ecx
movzx eax, al
shr esi, 8
xor esi, dword [eax*4 + 0x422018]
test ecx, ecx
jg 0x405e36
not esi
pop edi
mov eax, esi
pop esi
ret
Function at 0x406050
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x423418
push 0
push esi
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x423418
test eax, eax
je 0x406084
push 0x418934
push esi
push str.OPTIONS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop esi
ret
push 0x418954
push esi
push str.OPTIONS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop esi
ret

Function at 0x4060a0
Capabilities:
Read .ini file

Disassembly:
push 0x423418
push 0
push str.Nosaver
push str.OPTIONS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 2
push 0
test eax, eax
jne 0x4060ca
push 1
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
ret
push 0
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
ret

Function at 0x4071b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x422c40]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x423e40
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.killproc.exe_1
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 5
push 0x4188c4
push 0x4188c4
lea eax, [esp + 0xc]
push eax
push str.open
push dword [0x42466c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004085ae
add esp, 0x20c
ret

Function at 0x407220
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x423418
push 0
push 0x418938
push str.Options
call esi
mov dword [0x42429c], eax
sub eax, 0
je 0x4072f3
sub eax, 1
je 0x4072bb
sub eax, 1
jne 0x4072e8
push 0x423418
push 0xf
push str.Interval
push str.Options
call esi
imul eax, eax, 0xea60
push 0
push eax
push 2
push dword [0x42466c]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x4072ef
push 0x423418
push 1
push 0x419200
push str.Options
call esi
push 0x423418
push 0xf
push str.Reach
push str.Options
mov dword [0x424298], eax
call esi
mov dword [0x4242a0], eax
mov eax, 1
pop esi
ret
push 0
push 0x124f80
push 2
push dword [0x42466c]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x4072ef
mov dword [0x424298], 4
mov dword [0x4242a0], 0
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
push 2
push dword [0x42466c]
call dword [sym.imp.USER32.dll_KillTimer]
neg eax
pop esi
sbb eax, eax
neg eax
ret