joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451ea0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x451ed3
push esi
call fcn.00454f90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x451ecc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x451f59
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451f42
mov eax, dword [esi + 8]
test eax, eax
je 0x451ef7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x451f3e
cmp eax, 2
je 0x451f42
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x451eea
cmp eax, 3
je 0x451f1d
cmp eax, 1
jne 0x451eea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x451eea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x451eea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451f80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451f68
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451f80
add esp, 4
pop esi
ret

Function at 0x45e290
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x45e333
test eax, eax
jbe 0x45e333
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45e333
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45e2de
xor esi, esi
jmp 0x45e2e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45e30f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004131e0
add esi, eax
push esi
mov ebx, esi
call fcn.004131e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45e2f0
pop ebp
test edi, edi
pop edi
jne 0x45e333
test ebx, ebx
je 0x45e333
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046c0e0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45e475
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45e58d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45e58d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047e521
mov esi, eax
test esi, esi
je 0x45e58d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45e58d
mov ecx, esi
call fcn.0045e3e0
cmp edi, eax
jge 0x45e58d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45e513
mov dword [esp + 0x34], 1
jmp 0x45e56e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45e58d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045d950
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x465cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48bd98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x465cf3
mov eax, dword [esi]
jmp 0x465cf5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x465d16
push 0x4b35d0
push edi
push eax
call fcn.00479995
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x465d76
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x465d76
mov eax, dword [esi]
test eax, eax
je 0x465d5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x465d6d
push eax
call fcn.0047c85e
add esp, 4
push esi
call fcn.0047c85e
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x466370
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4663d6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4663d6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4663b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x466760
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x466798
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x467470
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4674b9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x467930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004674e0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00467560
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00467560
lea ecx, [esi + 0xc]
call fcn.0047ca7f
lea ecx, [esi + 0x10]
call fcn.0047ca7f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00468af0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00468af0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00468af0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047caf4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047caf4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47eec5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47eefd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047cf4f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047cf27
jmp 0x47ef09
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4805b3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4805f5
call fcn.00486328
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4805f5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4805ec
xor eax, eax
jmp 0x4805fd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00480603
pop edi
pop esi
pop ebx
ret 4

Function at 0x486858
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x486886
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4868a4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004867be
jmp 0x4868a4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4868a4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004867be
test edi, edi
mov eax, edi
jne 0x48688e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4027f4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402823
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403568
jmp 0x402841
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402788
mov edi, eax
test ebx, ebx
je 0x402841
cmp dword [esi], 0
je 0x402841
dec ebx
jmp 0x40282a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4029cc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x479030], 0x8088405
inc edx
mov dword [0x479030], edx
mul edx
mov eax, edx
ret

Function at 0x40343c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040264c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x479036], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403404
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4042a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x4042fc
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x4042ee
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4042e3
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x4042de
mov eax, 0x64
jmp 0x4042f3
call sub.kernel32.dll_GetLastError
call fcn.0040272c
xor eax, eax
jmp 0x4042de
mov eax, 0x67
jmp 0x4042f3

Function at 0x404340
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404383
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x40437a
push eax
push 1
push 0
push 0
push dword [ebx]
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x40437a
pop edx
cmp eax, edx
setae al
pop ebx
ret
call fcn.0040273c
mov al, 1
jmp 0x404378
mov eax, 0x67
call fcn.0040272c
mov al, 0xff
jmp 0x404378

Function at 0x407618
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407651
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403568
jmp 0x40765a
mov eax, ebx
mov edx, esi
call fcn.0040351c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407664
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407685
mov al, byte [esp]
jmp 0x407687
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40f97c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
dec eax
jne 0x40f992
mov byte [ebx + 0xd], 0
pop ebx
pop ebp
ret

Function at 0x410eb8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403488
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x410f19
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x410f19
cmp byte [ebp - 0x102], 0
je 0x410f19
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004035e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41214c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x4121cd
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41217e
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412190
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x41219c
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00412024
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4121c1
push ebp
mov eax, dword [ebp - 4]
call fcn.004120c0
pop ecx
mov ebx, eax
cmp bl, 2
je 0x41219c
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ac0c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ac12
ret
Function at 0x4215f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x479654
cmp dword [edi], 0
jne 0x42166c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x479650]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4785dc
mov ecx, 2
call fcn.00402748
mov edx, 0x4215c8
lea eax, [esi + 5]
call fcn.004215e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004215e8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x421641
mov dword [0x479650], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x421770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4217c0]
test si, 4
je 0x421784
or bl, 1
test si, 8
je 0x42178e
or bl, 4
test si, 1
je 0x421798
or bl, 8
test si, 2
je 0x4217a2
or bl, 0x10
test si, 0x10
je 0x4217ac
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4217bb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4217c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4217fc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4217dd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4217ec
or bl, 4
test esi, 0x20000000
je 0x4217f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x425b98
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47962c]
cmp byte [eax + 0x7f], 0
jne 0x425beb
cmp dword [0x479658], 0
jne 0x425bc7
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x425b54
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x479658], eax
cmp dword [0x47965c], 0
jne 0x425beb
push esp
push 0
push 0
push 0x425b04
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47965c], eax
pop edx
ret

Function at 0x425bf0
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x479658], 0
je 0x425c04
mov eax, dword [0x479658]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x479658], eax
cmp dword [0x47965c], 0
je 0x425c21
push 0
mov eax, dword [0x47965c]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [0x47965c], eax
ret
Function at 0x425cc0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x425cd7
add esp, 0xfffffff0
call fcn.00402d50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f9d8
mov dl, 1
mov eax, 0x4093a4
call fcn.00402b50
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x4093a4
call fcn.00402b50
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x41ab04
call fcn.0041fac0
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x425e18
mov eax, dword [0x479014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041fe4c
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4270e8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x479014]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004065cc
test eax, eax
je 0x425db4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040645c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004065ac
test eax, eax
je 0x425dc8
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004035e4
cmp byte [0x479034], 0
jne 0x425df8
mov eax, ebx
call fcn.00425ea8
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x425e10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4268b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x4268e2
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403568
jmp 0x4268ec
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.0040351c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4272c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4272f8
mov eax, esi
call fcn.004184b0
test al, al
je 0x4272f8
mov eax, dword [ebx + 0x60]
call fcn.00418318
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4272f8
push 0
mov eax, dword [ebx + 0x60]
call fcn.00418318
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x427a58
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x427bb3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040351c
mov eax, dword [ebp - 0x10]
call fcn.004276d0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x427aac
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403840
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00427e5c
mov ebx, eax
test ebx, ebx
je 0x427b71
xor eax, eax
push ebp
push 0x427b6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042784c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00427bc4
test al, al
je 0x427b51
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403568
mov esi, dword [ebp - 0x34]
dec esi
test esi, esi
jl 0x427b51
inc esi
xor edi, edi
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004037c0
push eax
push edi
push ebx
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x427b4d
mov eax, dword [ebp - 0x14]
call fcn.004037c0
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.004035b4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00427a58
inc edi
dec esi
jne 0x427b09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b71
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042784c
ret
mov eax, dword [ebp - 0x10]
call fcn.004037c0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00427838
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427bba
lea eax, [ebp - 0x38]
call fcn.00403488
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004034a8
ret