joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007f5e5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008a330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100707d4
mov dword [ebp - 0x14], eax
cmp dword [0x10677120], esi
jne 0x1007f6d8
push 0x800
push esi
push 0x10007e2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007f665
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007f7b8
push esi
push esi
push 0x10007e2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007f7b8
push 0x10007e44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007f7b8
push eax
call ebx
push 0x10007e50
push edi
mov dword [0x10677120], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007e60
push edi
mov dword [0x10677124], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007e74
push edi
mov dword [0x10677128], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10677130], eax
test eax, eax
je 0x1007f6d5
push 0x10007e90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067712c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007f6fd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007f6f0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007f712
push 4
pop eax
jmp 0x1007f7ba
cmp dword [ebp - 0x14], esi
je 0x1007f712
push dword [0x10677120]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007f6f7
mov eax, dword [0x1067712c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007f770
cmp dword [0x10677130], edi
je 0x1007f770
push eax
call ebx
push dword [0x10677130]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007f770
test eax, eax
je 0x1007f770
call ecx
test eax, eax
je 0x1007f765
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007f765
test byte [ebp - 8], 1
jne 0x1007f770
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007f7a0
mov eax, dword [0x10677124]
cmp eax, edi
je 0x1007f79d
push eax
call ebx
test eax, eax
je 0x1007f79d
call eax
mov esi, eax
test esi, esi
je 0x1007f79d
mov eax, dword [0x10677128]
cmp eax, edi
je 0x1007f79d
push eax
call ebx
test eax, eax
je 0x1007f79d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10677120]
call ebx
test eax, eax
je 0x1007f7b8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007f7ba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401274
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4012dc
cmp dword [ebp + 0x10], 1
je 0x4012b5
cmp dword [ebp + 0x10], 2
je 0x4012b5
push 0xd
pop eax
jmp 0x4012dc
test edi, edi
mov eax, dword [ebp - 4]
je 0x4012d6
test eax, eax
je 0x4012d2
test al, 1
jne 0x4012b0
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x4012d6
jmp 0x4012b0
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x403765
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
push edi
mov byte [ebp - 1], 1
jne 0x4037b2
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x4037d9
shr eax, 2
test al, 1
je 0x4037e2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x403815
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x46e808
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x403814
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret

Function at 0x403ca1
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 1]
push edi
call fcn.004030ff
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.004022d3
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x4059cb
Capabilities:
Get cpu information
Get memory capacity
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov dword [ebx], esi
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
push 8
pop ecx
mov dword [eax], esi
xor eax, eax
lea edi, [ebp - 0x28]
push 0x3c
mov dword [ebp - 0x2c], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 0x6c], esi
call fcn.0044aed0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov dword [ebx], eax
jg 0x405a1e
xor eax, eax
jmp 0x405abf
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x405a17
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea eax, [ebp + 8]
push eax
push 0x20019
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edi, dword [ebp + 0xc]
jne 0x405a8b
lea eax, [ebp + 0x10]
push eax
push edi
push esi
push esi
push 0x46eec8
push dword [ebp + 8]
mov dword [ebp + 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi], esi
jg 0x405abc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x405a17
push esi
push 0xf4240
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0044bf60
cmp eax, esi
mov dword [edi], eax
jle 0x405a17
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405caf
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push dword [esp + 0x14]
mov esi, ecx
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
cmp dword [esp + 0x10], 0xf020
mov edi, eax
jne 0x405cdf
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
pop esi
ret 0x10

Function at 0x405fa9
Capabilities:
Read file via mapping

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
xor ebx, ebx
push 0x38
push ebx
push 4
push ebx
mov edi, ecx
push 0xffffffffffffffff
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [edi], eax
je 0x405fff
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
mov esi, eax
sub esi, 0xb7
push ebx
neg esi
push 6
push dword [edi]
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp esi, ebx
mov dword [edi + 4], eax
pop esi
jne 0x405fff
push 0x38
push ebx
push eax
call fcn.0044aed0
add esp, 0xc
mov eax, edi
pop edi
pop ebx
ret 4
Function at 0x40636b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406384
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x406752
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, ecx
push dword [esi + 0x3c]
mov ebx, str.Product
push 1
push str.autorun
push ebx
call edi
push dword [esi + 0x3c]
mov dword [esi], eax
push 1
push str.trayico
push ebx
call edi
push dword [esi + 0x3c]
mov dword [esi + 4], eax
push 1
push 0x46f498
push ebx
call edi
push dword [esi + 0x3c]
mov dword [esi + 0x14], eax
push 0
push str.ltbid
push ebx
call edi
push dword [esi + 0x3c]
mov dword [esi + 0x18], eax
push 0xa
push str.speed
push ebx
call edi
push dword [esi + 0x3c]
mov word [esi + 0x20], ax
push 0
push str.cltnum
push ebx
call edi
push dword [esi + 0x3c]
mov ebx, str.Hotkey
push 1
push 0x46f458
push ebx
mov dword [esi + 0x1c], eax
call edi
push dword [esi + 0x3c]
mov dword [esi + 8], eax
push 0x7b
push str.keycode
push ebx
call edi
push dword [esi + 0x3c]
mov word [esi + 0xc], ax
push 6
push str.modifiers
push ebx
call edi
pop edi
mov word [esi + 0xe], ax
pop esi
pop ebx
ret

Function at 0x406aa3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406b06
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x406aff
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x406aff
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x406b06
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
ret 4
Function at 0x407125
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x3e9
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x407152
leave
ret
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x4071a4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push esi
push 1
push esi
push 0x46f4e8
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x4071bf
mov esi, eax
jmp 0x407194
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call edi
call ebx
test eax, eax
je 0x4071da
mov esi, dword [ebp - 8]
jmp 0x407194
push esi
push 1
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x4071d5

Function at 0x407461
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x407532
dec eax
je 0x4074d1
dec eax
jne 0x40759c
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x42c
push edi
push dword [esi + 4]
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push 0x42b
push dword [esi + 4]
call ebx
push 0
push eax
call ebp
push 0x42e
push dword [esi + 4]
call ebx
push 0
push eax
call ebp
push 0x46f5c4
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x46f5b0
jmp 0x407591
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x42c
push edi
push dword [esi + 4]
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push 0x42b
push dword [esi + 4]
call ebx
push 0
push eax
call ebp
push 0x42e
push dword [esi + 4]
call ebx
push 0
push eax
call ebp
push 0x46f598
push edi
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
call edi
push 0x46f580
push 0x42e
push dword [esi + 4]
call edi
push 0x46f56c
jmp 0x407591
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x42c
push edi
push dword [esi + 4]
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push 0x42b
push dword [esi + 4]
call ebx
push 5
push eax
call ebp
push 0x42e
push dword [esi + 4]
call ebx
push 0
push eax
call ebp
push 0x46f554
push edi
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
call edi
push 0x46f580
push 0x42b
push dword [esi + 4]
call edi
push 0x46f540
lea ecx, [esi + 0x520]
call fcn.0040299c
push 1
push 0
push dword [esi + 0x524]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x409d9c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409dc5
push 1
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
inc eax
jmp 0x409ddf
push 0
push dword [esi + 4]
lea ecx, [esi + 0x48]
call fcn.004092fb
push 1
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x40af96
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x48d158]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x466f3b
call fcn.0044ae06
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.00406b0b
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [esi + 0x44]
push eax
lea ecx, [ebp - 0x10]
call fcn.004047d3
push 0x46fbc8
lea ecx, [ebp - 0x10]
call fcn.00404820
cmp dword [esi], edi
je 0x40b061
push 0x206
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.0044aed0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
mov ebx, str.urlspace
push ebx
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
push edi
mov esi, SysReAllocStringLen
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40b076
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x18]
push 1
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x40b076
push str.urlspace
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402578
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044adf7
add ebp, 0x20c
leave
ret
Function at 0x40ca3c
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x48d158]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x467256
call fcn.0044ae06
mov eax, dword [ebp + 0x814]
mov esi, dword [ebp + 0x80c]
mov ebx, dword [ebp + 0x810]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x818]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov edi, ecx
mov dword [ebp - 0x1c], esi
call fcn.0044aed0
add esp, 0xc
push dword [edi + 0x3c]
lea eax, [ebp]
push 0x3ff
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00404f7e
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
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 + 0x800]
xor ecx, ebp
call fcn.0044adf7
add ebp, 0x804
leave
ret 0x10

Function at 0x40e0af
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x48e828
call fcn.0040803f
mov ecx, esi
neg ecx
sbb ecx, ecx
lea edx, [esi + 0x20]
and ecx, edx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [eax + 4]
call fcn.00406ef0
push 0
mov ecx, esi
call fcn.0040bda9
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UnregisterHotKey]
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40e10c
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x24]
call fcn.004056f2
test eax, eax
je 0x40e121
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [esi + 0x5f0]
call fcn.004271fe
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x40ee11
Capabilities:
Read .ini file

Disassembly:
push 0x20
mov eax, 0x4675a5
call fcn.0044ae06
mov edi, ecx
mov ecx, dword [ebp + 8]
call fcn.004092bf
push dword [edi + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 1
push str.urlct
mov ebx, str.Product
push ebx
call esi
and dword [ebp - 0x14], 0
test eax, eax
mov dword [ebp - 0x1c], eax
jle 0x40ef48
push ebx
lea ecx, [ebp - 0x10]
call fcn.00404f7e
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
jle 0x40ee75
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str.URLINFO_d
push eax
call fcn.0040486a
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00406f36
mov byte [ebp - 4], 1
push dword [edi + 0x3c]
push 0
push str.status
push dword [ebp - 0x10]
call esi
push dword [edi + 0x3c]
mov dword [ebp - 0x2c], eax
push 0
push str.uuid
push dword [ebp - 0x10]
call esi
push dword [edi + 0x3c]
mov dword [ebp - 0x28], eax
push 0
push 0x470718
push dword [ebp - 0x10]
call esi
push 0x46eb14
push 0x470710
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0040ca3c
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x20]
call fcn.004047d3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402578
cmp dword [ebp - 0x24], 1
je 0x40ef03
lea eax, [ebp - 0x20]
push eax
call fcn.004030b8
test eax, eax
pop ecx
je 0x40ef03
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jle 0x40ef21
cmp dword [ebp - 0x28], 0x2fffffff
jae 0x40ef21
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a20d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406fbb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402578
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jl 0x40ee4e
call fcn.0044aea5
ret 4

Function at 0x410311
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x410353
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0x10]
lea esi, [eax + 1]
push esi
call fcn.004030ff
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x10]
mov esi, eax
push esi
call fcn.004022d3
mov eax, esi
pop esi
jmp 0x41035e
mov ecx, dword [esp + 0xc]
call fcn.0040228f
xor eax, eax
pop edi
ret 8
Function at 0x4114dd
Capabilities:
Enumerate process modules

Disassembly:
push 0x42c
mov eax, 0x4678f4
call fcn.0044ae6f
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 4], esi
push dword [eax]
push 1
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], edi
jne 0x411533
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0044aeb9
ret
lea eax, [ebp - 0x438]
push eax
push 4
pop ebx
push ebx
lea eax, [ebp - 0x434]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
cmp eax, esi
jne 0x411562
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x42c], esi
jmp 0x41152b
mov edi, 0x104
push edi
lea eax, [ebp - 0x428]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
jne 0x411586
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x430]
jmp 0x411554
push edi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x434]
push dword [ebp - 0x430]
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp eax, esi
je 0x41157a
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
call edi
test eax, eax
je 0x41157a
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
mov word [ebp - 0x18], si
mov word [ebp - 0x16], si
mov word [ebp - 0x14], si
mov word [ebp - 0x12], si
call fcn.00422f81
add esp, 0xc
cmp word [ebp - 0x18], si
jne 0x411618
cmp word [ebp - 0x16], si
jne 0x411618
cmp word [ebp - 0x14], si
jne 0x411618
cmp word [ebp - 0x12], si
jne 0x411618
xor edi, edi
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x42c], esi
mov eax, edi
jmp 0x41152d
cmp word [ebp - 0x12], 0x64
jb 0x411625
add word [ebp - 0x12], 0xff9c
cmp word [ebp - 0x18], bx
jae 0x411630
xor edi, edi
inc edi
jmp 0x4115fb
ja 0x4115f9
cmp word [ebp - 0x16], si
ja 0x4115f9
cmp word [ebp - 0x14], bx
jb 0x41162b
ja 0x4115f9
movzx eax, word [ebp - 0x12]
xor ebx, ebx
inc ebx
cmp eax, ebx
jge 0x41164f
mov edi, ebx
jmp 0x4115fb
jg 0x4115f9
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
call edi
test eax, eax
je 0x4115f9
jmp 0x41164b

Function at 0x411948
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x41199e
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x4119b4
push 0x80004005
call fcn.0040103f
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4119b7
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8