joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4184ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [0x4d6800], 0
push esi
push edi
mov edi, ecx
jne 0x4184d4
call dword [sym.imp.USER32.dll_GetFocus]
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x4185d9
test eax, eax
je 0x418550
and dword [esp + 0x24], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x17
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.00418aca
mov eax, dword [edi + 0x108]
and dword [edi + 0x108], 0
mov dword [edi + 0x10c], eax
test esi, esi
je 0x4185d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
cmp eax, edi
jne 0x4185d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x170]
test al, al
je 0x4185d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x4185d9
and dword [esp + 0x24], 0
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.00418aca
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41abab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x4d3040]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, eax
push esi
mov esi, dword [ebp + 0x14]
shr ecx, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0x3c
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
test cx, cx
je 0x41ac2c
mov ecx, dword [esp + 0xc]
cmp word [eax], cx
je 0x41ac2c
call fcn.00409f90
push 1
push dword [ebp + 8]
lea ecx, [eax + 0x24]
call fcn.004278e0
test eax, eax
je 0x41ac25
mov eax, dword [eax]
test eax, eax
je 0x41ac25
mov dword [ebp + 8], eax
jmp 0x41ac28
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x41ac6f
mov ecx, dword [esp + 0xc]
cmp word [eax], cx
mov ecx, ebx
push eax
jne 0x41ac68
call fcn.004260b0
test al, al
jne 0x41ad1f
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004820f4
mov esp, ebp
pop ebp
ret 0x14
call fcn.004261b9
jmp 0x41ac47
mov esi, dword [ebx + 0x94]
test esi, esi
jne 0x41ac88
mov esi, dword [0x4d680c]
test esi, esi
cmove esi, dword [0x4d6804]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41ac4f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
push edi
test eax, eax
jne 0x41acb0
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41ac4f
mov eax, dword [esp + 0x18]
push esi
mov dword [ebx + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
mov ecx, ebx
call fcn.0042613d
test al, al
je 0x41ac4f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov dword [ebx + 0x90], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
mov ax, word [ebp + 8]
mov word [esp + 0x24], ax
xor eax, eax
mov word [esp + 0x26], ax
lea eax, [esp + 0x24]
mov dword [ebp + 8], eax
call fcn.004270e8
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x7a0]
xor eax, eax
test ecx, ecx
je 0x41ad33
push dword [ebp + 8]
call fcn.004451ff
push eax
push dword [esp + 0x20]
mov ecx, ebx
push esi
push edi
call fcn.0041ad46
jmp 0x41ac51
Function at 0x41c2b9
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4d3040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x2c], esi
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041c46e
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp byte [eax + 0x172], 0
je 0x41c34f
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
mov ecx, 0x90000080
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
call dword [eax + 0x40]
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x28], eax
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
dec eax
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
dec eax
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, 0x90000080
jmp 0x41c357
mov eax, 0x40000080
mov dword [ebp - 0x18], eax
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0x6c4]
test cl, 1
je 0x41c36a
or eax, 1
jmp 0x41c372
test cl, 2
je 0x41c375
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [ebp - 0x28]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
mov ecx, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push 0
push ecx
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2c]
mov ecx, edi
call fcn.00422eb6
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0x6c0]
cmp esi, 0xffffffff
je 0x41c3c0
mov eax, dword [ecx]
call dword [eax + 0x40]
push esi
mov ecx, eax
call fcn.004195c4
test eax, eax
jne 0x41c3d2
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00418d0c
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x17c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [edi + 4]
call esi
mov ecx, dword [ebp - 4]
mov byte [edi + 0x18], 1
xor ecx, ebp
pop edi
pop esi
call fcn.004820f4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x41c91c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x41c9f9
cmp dword [esi + 0x10], 0
je 0x41c9f9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.00482d30
mov edi, esp
test edi, edi
je 0x41c9f9
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push edi
mov eax, dword [ecx]
call dword [eax + 0x50]
cmp byte [esi + 0x1a], 0
jne 0x41c9af
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
xor ecx, ecx
push ecx
push ecx
push ecx
push str.textchanged
push dword [esi + 0x10]
mov ecx, eax
call fcn.00418aca
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1e
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c4]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp byte [eax + 0x172], 0
je 0x41c9c8
mov ecx, dword [esi + 0x10]
call fcn.0041ff0d
mov ecx, dword [esi + 0x10]
call fcn.0041e54d
test al, al
je 0x41c9f9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi + 0x10]
test eax, eax
je 0x41c9f2
mov eax, dword [ecx]
call dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x41c9f9
push 1
call fcn.0041e80f
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004820f4
leave
ret 0x10
Function at 0x42ddb8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x42dde3
cmp eax, edi
jge 0x42ddd3
call fcn.0042d7e1
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, eax
test eax, eax
jle 0x42de08
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x42ddee
mov dword [esi + 8], edx
jmp 0x42de1d
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x42de13
xor dl, dl
jmp 0x42de18
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x42de08
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x42de5e
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0x10], str.zlib_corrupt
xor eax, eax
jmp 0x42dea9
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42de7b
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0x10], str.read_past_buffer
jmp 0x42de5a
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x42de93
push edi
mov ecx, esi
call fcn.0042d8bb
pop ecx
test eax, eax
je 0x42de5a
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004844a0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x4459dd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x80c], edi
je 0x445a4a
cmp dword [ebp + 8], 0x100
jne 0x445a39
cmp word [ebp + 0xc], 0xd
jne 0x445a39
cmp byte [esi + 0x812], 0
je 0x445a1d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x445a39
cmp byte [esi + 0x813], 0
jne 0x445a39
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x445a35
push edi
push edi
push edi
push str.return
push esi
call fcn.00418aca
xor eax, eax
jmp 0x445a4d
mov eax, dword [esi + 0x80c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x449764
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
and dword [edi + 0x34], 0
mov dword [edi + 0x28], edx
mov edx, dword [ebx + 8]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x30], edx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x38], 6
test edx, edx
jne 0x4497b8
call fcn.0044c33d
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
call fcn.0044c33d
mov edx, edi
lea ecx, [edi + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
mov ecx, dword [edi + 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
test ecx, ecx
jne 0x4497e4
mov eax, dword [0xa8]
jmp 0x4497ef
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [eax + 0xa8]
sub esp, 0x10
lea esi, [ebp - 0x18]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0x88
push SysReAllocString
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.00422eb6
mov edi, dword [esi + 4]
jmp 0x449820
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x449817
push 5
push dword [esi + 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
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
Function at 0x44c1f2
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x830
jmp method.DuiLib::CMenuUI.2.virtual_452
Function at 0x4588cb
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 4], esi
cmp dword [esi + 4], 0
mov dword [esi + 0x10], edi
jne 0x45896a
lea eax, [ebp - 0x18]
push eax
call fcn.004589b2
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x6f4]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [ebp - 0x18]
cmp dword [ebp - 8], 1
mov edi, esp
mov ecx, dword [eax + 0xa8]
mov eax, 0x40000009
push ecx
movsd dword es:[edi], dword [esi]
push 0
lea edx, [eax - 9]
cmovne eax, edx
movsd dword es:[edi], dword [esi]
push eax
push ecx
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.00422eb6
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x6c0]
mov ecx, eax
call fcn.004197a9
push 1
mov eax, dword [eax + 4]
push eax
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x1a]
add eax, 0x6e0
mov esi, eax
push eax
push 0
push 0x1002
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 esi, dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov byte [esi + 0x18], 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x45971a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4597a2
cmp dword [esi + 0x10], 0
je 0x4597a2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00482d30
mov ebx, esp
test ebx, ebx
je 0x4597a2
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x2c4
call fcn.00427282
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
xor ecx, ecx
push ecx
push ecx
push ecx
push str.textchanged
push dword [esi + 0x10]
mov ecx, eax
call fcn.00418aca
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp byte [eax + 0x172], 0
je 0x4597a2
mov ecx, dword [esi + 0x10]
call fcn.0041ff0d
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004820f4
leave
ret 0x10

Function at 0x45d456
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x4d3040]
xor eax, esp
mov dword [esp + 0x298], eax
push esi
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x45d4eb
mov esi, 0xff
push esi
push eax
lea eax, [esp + 0x1a0]
push eax
call fcn.00484a20
add esp, 0xc
lea eax, [esp + 0x198]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [esp + 0x198]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45d4eb
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 8
mov edx, ecx
movzx esi, al
movzx eax, cl
shl eax, 8
add eax, esi
shr edx, 0x10
shl eax, 8
movzx edx, dl
add eax, edx
shr ecx, 0x18
shl eax, 8
add eax, ecx
jmp 0x45d4ed
xor eax, eax
mov ecx, dword [esp + 0x29c]
pop esi
xor ecx, esp
call fcn.004820f4
mov esp, ebp
pop ebp
ret
Function at 0x45d524
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebx + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov dword [esi + 0x10], eax
and dword [eax + 0x6e8], 0
cmp dword [esi + 4], 0
jne 0x45d5cb
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push eax
mov dword [ebp - 8], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x45d5b4
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x9c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00426b53
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [ebp - 0x1c]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40030000
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.00422eb6
mov ecx, esi
call fcn.0045d7ef
push 1
push dword [esi + 0x20]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x45d5ec
call fcn.0045d456
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x6e0], eax
mov eax, dword [esi + 0x10]
push dword [eax + 0x6e0]
push 0
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov byte [esi + 0x18], 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

Function at 0x45d75b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
lea esi, [ebx + 4]
jmp 0x45d77f
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi]
je 0x45d7e2
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
jne 0x45d76e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebx + 0x10]
mov edi, eax
cmp dword [ecx + 0x6e8], 0
jne 0x45d7cf
add ecx, 0x6e0
push ecx
push 0
push 0x466
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x6e8], 1
mov ecx, dword [ebx + 0x10]
call fcn.0045dba2
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
jmp 0x45d7db
Function at 0x463712
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edi, dword [ebp + 8]
test al, al
jne 0x46374e
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x46374e
mov ecx, dword [esi + 0x6c8]
push edi
test ecx, ecx
je 0x463889
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x463890
cmp dword [edi], 0x13
jne 0x463796
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x463890
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.0046308c
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x463890
xor eax, eax
push eax
push eax
push eax
push str.dbclick
push esi
call fcn.00418aca
jmp 0x463890
mov ecx, dword [esi + 0x6c8]
test ecx, ecx
je 0x4637fa
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x4637fa
cmp dword [edi], 0xf
jne 0x4637fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x463890
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
add esi, 0x6b8
mov ecx, esi
mov edi, dword [esi]
test ax, ax
jns 0x4637f0
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
push eax
call dword [edi + 0x18]
jmp 0x463890
push 1
call dword [edi + 0x14]
jmp 0x463890
cmp dword [edi], 0xd
je 0x4637b3
cmp dword [edi], 0xe
jne 0x463827
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x463890
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
jmp 0x46378b
cmp dword [edi], 0x10
jne 0x463846
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x463890
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x46381c
cmp dword [edi], 9
je 0x463890
cmp dword [edi], 0xb
jne 0x46386e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x463890
or dword [esi + 0x6c4], 8
mov ecx, esi
call fcn.0046308c
jmp 0x463890
cmp dword [edi], 0xa
jne 0x463888
mov eax, dword [esi + 0x6c4]
test al, 8
je 0x463890
and eax, 0xfffffff7
mov dword [esi + 0x6c4], eax
jmp 0x463865
push edi
mov ecx, esi
call fcn.0046331b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4