joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x43c648]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x4a38]
mov edx, dword [eax]
inc dword [esi + 0xa8]
mov ecx, dword [edi + 0x26c]
mov dword [ebp - 4], edx
cmp dword [ecx + 0x7c], 1
jle 0x40967f
push ecx
add ecx, 0x78
call fcn.00424ff0
mov edx, dword [ebp - 4]
mov edi, dword [edi + 0x26c]
mov esi, dword [edx + ebx*4 + 0x70]
mov eax, dword [edi]
test eax, eax
je 0x4096f2
cmp eax, 1
jne 0x4096a3
mov eax, dword [edi + 8]
cmp dword [eax + 0x1c], 0
jne 0x4096a3
cmp dword [eax + 0x20], 0
je 0x4096f2
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x4096d9
lea edx, [eax + 1]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x4096c4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 8]
sar eax, 1
add eax, ecx
jmp 0x4096c9
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.004196f0
mov edx, dword [ebp - 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
inc dword [edx + 0x3c]
mov eax, dword [edi + 0x18]
add dword [edx + 0x44], eax
mov eax, dword [edi + 0xc]
add dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x190]
mov eax, dword [eax + 0x188]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x409732
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xae], 0
je 0x40972b
cmp byte [ecx + 0xb5], 0
jne 0x40972b
mov edx, ebx
call fcn.00409640
add esi, 4
cmp esi, edi
jne 0x409710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a8f0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40a92d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40a913
cmp byte [esi], bl
jne 0x40a913
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4335a8]
test bl, bl
jne 0x40a904
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040a890
Function at 0x4178d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5e0c], 0
lea esi, [edi + 0x5e10]
je 0x417952
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41790c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00419ae0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00404bc0
mov edx, dword [esi]
mov ecx, 0x43c644
push dword [edi + 0x5e0c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5e18]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00404bc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x417d60
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x43c648]
test bl, bl
je 0x417da6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x417d87
cmp byte [esi], bl
jne 0x417d87
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4335a8]
test bl, bl
jne 0x417d78
mov edi, dword [0x43c648]
mov ecx, dword [edi + 0x5db0]
not eax
mov edx, dword [edi + 0x5db8]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x417dcd
cmp dword [edx + 4], eax
je 0x417dd0
add edx, 0x24
cmp edx, ecx
jne 0x417dc1
xor eax, eax
ret
mov eax, edx
ret
Function at 0x42aad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x43c648]
mov ebx, ecx
push 0x40
mov dword [ebp - 0x20], edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x43c648]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x42ab5c
movsx eax, word [ecx + 0x5ebc]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbd8
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x42ab52
movsx eax, word [ecx + 0x5ebc]
inc eax
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5ebc], ax
cwde
add eax, 0xbd8
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 4]
inc dword [ecx + 0x5eb4]
test esi, esi
je 0x42abd1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0x1388
mov dword [esi + 0x3c], 0x2710
jmp 0x42abd3
xor esi, esi
or dword [edi + 0xc], 8
lea ecx, [ebp - 8]
push ecx
mov dword [edi + 0x78], esi
mov dword [edi + 0x70], str.imgui_impl_dx11
mov eax, dword [ebx]
push 0x438e9c
push ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call dword [eax]
test eax, eax
jne 0x42ac42
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push 0x438eac
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jne 0x42ac42
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x10]
push edx
push 0x438ebc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jne 0x42ac42
mov eax, dword [ebp - 0x20]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x42ac4f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x42ac5c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431a32
mov esp, ebp
pop ebp
ret
Function at 0x42ac80
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x43c648]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x42ae2c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x42ae2c
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x43c648]
add esp, 4
mov edi, eax
test esi, esi
je 0x42ad23
movsx edx, word [esi + 0x5ebc]
lea eax, [esi + 0x5ec0]
mov ecx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x42ad19
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5ebc], ax
cwde
add eax, 0xbd8
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5eb4]
test edi, edi
je 0x42ad36
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x42ad38
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x6c], 0x438ecc
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x42ad73
mov esi, dword [esi + 0x74]
jmp 0x42ad75
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42ad98
mov dword [esi], eax
mov eax, dword [0x43c648]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4a38]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x24], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x42adfa
inc esi
cmp esi, 5
jl 0x42add1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431a32
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431a32
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431a32
mov esp, ebp
pop ebp
ret
Function at 0x4324f0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43252f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43252f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43252f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43252f
cmp dword [ecx + 0x74], 0xe
jbe 0x43252f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x100039c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10004ab4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10002880
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x10006258
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
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.004082ae
leave
ret 4
Function at 0x402e80
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 [0x42456c]
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
pop edi
pop esi
pop ebx
ret
Function at 0x403eb0
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.0040a21d
add esp, 0x10
lea eax, [esp]
push 0
push eax
push 0x4184f0
call fcn.004044b0
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 0x403f00
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 0x4188b4
push 0x4188b4
lea eax, [esp + 0xc]
push eax
push str.open
push dword [0x42456c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004082ae
add esp, 0x20c
ret

Function at 0x403f70
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 0x403fa2
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.00404530
imul eax, eax, 0xffa80
add esp, 8
cmp dword [0x422004], 0
cdq
mov dword [0x424570], eax
mov eax, 0x49
mov dword [0x424574], edx
mov word [0x422008], ax
je 0x403ff1
lea eax, [esp]
push eax
push 0
push 0
push 0x404000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
Function at 0x404320
Capabilities:
Create thread
Get memory capacity

Disassembly:
sub esp, 0x60
mov eax, dword [0x422c40]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
push 0x40
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004091f0
add esp, 0xc
mov dword [esp + 0x2c], 0x40
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x34]
mov ebx, 0x34ca257d
mul ebx
mov ebp, 0x802c0f25
mov dword [esp + 0x14], eax
mov esi, edx
mov eax, dword [esp + 0x34]
mul ebp
mov edi, eax
mov ebp, edx
mov eax, dword [esp + 0x38]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x38]
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 + 0x14], edi
xor eax, eax
add ebx, ebp
adc eax, eax
add ecx, ebx
adc edx, eax
mov eax, dword [esp + 0x74]
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.00408570
mov ebx, edx
mov ecx, eax
mov edx, 0xe147ae15
mov dword [esp + 0x14], ecx
mul edx
mov ebp, 0x47ae147a
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 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 + 0x1c], eax
adc ebx, 0
add edi, ecx
adc ebp, 0
xor eax, eax
add ebx, ebp
mov ecx, dword [esp + 0x1c]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x14]
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 0x404450
jb 0x404449
cmp ebx, 0x10
jae 0x404450
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 [0x424570], eax
cmp dword [0x422004], 0
mov eax, 0x49
pop ebp
mov dword [0x424574], ecx
mov word [0x422008], ax
pop ebx
je 0x40449a
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x404000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004082ae
add esp, 0x60
ret
Function at 0x404530
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x8014
call fcn.00408620
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 0x4045de
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 0x4045d4
lea eax, [esp + 0x14]
push eax
call fcn.0040b0e4
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.004082ae
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.004082ae
add esp, 0x8014
ret

Function at 0x404600
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 0x40462a
push 5
push dword [0x4247b0]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 0
push dword [0x4247b0]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x404640
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 0x4046f8
push 5
jmp 0x4046fa
push 0
push dword [esp + 0x14]
call esi
push 0x423418
push 0
push str.Hide2
push str.OPTIONS
call edi
test eax, eax
jne 0x40471b
push 5
jmp 0x40471d
push 0
push ebx
call esi
push 0x423418
push 0
push str.Hide3
push str.OPTIONS
call edi
test eax, eax
jne 0x40473b
push 5
jmp 0x40473d
push 0
push dword [esp + 0x18]
call esi
push 0x423418
push 0
push str.Hide4
push str.OPTIONS
call edi
test eax, eax
jne 0x40475e
push 5
jmp 0x404760
push 0
push dword [esp + 0x1c]
call esi
push 0x423418
push 0
push str.Hide5
push str.OPTIONS
call edi
test eax, eax
jne 0x40478a
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 0x4047a0
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 0x40485c
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.004082ae
add esp, 0xbc
ret
mov ecx, dword [esp + 0xbc]
xor eax, eax
pop edi
xor ecx, esp
call fcn.004082ae
add esp, 0xbc
ret