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

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x41d4f5
or esi, 1
push 1
call edi
test ax, ax
jns 0x41d501
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x41d50d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x41d519
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x41e1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0xd8], edi
jle 0x41e23f
jmp 0x41e210
mov eax, dword [esi + 0xd4]
lea edx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + edi*4]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp + 0xb], 0
jne 0x41e3bd
inc edi
cmp edi, dword [esi + 0xd8]
jl 0x41e210
sub ebx, 0x100
je 0x41e352
sub ebx, 4
je 0x41e2ac
sub ebx, 2
jne 0x41e347
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0047c903
mov ecx, dword [esi + 0x54]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x421db0
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x41e347
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x58], 0
je 0x41e347
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x68]
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x6c]
push 0x11
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call ebx
test ax, ax
mov ecx, 8
push 2
cmovs edi, ecx
call ebx
test ax, ax
jns 0x41e307
or edi, 1
push 1
call ebx
test ax, ax
jns 0x41e313
or edi, 2
push 0x10
call ebx
test ax, ax
jns 0x41e31f
or edi, 4
push 0x12
call ebx
test ax, ax
jns 0x41e32b
or edi, 0x20
mov word [ebp - 0xa], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41e347
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x41e3a4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x41e3a4
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x41e3a4
mov ecx, dword [esi + 0x58]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0045efb5
add esp, 8
test eax, eax
je 0x41e3a4
mov eax, dword [esi + 0x58]
cmp byte [eax + 0x4d9], 0
jne 0x41e347
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00420ae0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4205d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x4205f8
cmp esi, dword [edi + 0x58]
je 0x4205f8
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x58]
cmp esi, eax
je 0x4206e2
test eax, eax
je 0x42065f
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], 0x14
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
push 0
push 0
push str.killfocus
push dword [edi + 0x58]
mov ecx, edi
call fcn.00420ff0
mov dword [edi + 0x58], 0
test esi, esi
je 0x4206e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x4206e2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4206e2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x4206e2
xorps xmm0, xmm0
mov dword [edi + 0x58], esi
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], 0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
push 0
push 0
push str.setfocus
push dword [edi + 0x58]
mov ecx, edi
call fcn.00420ff0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x424140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
shr edx, 0x10
mov esi, ecx
push edi
test edx, edx
je 0x424191
cmp word [eax], 0x3c
jne 0x424177
push eax
call fcn.00426c90
test al, al
jne 0x42422a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push ecx
push eax
call fcn.00426e00
test al, al
jne 0x42422a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [0x49fed0]
test ecx, ecx
mov ebx, dword [ebp + 0xc]
cmove ecx, dword [0x49fed4]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x42416c
mov eax, dword [0x49fed0]
test eax, eax
push edi
cmove eax, dword [0x49fed4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4241e2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x140], eax
mov eax, dword [0x49fed0]
test eax, eax
push ecx
cmove eax, dword [0x49fed4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.00426d40
test al, al
je 0x42416c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esi + 0x144], ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00424250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x429810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x42981b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4298e5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
dec edi
jne 0x429830
pop edi
test esi, esi
je 0x42990a
lea esp, [esp]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x48caa0]
dec esi
jne 0x4298f0
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x42a0d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x42a113
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42a105
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x42a124
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.00463c10
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a150
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x42a18b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42a186
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x42a1b8
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x42a19c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.00463c10
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x42a1cc
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x42a1c3
cmp byte [esi + 8], 0
je 0x42a1c3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x42a2c4
cmp byte [edi + 1], 0
je 0x42a2bd
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x42a2ca
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
je 0x42a2e9
cmp byte [edi + 1], 0
je 0x42a2e5
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x42a2ec
xor eax, eax
jmp 0x42a2ec
mov eax, dword [edi + 0x18]
push ebx
mov ebx, 0xffff
mov dword [ebp - 4], eax
cmp eax, ebx
push esi
cmovb ebx, eax
push 0x404
mov dword [ebp - 0x1c], ebx
call fcn.0045eb67
mov esi, eax
add esp, 4
test esi, esi
jne 0x42a318
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0xc], 0
cmp ebx, eax
jbe 0x42a41a
lea esp, [esp]
mov ecx, dword [ebp - 4]
add eax, 0x400
cmp eax, ebx
mov edx, eax
mov eax, 0x404
cmova edx, ebx
mov ebx, dword [ebp - 4]
sub ecx, edx
mov dword [ebp - 0x18], edx
sub ebx, ecx
mov dword [ebp - 0x14], ecx
cmp ebx, 0x404
cmova ebx, eax
cmp byte [edi], 0
je 0x42a37e
cmp byte [edi + 1], 0
je 0x42a41a
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x42a381
mov dword [edi + 0x18], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 8], ebx
je 0x42a3a9
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42a3a4
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x10]
jmp 0x42a3d2
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x42a3bc
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.00463c10
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x42a41a
lea eax, [ebx - 3]
test eax, eax
jle 0x42a40c
dec eax
cmp byte [eax + esi], 0x50
jne 0x42a3fe
cmp byte [eax + esi + 1], 0x4b
jne 0x42a3fe
cmp byte [eax + esi + 2], 5
jne 0x42a3fe
cmp byte [eax + esi + 3], 6
je 0x42a404
test eax, eax
jg 0x42a3e2
jmp 0x42a40c
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jne 0x42a41a
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp eax, ebx
jb 0x42a330
push esi
call fcn.0045ebf9
mov eax, dword [ebp - 0xc]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42b350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x42b3eb
cmp dword [esi + 4], 0xffffffff
jne 0x42b3eb
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42b380
cmp dword [ebp + 0x10], 1
mov eax, dword [0x487534]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x42b3b4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x42b3b4
mov eax, 0x2000000
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00429f80
add esp, 8
test eax, eax
jne 0x42b3d6
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
mov ecx, eax
call fcn.0042a430
mov dword [esi], eax
mov eax, dword [0x49fee0]
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
pop ecx
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov edx, ecx
mov byte [edx + 0x195], al
test al, al
jne 0x42cf4b
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x42cf4b
cmp dword [ecx + 0x58], edx
jne 0x42cf4b
mov dword [ebp + 8], 0
pop ebp
jmp fcn.004205d0
pop ebp
ret 4

Function at 0x4302c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
je 0x43032c
cmp dword [ebp + 8], 0x100
jne 0x43031c
cmp word [ebp + 0xc], 0xd
jne 0x43031c
cmp byte [esi + 0x4da], 0
je 0x4302fe
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43031c
cmp byte [esi + 0x4db], 0
jne 0x43031c
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x430315
push ecx
push 0
push 0
push str.return
push esi
call fcn.00420ff0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x4d4]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x43cb10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xb4]
push esi
mov esi, ecx
push edi
push eax
mov dword [esi + 0x20], ebx
call fcn.0043cd20
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0x7b0], 0
je 0x43cb84
xorps xmm0, xmm0
mov edi, 0x90000080
movdqu xmmword [ebp - 0x18], xmm0
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0xb4], eax
add dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xb0], eax
add dword [ebp - 0xa8], eax
jmp 0x43cb89
mov edi, 0x40000080
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0x591], 0
je 0x43cb98
or edi, 0x20
mov eax, dword [ecx]
call dword [eax + 0x1c]
movdqu xmm0, xmmword [ebp - 0xb4]
sub esp, 0x10
mov ecx, esp
push ecx
push 0
push edi
push ecx
push dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esi
call fcn.004233a0
mov ecx, dword [esi + 0x20]
mov edi, dword [ecx + 0x4a8]
cmp edi, 0xffffffff
je 0x43cbf3
mov eax, dword [ecx]
call dword [eax + 0x1c]
test edi, edi
js 0x43cbe6
cmp edi, dword [eax + 0x21c]
jge 0x43cbe6
mov eax, dword [eax + 0x218]
mov eax, dword [eax + edi*4]
jmp 0x43cbed
mov ecx, eax
call fcn.00421320
mov eax, dword [eax]
test eax, eax
jne 0x43cc04
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00421320
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x20]
push 0
push dword [eax + 0x58c]
push 0xc5
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x20]
cmp byte [eax + 0x591], 0
je 0x43cc49
movzx eax, word [eax + 0x592]
push 0
push eax
push 0xcc
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
push dword [eax]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
cmp eax, ecx
je 0x43cc7c
push eax
call fcn.0045ebf9
add esp, 4
push 0
push 0
push 0xb9
push dword [esi + 4]
call edi
push 0
push 3
push 0xd3
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x20]
xor ecx, ecx
push 0
cmp byte [eax + 0x590], 1
sete cl
push ecx
push 0xcf
push dword [esi + 4]
call edi
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 0x7ac]
or ecx, eax
push ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 8]
pop edi
mov byte [esi + 0x28], 1
xor ecx, ebp
pop esi
pop ebx
call fcn.0045eb02
mov esp, ebp
pop ebp
ret 4
Function at 0x43d040
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x20], 0
je 0x43d0a9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00476ad0
mov ebx, esp
test ebx, ebx
je 0x43d0a9
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
push 0xffffffffffffffff
add ecx, 0x1b8
push ebx
call fcn.0041c910
mov ecx, dword [esi + 0x20]
push ecx
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00420ff0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
Function at 0x44beb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esi + 0x20], eax
mov dword [eax + 0x598], 0
cmp dword [esi + 4], 0
jne 0x44bf57
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x98], ecx
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
movdqu xmm0, xmmword [ebp - 0xa0]
sub esp, 0x10
mov ecx, esp
push ecx
push 0
push 0x40000000
push ecx
push dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esi
call fcn.004233a0
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push dword [ecx + 0x4a8]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00421810
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x8c]
mov eax, dword [eax]
cmp word [eax], 0
mov eax, dword [ebp - 0x90]
sete bl
cmp eax, ecx
je 0x44bf88
push eax
call fcn.0045ebf9
add esp, 4
test bl, bl
je 0x44bf9b
mov eax, dword [esi + 0x20]
add eax, 0x588
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x20]
add eax, 0x588
push eax
push 0
push 0x1002
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]
mov ecx, dword [ebp - 4]
mov byte [esi + 0x28], 1
xor ecx, ebp
pop esi
pop ebx
call fcn.0045eb02
mov esp, ebp
pop ebp
ret 4
Function at 0x459380
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 0x4593a3
cmp eax, edi
jge 0x45939b
call fcn.00458ae0
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov ecx, dword [esi + 8]
xor edx, edx
test ecx, ecx
jle 0x4593cd
mov edi, dword [esi + 0xc]
nop
mov al, byte [esi + 0xc]
sub ecx, 8
mov byte [ebp + edx - 4], al
inc edx
shr edi, 8
mov dword [esi + 0xc], edi
test ecx, ecx
jg 0x4593b0
mov dword [esi + 8], ecx
cmp edx, 4
jge 0x4593ec
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4593da
xor eax, eax
jmp 0x4593e2
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
mov byte [ebp + edx - 4], al
inc edx
cmp edx, 4
jl 0x4593d0
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 0x459424
mov dword [0x49ff28], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x45943f
pop edi
mov dword [0x49ff28], 0x4941cc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x459456
mov edx, edi
mov ecx, esi
call fcn.00458b20
test eax, eax
je 0x45941c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00463c10
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret