joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc320
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x438], ecx
mov dword [ebp - 0x430], 0x428
push 0x424
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.005533a0
add esp, 0xc
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0xffffffff
jne 0x4cc375
xor eax, eax
jmp 0x4cc3f4
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x434]
push edx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4cc3d8
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x418]
jae 0x4cc3c1
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x438]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x41c]
mov dword [eax], ecx
jmp 0x4cc3d8
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x434]
push eax
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4cc38c
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x438]
add eax, 0x10
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 8

Function at 0x4cc410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x244], ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov dword [ebp - 0x240], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x23c]
call fcn.0041d970
cmp dword [ebp - 4], 0
je 0x4cc4b7
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00554811
add esp, 8
push 0x59b8a8
mov eax, dword [ebp + 8]
push eax
call fcn.00554811
add esp, 8
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 4], eax
jmp 0x4cc475
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x23c]
call fcn.0041dab0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4
Function at 0x4d3450
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x4d34af
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d347c
mov eax, 1
jmp 0x4d34cd
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4d34ad
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
jmp 0x4d34cd
jmp 0x4d34c8
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x4d34c8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x4d34cd
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4d3820
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x230], ecx
push 0
lea ecx, [ebp - 0x18]
call fcn.004d32c0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004d36e0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d388d
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x18]
call fcn.004d32f0
mov eax, dword [ebp - 0x224]
jmp 0x4d391e
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4d38f3
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004d3820
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d38ea
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x18]
call fcn.004d32f0
mov eax, dword [ebp - 0x228]
jmp 0x4d391e
mov dword [ebp - 4], 0x100
jmp 0x4d3894
lea ecx, [ebp - 0x18]
call fcn.004d3510
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004d33a0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x18]
call fcn.004d32f0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4
Function at 0x4d3f10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4d3f19
xor ecx, ecx
jne 0x4d3f19
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4d3f3a
mov eax, 0xd
jmp 0x4d3f95
xor eax, eax
jne 0x4d3f21
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4d3f4b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x4d5840
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4d585a
xor eax, eax
jmp 0x4d587f
mov ecx, dword [ebp - 4]
and ecx, 1
je 0x4d586b
mov eax, 1
jmp 0x4d587f
mov edx, dword [ebp - 4]
and edx, 2
je 0x4d587a
mov eax, 1
jmp 0x4d587f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4d5b80
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a147
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.0041d970
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x59c9b0
push 0x59ca14
lea eax, [ebp - 0x18]
push eax
call fcn.00423c30
add esp, 0x10
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d5d19
mov dword [ebp - 0x30], 0
push 4
lea ecx, [ebp - 0x30]
push ecx
push 2
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x102
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0041e1e0
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4d5d0f
mov dword [ebp - 0x24], 1
push 0x100000
call fcn.00553501
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
push 0x100000
push 0
mov edx, dword [ebp - 0x38]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x100000
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], 0
jbe 0x4d5cec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
call fcn.00553501
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005533a0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005544b0
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00552dca
add esp, 4
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041dab0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
call fcn.004d6100
push 0
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push 0
call fcn.00416280
push 0x80
push 0x90000000
push str.CoolDock_CoolDock
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push 0x5e01a8
call fcn.0042c490
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004d8930
test eax, eax
jne 0x4d5f71
xor al, al
jmp 0x4d6075
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x5e24d4
call fcn.004d8490
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0
je 0x4d5f96
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov dword [ebp - 0x18], eax
jmp 0x4d5f9d
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004d8470
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [0x5e24a4], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0x4d66c0
call fcn.00554077
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0x4d6c00
call fcn.00554077
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x4d7390
call fcn.00554077
add esp, 0xc
mov ecx, dword [ebp - 0x14]
call fcn.004d7040
movzx ecx, byte [0x5e1958]
test ecx, ecx
je 0x4d6008
mov ecx, dword [ebp - 0x14]
call fcn.004d64a0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x5e195a
call fcn.0041d9b0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
call fcn.004d7830
movzx edx, byte [0x5e1950]
test edx, edx
je 0x4d6036
mov ecx, dword [ebp - 0x14]
call fcn.004d7610
movzx eax, byte [0x5e1951]
test eax, eax
je 0x4d604b
push 1
call fcn.004d6080
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call fcn.004e15d0
add esp, 4
push 0
push 0
push 0x4d62f0
call fcn.00554077
add esp, 0xc
mov ecx, dword [ebp - 0x14]
call fcn.004d7950
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4d6080
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 1
jne 0x4d609f
mov dword [ebp - 0x2c], 1
jmp 0x4d60a6
mov dword [ebp - 0x2c], 2
push 0x24
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 0x28], 0x24
push 0
push 0x59c3f4
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4d60e5
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x28]
push edx
push 0xa
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret
Function at 0x4d6100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a1b3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x24]
call fcn.004cba70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.004d8830
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041d990
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x24]
call fcn.004d8750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00480f60
lea ecx, [ebp - 0x30]
call fcn.00480f60
push 0
push 0x59c638
lea ecx, [ebp - 0x30]
call fcn.0041dc30
test eax, eax
jge 0x4d62ac
push 0
push 0x59c64c
lea ecx, [ebp - 0x30]
call fcn.0041dc30
test eax, eax
jge 0x4d62ac
push 0
push 0x59c65c
lea ecx, [ebp - 0x30]
call fcn.0041dc30
test eax, eax
jge 0x4d62ac
push 0
push 0x59c670
lea ecx, [ebp - 0x30]
call fcn.0041dc30
test eax, eax
jge 0x4d62ac
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041e1e0
push eax
lea ecx, [ebp - 0x30]
call fcn.0041dc30
test eax, eax
jge 0x4d62ac
lea ecx, [ebp - 0x30]
call fcn.0041e2f0
cmp eax, 3
jle 0x4d62ac
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0xf003f
push 0
push 0x59c678
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4d627b
mov dword [ebp - 0x38], 2
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x59c6b0
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4d6279
lea ecx, [ebp - 0x28]
call fcn.0041e2f0
shl eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e1e0
push eax
push 1
push 0
push 0x59c6e8
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4d62a2
lea ecx, [ebp - 0x28]
call fcn.0041e2f0
shl eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e1e0
push eax
push 1
push 0
push 0x59c700
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004cba90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d6a30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], 0x114
push 0x110
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4d6a9b
cmp dword [ebp - 0x124], 6
jb 0x4d6a9b
mov dword [ebp - 0x130], 1
jmp 0x4d6aa5
mov dword [ebp - 0x130], 0
mov edx, dword [ebp - 0x130]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x4d6aec
lea eax, [ebp - 4]
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
jl 0x4d6ad4
cmp dword [ebp - 4], 0
je 0x4d6ad4
mov dword [ebp - 0x134], 1
jmp 0x4d6ade
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
jmp 0x4d6af6
mov dword [ebp - 0x138], 0
mov al, byte [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret

Function at 0x4d7040
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x46c], ecx
xor eax, eax
mov word [ebp - 0x468], ax
push 0x256
push 0
lea ecx, [ebp - 0x466]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x468]
push edx
call fcn.004011a0
add esp, 4
push 0x59cbd8
lea eax, [ebp - 0x468]
push eax
call fcn.00554811
add esp, 8
mov ecx, dword [0x59cc0c]
mov dword [ebp - 0x210], ecx
push 0x204
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x468]
push eax
push 1
push 0x59cc10
push 0x59cc24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
setg cl
mov byte [0x5e1950], cl
lea edx, [ebp - 0x468]
push edx
push 1
push 0x59cc44
push 0x59cc5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x5e1954], eax
lea ecx, [ebp - 0x468]
push ecx
push 0
push 0x59cc7c
push 0x59cc9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
setg dl
mov byte [0x5e1951], dl
lea eax, [ebp - 0x468]
push eax
push 1
push 0x59ccbc
push 0x59ccd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
setg cl
mov byte [0x5e1958], cl
lea edx, [ebp - 0x468]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x59ccf4
push 0x59ccf8
push 0x59cd10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x210]
push ecx
push 0x5e195a
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret
Function at 0x4d7610
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a2ee
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
lea ecx, [ebp - 0x18]
call fcn.0041d970
mov dword [ebp - 4], 0
push 0x104
push 0x105
lea ecx, [ebp - 0x18]
call fcn.004b74e0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0041e330
call fcn.00415850
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
call fcn.0041e1e0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4d769a
mov dword [ebp - 0x144], 0
jmp 0x4d76fb
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x4d76bf
mov dword [ebp - 0x148], 0
jmp 0x4d76ef
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.005576d0
mov dword [ebp - 0x14c], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.00415860
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x144], edx
push 0
mov eax, dword [ebp - 0x144]
push eax
call fcn.005576b7
add esp, 8
cmp eax, 2
je 0x4d77f8
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x59ceb8
push SHChangeNotifyDeregister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4d77ee
lea ecx, [ebp - 0x138]
call fcn.0041d970
mov byte [ebp - 4], 1
mov dword [ebp - 0x134], 0x100
mov dword [ebp - 0x13c], 0x100
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x130]
push ecx
push 0
push 0x59cea4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d77a0
lea eax, [ebp - 0x12c]
push eax
push 0x59cf14
lea ecx, [ebp - 0x138]
push ecx
call fcn.00423c30
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0041e1e0
push eax
lea ecx, [ebp - 0x138]
call fcn.0041dbd0
test eax, eax
je 0x4d77df
lea ecx, [ebp - 0x18]
call fcn.0041e2f0
shl eax, 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e1e0
push eax
push 1
push 0
push 0x59cf1c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.0041dab0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041dab0
lea esp, [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret
Function at 0x4d8750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a3fb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0041d9b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov edx, dword [ebp - 0x224]
or edx, 1
mov dword [ebp - 0x224], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0041dab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4

Function at 0x4daf00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
call fcn.004d5800
add esp, 4
push 0
push 0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x3fc]
push eax
push 0x25
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x20]
add ecx, 0x28
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0x698
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_UnregisterHotKey]
movzx ecx, byte [0x5dbaf4]
test ecx, ecx
jne 0x4daf7e
call fcn.004015f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4daf7e
push 5
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x5e24b0], 0
je 0x4dafaa
mov eax, dword [0x5e24b0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dafaa
push 0
push 0
push 0x10
mov ecx, dword [0x5e24b0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5e24b4], 0
je 0x4dafd6
mov edx, dword [0x5e24b4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dafd6
push 0
push 0
push 0x10
mov eax, dword [0x5e24b4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.004015f0
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]