joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5171f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push edi
xor edi, edi
push edi
push dword [ebx + 0x40]
mov dword [ebx + 0x24], eax
call esi
cmp dword [ebx + 0x20], 0xffffffff
mov dword [esp + 0xa4], eax
jne 0x517240
mov ecx, ebx
call fcn.00517469
test eax, eax
je 0x51735d
mov eax, dword [ebx + 0x20]
cmp eax, 0xfffffffe
je 0x51725f
cmp eax, 0xffffffff
je 0x51725c
push eax
push dword [esp + 0xa8]
call esi
mov dword [ebx + 0x44], eax
jmp 0x51725f
mov dword [ebx + 0x44], edi
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x170]
mov eax, dword [eax]
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x170]
mov eax, dword [eax + 4]
push 2
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x98]
push edx
push eax
call dword [ecx + 0x138]
mov eax, dword [ebx + 0x20]
cmp eax, 0xffffffff
je 0x51734a
push eax
lea eax, [esp + 0xa8]
push eax
push ebx
call fcn.005170d0
mov esi, eax
lea edi, [esp + 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x9c]
xor edi, edi
cmp dword [ebx + 0x4c], edi
jne 0x5172eb
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], eax
cmp dword [ebx + 0x44], edi
je 0x517340
lea esi, [esp + 0x10]
call fcn.00408466
push dword [ebx + 0x44]
call fcn.00507fd4
pop ecx
push edi
push edi
push edi
push dword [esp + 0xb4]
mov ecx, esi
push dword [esp + 0xb4]
push 0x102
push dword [ebx + 0x44]
call fcn.00507e83
mov ecx, esi
call fcn.00507a9e
jmp 0x51734a
push dword [ebx + 0x20]
mov esi, ebx
call fcn.00517374
push 0x1b
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x51735d
or dword [ebx + 0x20], 0xffffffff
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret 4
Function at 0x517bd9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x517c6a
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
push 0x12
shr eax, 8
movzx edi, al
call esi
push 0x10
shr eax, 8
movzx ebx, al
call esi
xor esi, esi
shr eax, 8
movzx eax, al
test edi, edi
je 0x517c17
inc esi
test ebx, ebx
je 0x517c1e
or esi, 2
test eax, eax
je 0x517c25
or esi, 4
cmp dword [ebp + 0xc], 0x26
je 0x517c31
cmp dword [ebp + 0xc], 0x28
jne 0x517c3a
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp dword [0x6a2e04], 0
je 0x517c51
call fcn.004fe442
test eax, eax
je 0x517c51
xor edx, edx
inc edx
jmp 0x517c53
xor edx, edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edi, dword [ecx]
push edx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [edi + 4]
pop edi
pop esi
pop ebx
or eax, 0xffffffff
pop ebp
ret 0x10

Function at 0x517c71
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x41
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x517caa
push 0x11
call edi
shr eax, 8
test al, al
je 0x517caa
push 0xffffffffffffffff
lea eax, [ebx + 0x18]
mov ecx, dword [eax]
xor esi, esi
push esi
push eax
call dword [ecx + 0x34]
push esi
push esi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.00461215
mov esi, eax
call fcn.004684ba
test eax, eax
je 0x517cf0
mov esi, dword [ebp + 0xc]
cmp esi, 0x25
je 0x517cc7
cmp esi, 0x27
jne 0x517cd9
push 0
push 0
push 0x48e
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp esi, 0x26
je 0x517ce3
cmp esi, 0x28
jne 0x517cf0
push 0
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebx + 0x20], 0
je 0x517d6c
push 0x11
call edi
push 0x12
shr eax, 8
movzx esi, al
call edi
push 0x10
shr eax, 8
movzx eax, al
mov dword [ebp + 8], eax
call edi
xor edi, edi
shr eax, 8
movzx eax, al
test esi, esi
je 0x517d1e
inc edi
cmp dword [ebp + 8], 0
je 0x517d27
or edi, 2
test eax, eax
je 0x517d2e
or edi, 4
cmp dword [ebp + 0xc], 0x26
je 0x517d3a
cmp dword [ebp + 0xc], 0x28
jne 0x517d43
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp dword [0x6a2e04], 0
je 0x517d5a
call fcn.004fe442
test eax, eax
je 0x517d5a
xor eax, eax
inc eax
jmp 0x517d5c
xor eax, eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [edx]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 0x10
Function at 0x51835b
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x51847a
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [ebp - 8], eax
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x51839d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x51847a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5183a0
sub eax, edx
sar eax, 1
mov edi, eax
lea esi, [edi + edi + 2]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x51838f
push eax
call ebx
mov ebx, eax
test ebx, ebx
jne 0x5183e3
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [ebp - 8]
call esi
jmp 0x51847a
push esi
push 0
push ebx
call fcn.00402394
add esp, 0xc
xor edx, edx
xor ecx, ecx
test edi, edi
jle 0x518455
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0xd
je 0x518410
cmp eax, 0xa
je 0x518410
mov word [ebx], ax
add ebx, 2
jmp 0x518413
xor edx, edx
inc edx
inc ecx
cmp ecx, edi
jl 0x5183f7
test edx, edx
je 0x518455
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [ebp - 8]
call esi
mov esi, dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x518471
push dword [ebp - 4]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x518471
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 8]
call esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x518709
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x1046
push eax
mov word [ebp - 0x104c], ax
lea eax, [ebp - 0x104a]
push eax
call fcn.00402394
add esp, 0xc
push 0x823
lea eax, [ebp - 0x104c]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x104c]
lea eax, [esi + 0x28]
lea edx, [ecx + 2]
push edi
mov di, word [ecx]
add ecx, 2
test di, di
jne 0x518760
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x104c]
push ecx
call fcn.0040aa23
lea edi, [esi + 0x18]
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x54]
cmp dword [esi + 0x20], 0
je 0x5187ac
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x1050], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x40]
mov ecx, dword [esi + 0x20]
push eax
mov eax, dword [ebp - 0x1050]
push esi
call dword [eax + 0x14]
push 1
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00403fc1
leave
ret
Function at 0x519457
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x1046
push eax
mov word [ebp - 0x104c], ax
lea eax, [ebp - 0x104a]
push eax
call fcn.00402394
add esp, 0xc
push 0x823
lea eax, [ebp - 0x104c]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x104c]
lea eax, [esi + 0x28]
lea edx, [ecx + 2]
push ebx
mov bx, word [ecx]
add ecx, 2
test bx, bx
jne 0x5194ae
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x104c]
push ecx
call fcn.0040aa23
lea eax, [esi + 0x18]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x48]
cmp dword [esi + 0x20], 0
pop ebx
je 0x5194e8
push dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
push 1
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00403fc1
leave
ret

Function at 0x519503
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0x41
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x51953d
push 0x11
call edi
shr eax, 8
test al, al
je 0x51953d
push 0xffffffffffffffff
lea eax, [ebx + 0x18]
mov ecx, dword [eax]
xor esi, esi
push esi
push eax
call dword [ecx + 0x30]
push esi
push esi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.00461215
mov esi, eax
call fcn.004684ba
test eax, eax
je 0x519583
mov esi, dword [ebp + 0xc]
cmp esi, 0x25
je 0x51955a
cmp esi, 0x27
jne 0x51956c
push 0
push 0
push 0x48f
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp esi, 0x26
je 0x519576
cmp esi, 0x28
jne 0x519583
push 0
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebp + 0xc], 0x26
je 0x51958f
cmp dword [ebp + 0xc], 0x28
jne 0x519598
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp dword [ebx + 0x20], 0
je 0x5195e5
push 0x11
call edi
push 0x12
shr eax, 8
movzx esi, al
call edi
push 0x10
shr eax, 8
movzx eax, al
mov dword [ebp + 8], eax
call edi
xor edx, edx
shr eax, 8
movzx eax, al
test esi, esi
je 0x5195c6
inc edx
cmp dword [ebp + 8], 0
je 0x5195cf
or edx, 2
test eax, eax
je 0x5195d6
or edx, 4
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [eax]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x519663
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x519771
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [ebp - 8], eax
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5196a5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x519771
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5196a8
sub eax, edx
sar eax, 1
mov edi, eax
lea esi, [edi + edi + 2]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x519697
push eax
call ebx
mov ebx, eax
test ebx, ebx
jne 0x5196e6
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
jmp 0x51976c
push esi
push 0
push ebx
call fcn.00402394
add esp, 0xc
xor edx, edx
xor ecx, ecx
test edi, edi
jle 0x519758
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0xd
je 0x519713
cmp eax, 0xa
je 0x519713
mov word [ebx], ax
add ebx, 2
jmp 0x519716
xor edx, edx
inc edx
inc ecx
cmp ecx, edi
jl 0x5196fa
test edx, edx
je 0x519758
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [ebp - 8]
call esi
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x519771
push dword [ebp - 4]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x519771
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 8]
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x519780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.005197ca
test eax, eax
js 0x5197b0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x114]
lea eax, [esi + 0x18]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
test eax, eax
je 0x5197c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
leave
ret

Function at 0x51ab51
Capabilities:
Hide graphical window

Disassembly:
xor eax, eax
push 0x71
push dword [esi + 0x1c]
inc eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x51ab82
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
jmp fcn.0051ab89
Function at 0x51ac01
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0x71
push ebx
push esi
push edi
mov esi, ecx
jne 0x51ac97
push 0x71
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x25c], ebx
lea edi, [ebp - 0x258]
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
push eax
mov dword [esi + 0x5c], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [ebp - 0x224], ebx
lea edi, [ebp - 0x220]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x258]
lea eax, [ebp - 0x224]
push dword [ebp - 0x25c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x51add0
call fcn.0051ab19
jmp 0x51adc9
cmp dword [ebp + 8], 0x70
jne 0x51add0
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x51add0
cmp dword [esi + 0x4c], ebx
je 0x51add0
cmp dword [esi + 0x50], ebx
jne 0x51add0
cmp dword [esi + 0x54], ebx
jne 0x51add0
xor eax, eax
mov dword [ebp - 0x25c], ebx
lea edi, [ebp - 0x258]
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [ebp - 0x224], ebx
lea edi, [ebp - 0x220]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x51add0
xor eax, eax
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push ebx
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 0x254], 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test byte [ebp - 0x250], 4
jne 0x51add0
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
push 0x104
lea eax, [ebp - 0x214]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x51ad9c
lea eax, [ebp - 0x214]
push str.edit
push eax
call fcn.00452191
pop ecx
pop ecx
test eax, eax
je 0x51add0
push dword [ebp - 0x258]
lea eax, [ebp - 0x224]
push dword [ebp - 0x25c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x51add0
push 0x70
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0051ab51
mov eax, esi
call fcn.0051a9d1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00403fc1
leave
ret 4
Function at 0x51c701
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 1
push dword [0x6bf0dc]
mov esi, eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
push 5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
and dword [ebp - 4], 0
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x63ec60
push 0
push eax
call dword [ecx + 0x104]
test eax, eax
js 0x51c754
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x160]
mov esi, dword [esi + 0xc]
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x114]
mov eax, dword [ebp - 4]
pop esi
test eax, eax
je 0x51c770
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
leave
ret
Function at 0x52d51f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
push ebx
push esi
push 0x60
push eax
call dword [ecx + 0x24]
push ecx
mov eax, esp
mov dword [eax], str.NEW_SKIN
push ecx
xor ebx, ebx
mov eax, esp
lea esi, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [eax], str.SKIN
call fcn.0044208d
push dword [ebp - 8]
push dword [0x6bb728]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [edi + 0xc0]
push esi
push dword [ebp - 4]
push eax
push 0x65f520
call fcn.004df277
mov ecx, dword [esi]
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push dword [edi + 0xc4]
push 0x1450
push eax
call dword [ecx + 0x44]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push dword [edi + 0xc8]
push 0x13a4
push eax
call dword [ecx + 0x44]
push ebx
push 0xa
push 0x3f1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x44], ebx
mov esi, dword [esi]
mov eax, dword [esi]
push 0x3fe
push esi
call dword [eax + 0x80]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xd4], eax
mov eax, edi
call fcn.0052db4d
cmp dword [ebp - 0xc], ebx
je 0x52d60f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x5352f8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5353cd
call fcn.005353de
test eax, eax
je 0x5353cd
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push str.vkballoon
push 0x653c20
xor ebx, ebx
push 0x80000001
mov dword [edi + 0x68], ebx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, dword [edi + 0x40]
cmp esi, ebx
je 0x5353cd
mov eax, dword [ebp + 8]
mov dword [edi + 0x64], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
push dword [ebp - 0x1c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
sub esi, dword [ebp - 0x14]
mov ecx, edx
sub ecx, dword [ebp - 0x18]
push 0x50
add eax, ecx
mov ecx, dword [ebp - 0xc]
add ecx, esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
sub ecx, esi
push ecx
mov dword [ebp - 0x10], eax
sub eax, edx
push eax
push esi
push edx
push ebx
push dword [edi + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call fcn.00535270
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 0xc
Function at 0x535799
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
push 0x60
push eax
call dword [ecx + 0x24]
lea ebx, [edi + 0x24]
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
je 0x5357c1
mov dword [ebx], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ecx
mov eax, esp
mov dword [eax], str.NEW_SKIN
push ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov eax, esp
lea esi, [ebp - 8]
mov dword [eax], str.SKIN
call fcn.0044208d
push dword [ebp - 4]
push dword [0x6bb728]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
push eax
push 0x660aa4
call fcn.004df277
mov ecx, dword [ebx]
mov eax, dword [edi + 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0
push dword [edi + 0x28]
push 0x1450
push eax
call dword [ecx + 0x44]
push 0xfffffffffffffff0
pop ebx
lea esi, [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push ebx
push dword [esi]
call edi
mov ecx, eax
and ecx, 0xff3fffff
or ecx, 1
cmp eax, ecx
je 0x535850
push ecx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push dword [esi]
call edi
mov ecx, eax
and ecx, 0xff7fffff
cmp eax, ecx
je 0x53586b
push ecx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push dword [esi]
call edi
mov ecx, eax
or ecx, 0x80
cmp eax, ecx
je 0x535886
push ecx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 2
push 0xe6
push 0x168
xor edi, edi
push edi
push edi
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
call fcn.004a3eb1
cmp dword [ebp - 8], edi
je 0x5358b4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x53590f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
test byte [0x6ddb94], 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x535930
or dword [0x6ddb94], 1
call esi
mov dword [0x6ddb90], eax
call esi
cmp dword [ebp + 0xc], 0
mov esi, eax
je 0x53593e
push 1
jmp 0x535952
mov eax, esi
sub eax, dword [0x6ddb90]
cmp eax, 0x64
jge 0x53595a
cmp eax, 0x32
jle 0x53595a
push 0
mov eax, dword [ebp + 8]
call fcn.005358bc
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov dword [0x6ddb90], esi
xor eax, eax
pop esi
pop ebp
ret 0xc