joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3320
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c78f7
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x66a8c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xb0]
call dword [0x609760]
push str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_52.0.2228.0_Safari_537.36
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x4d4]
push ecx
call dword [sym.imp.wke.dll_wkeSetUserAgent]
add esp, 8
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb0]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb8]
call dword [0x609648]
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.004c2b90
add esp, 8
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc0]
call fcn.00403c80
push eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x4d4]
push edx
call dword [sym.imp.wke.dll_wkeSetName]
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00403d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call dword [0x609634]
push 0x1e
push 0x2a
mov ecx, dword [ebp - 0xb0]
call dword [0x609660]
mov eax, dword [ebp - 0xb0]
push eax
push 0x4c3ba0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x4d4]
push edx
call dword [sym.imp.wke.dll_wkeOnTitleChanged]
add esp, 0xc
mov eax, dword [ebp - 0xb0]
push eax
push 0x4c3bf0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x4d4]
push edx
call dword [sym.imp.wke.dll_wkeOnURLChanged]
add esp, 0xc
mov eax, dword [ebp - 0xb0]
push eax
push 0x4c3c40
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x4d4]
push edx
call dword [sym.imp.wke.dll_wkeOnNavigation]
add esp, 0xc
mov eax, dword [ebp - 0xb0]
push eax
push 0x4c3d00
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x4d4]
push edx
call dword [sym.imp.wke.dll_wkeOnCreateView]
add esp, 0xc
mov eax, dword [ebp - 0xb0]
push eax
push 0x4c3d50
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x4d4]
push edx
call dword [sym.imp.wke.dll_wkeOnDocumentReady]
add esp, 0xc
mov eax, dword [ebp - 0xb0]
push eax
push 0x4c3da0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x4d4]
push edx
call dword [sym.imp.wke.dll_wkeOnLoadingFinish]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c7710
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7c58
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x19], 1
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x38]
call fcn.004016d0
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.00418b30
add esp, 0xc
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x20006
push 1
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.00401790
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c77a2
mov byte [ebp - 0x19], 0
jmp 0x4c77de
push 4
lea ecx, [ebp + 0x28]
push ecx
push 4
push 0
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c77c7
mov byte [ebp - 0x19], 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c77de
mov byte [ebp - 0x19], 0
mov dl, byte [ebp - 0x19]
mov byte [ebp - 0x55], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00401750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00401750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401750
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret

Function at 0x4c7ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004013f0
mov dword [ebp - 0x20c], 0x200
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x208]
push edx
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00403c80
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4c7b36
lea ecx, [ebp - 0x208]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00403c60
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret
Function at 0x4c92e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 2
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x24]
mov ax, word [edx]
mov word [ebp - 0x2a], ax
add dword [ebp - 0x24], 2
cmp word [ebp - 0x2a], 0
jne 0x4c92f5
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
sar ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004edb78
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx]
mov word [ebp - 0x3e], dx
mov eax, dword [ebp - 0x38]
mov cx, word [ebp - 0x3e]
mov word [eax], cx
mov edx, dword [ebp - 0x34]
add edx, 2
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
add eax, 2
mov dword [ebp - 0x38], eax
cmp word [ebp - 0x3e], 0
jne 0x4c9355
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x4c939f
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jg 0x4c940d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + eax*2]
cmp edx, 0x5c
jne 0x4c940b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2]
mov word [ebp - 0x18], dx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c93f4
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4c93f4
mov byte [ebp - 1], 0
jmp 0x4c940d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [ebp - 0x18]
mov word [eax + edx*2], cx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x4c9396
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00591683
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4c9cd0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push str..del
mov eax, dword [ebp + 8]
push eax
call fcn.0041c4e0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c9d10
push 5
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4c9e03
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov edx, 1
test edx, edx
je 0x4c9df5
mov dword [ebp - 0x10], 1
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00591690
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x4c9d71
mov edx, dword [ebp + 8]
push edx
push str._s.del
lea eax, [ebp - 0x220]
push eax
call fcn.00593005
add esp, 0xc
jmp 0x4c9d8d
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s.del_d
lea eax, [ebp - 0x220]
push eax
call fcn.00593005
add esp, 0x10
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c9dae
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4c9dca
cmp dword [ebp - 0xc], 0xa
jl 0x4c9dbc
jmp 0x4c9e03
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x4c9d1e
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00593571
add esp, 8
push 5
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4c9e03
push 5
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret
Function at 0x4cab60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8110
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x66a8c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
push str..url
mov eax, dword [ebp - 0x80]
add eax, 0x1c
push eax
push 0x5db6f4
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.005c0090
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00403240
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x54
call fcn.004013f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00403d10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00403d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00403d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403d10
mov ecx, dword [ebp - 0x80]
add ecx, 0x54
call fcn.00403c80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cacf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8143
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
mov ecx, 0x66e110
call fcn.00408810
movzx eax, al
test eax, eax
je 0x4cad39
xor al, al
jmp 0x4cae44
mov byte [ebp - 0x134], 0
push 0x103
push 0
lea ecx, [ebp - 0x133]
push ecx
call fcn.00591690
add esp, 0xc
lea edx, [ebp - 0x134]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ecx, 0x66e36c
call fcn.00403c80
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x5db6f8
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x5db700
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x150]
call fcn.00404560
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x150]
push ecx
push 0x66e110
lea edx, [ebp - 0x2c]
push edx
call fcn.0041b9d0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00403d10
lea ecx, [ebp - 0x2c]
call fcn.00408810
movzx eax, al
test eax, eax
je 0x4cae16
mov byte [ebp - 0x151], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403d10
mov al, byte [ebp - 0x151]
jmp 0x4cae44
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x158]
add ecx, 0x38
call fcn.004013f0
mov byte [ebp - 0x152], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403d10
mov al, byte [ebp - 0x152]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret
Function at 0x4cb120
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x54
call fcn.00403c80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4cb1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x66a8c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.005c0110
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.004013f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403d10
mov ecx, dword [ebp - 0x2c]
call fcn.00403c80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4cb250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8200
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
push 0x5db7b0
push 0x66e310
push 0x5db7b8
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.005c0090
add esp, 8
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x94]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.00403240
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa4]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004031b0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.00403d10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00403d10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00403d10
lea ecx, [ebp - 0x2c]
call fcn.00403c80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4cb374
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403d10
mov eax, dword [ebp - 0x84]
jmp 0x4cb39a
mov ecx, dword [ebp - 0x8c]
call fcn.004cb190
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403d10
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret
Function at 0x4d3470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x4d3770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0
jne 0x4d34a6
jmp 0x4d34c3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x20], 0xffffffff
jne 0x4d34b1
jmp 0x4d34c3
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x4fd1ed
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x470], eax
mov dword [ebx + 0x474], edi
mov dword [ebx + 0x478], ecx
cmp eax, edi
jne 0x4fd24b
call sym.mininews.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
cmp dword [ebp + 0x1c], edi
je 0x4fd24b
call sym.mininews.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push dword [ebp + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
lea esi, [ebx + 0x10]
call sym.mininews.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, dword [ebx + 0x470]
cmp ecx, edi
jne 0x4fd269
mov ecx, dword [ebp + 0x18]
jmp 0x4fd270
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.mininews.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x1c], eax
call sym.mininews.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
push edi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push SysReAllocStringLen
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp + 0x1c]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call sym.mininews.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4fd2b2
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x4fd2ad
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x501c00
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x100]
test al, al
mov eax, dword [esp + 8]
jne 0x501c38
mov ecx, dword [eax]
cmp ecx, 8
jle 0x501c38
cmp ecx, 0x16
jge 0x501c38
mov ecx, dword [esi + 0x4c8]
push eax
test ecx, ecx
je 0x501cfb
mov edx, dword [ecx]
call dword [edx + 0x14]
jmp 0x501d02
mov ecx, dword [eax]
cmp ecx, 0xd
jne 0x501c92
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x501d02
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x501c83
add esi, 0x4b8
push edi
mov edi, dword [esi]
mov ecx, esi
call dword [edi + 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
mov ecx, esi
call dword [edi + 0x18]
pop edi
jmp 0x501d02
lea ecx, [esi + 0x4b8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x501d02
cmp ecx, 0xe
jne 0x501cba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x501d02
mov ecx, dword [esi + 0x44]
xor eax, eax
push eax
push eax
push eax
push str.itemclick
push esi
call sym.mininews.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x501d02
cmp ecx, 9
je 0x501d02
cmp ecx, 0xb
jne 0x501ce2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x501d02
or dword [esi + 0x4c4], 8
mov ecx, esi
call sym.mininews.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x501d02
cmp ecx, 0xa
jne 0x501cfa
lea ecx, [esi + 0x4c4]
mov eax, dword [ecx]
test al, 8
je 0x501d02
and eax, 0xfffffff7
mov dword [ecx], eax
jmp 0x501cd9
push eax
mov ecx, esi
call sym.mininews.exe_public_virtual:_void___thiscall_DuiLib::CListElementUI::DoEvent_struct_DuiLib::tagTEventUI__
pop esi
ret 4
Function at 0x50243c
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x100]
mov edi, dword [esp + 0xc]
test al, al
jne 0x502477
mov eax, dword [edi]
cmp eax, 8
jle 0x502477
cmp eax, 0x16
jge 0x502477
mov ecx, dword [esi + 0x638]
push edi
test ecx, ecx
jne 0x5025cc
mov ecx, esi
call sym.mininews.exe_public_virtual:_void___thiscall_DuiLib::CContainerUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x5025da
mov eax, dword [edi]
cmp eax, 0x13
jne 0x5024a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x5025da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call sym.mininews.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x5025da
cmp eax, 3
jne 0x5024bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x5024bd
cmp word [edi + 0x14], 0xd
je 0x502490
mov eax, dword [edi]
cmp eax, 0xd
jne 0x502516
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x5025da
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x502509
add esi, 0x628
mov edi, dword [esi]
mov ecx, esi
call dword [edi + 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
mov ecx, esi
call dword [edi + 0x18]
jmp 0x5025da
lea ecx, [esi + 0x628]
push 1
jmp 0x5025cc
cmp eax, 0xe
jne 0x502545
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x5025da
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x44]
push esi
call sym.mininews.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x5025da
cmp eax, 9
je 0x5025da
cmp eax, 0xb
jne 0x50256d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x5025da
or dword [esi + 0x634], 8
jmp 0x502497
cmp eax, 0xa
jne 0x502588
lea ecx, [esi + 0x634]
mov eax, dword [ecx]
test al, 8
je 0x5025da
and eax, 0xfffffff7
mov dword [ecx], eax
jmp 0x502497
cmp eax, 0x1b
jne 0x50259c
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x502537
cmp eax, 0x14
jne 0x5025c1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x5025c1
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x502537
mov ecx, dword [esi + 0x638]
push edi
test ecx, ecx
je 0x5025d3
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x5025da
mov ecx, esi
call sym.mininews.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::DoEvent_struct_DuiLib::tagTEventUI__
pop edi
pop esi
ret 4

Function at 0x5082fb
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x508311
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x50831d
or edi, 1
push 1
call esi
test ax, ax
jge 0x508329
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x508335
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x508341
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret