joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d030
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 0x42d055
or esi, 1
push 1
call edi
test ax, ax
jns 0x42d061
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x42d06d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x42d079
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x42dd50
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 0x42dd9f
jmp 0x42dd70
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 0x42df1d
inc edi
cmp edi, dword [esi + 0xd8]
jl 0x42dd70
sub ebx, 0x100
je 0x42deb2
sub ebx, 4
je 0x42de0c
sub ebx, 2
jne 0x42dea7
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.004ca470
mov ecx, dword [esi + 0x54]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_ioctlsocket
push edx
push 0x431910
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x42dea7
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 0x42dea7
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 0x42de67
or edi, 1
push 1
call ebx
test ax, ax
jns 0x42de73
or edi, 2
push 0x10
call ebx
test ax, ax
jns 0x42de7f
or edi, 4
push 0x12
call ebx
test ax, ax
jns 0x42de8b
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 0x42dea7
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x42df04
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42df04
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x42df04
mov ecx, dword [esi + 0x58]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004a8a9f
add esp, 8
test eax, eax
je 0x42df04
mov eax, dword [esi + 0x58]
cmp byte [eax + 0x4d9], 0
jne 0x42dea7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00430640
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430130
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 0x430158
cmp esi, dword [edi + 0x58]
je 0x430158
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x58]
cmp esi, eax
je 0x430242
test eax, eax
je 0x4301bf
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.00430b50
mov dword [edi + 0x58], 0
test esi, esi
je 0x430242
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x430242
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x430242
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x430242
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.00430b50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x433be0
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 0x433c31
cmp word [eax], 0x3c
jne 0x433c17
push eax
call fcn.00436700
test al, al
jne 0x433cca
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push ecx
push eax
call fcn.00436870
test al, al
jne 0x433cca
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [0x4fd154]
test ecx, ecx
mov ebx, dword [ebp + 0xc]
cmove ecx, dword [0x4fd158]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x433c0c
mov eax, dword [0x4fd154]
test eax, eax
push edi
cmove eax, dword [0x4fd158]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x433c82
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 [0x4fd154]
test eax, eax
push ecx
cmove eax, dword [0x4fd158]
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.004367b0
test al, al
je 0x433c0c
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.00433cf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x439280
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43928b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x439355
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 + 0x4e6ff0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e6ff0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e6ff0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e6ff0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e6ff0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e6ff0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e6ff0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4e6ff0]
dec edi
jne 0x4392a0
pop edi
test esi, esi
je 0x43937a
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 + 0x4e6ff0]
dec esi
jne 0x439360
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x439b40
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 0x439b83
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 0x439b75
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 0x439b94
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.004ad320
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 0x439bc0
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 0x439bfb
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 0x439bf6
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x439c28
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x439c0c
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.004ad320
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x439c3c
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 0x439c33
cmp byte [esi + 8], 0
je 0x439c33
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439d00
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 0x439d34
cmp byte [edi + 1], 0
je 0x439d2d
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x439d3a
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
push ebx
je 0x439d5f
cmp byte [edi + 1], 0
je 0x439d58
push 1
push 0
push 0
push dword [edi + 4]
call ecx
mov ebx, eax
sub ebx, dword [edi + 0xc]
jmp 0x439d62
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x439d71
mov ebx, dword [edi + 0x18]
mov eax, 0xffff
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
jae 0x439d74
mov dword [ebp - 4], ebx
push esi
push 0x404
call fcn.004a86ac
mov esi, eax
add esp, 4
test esi, esi
jne 0x439d8f
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 4
mov dword [ebp - 0x10], 0
cmp ecx, eax
jbe 0x439e8f
add eax, 0x400
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x1c], edx
sub ebx, ecx
mov dword [ebp - 0x18], ecx
cmp ebx, 0x404
cmova ebx, eax
cmp byte [edi], 0
je 0x439df0
cmp byte [edi + 1], 0
je 0x439e8f
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 0x439df3
mov dword [edi + 0x18], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0xc], ebx
je 0x439e1b
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439e16
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x439e44
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x439e2e
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0xc], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.004ad320
mov eax, dword [ebp - 0xc]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x439e8f
lea eax, [ebx - 3]
test eax, eax
jle 0x439e7e
dec eax
cmp byte [eax + esi], 0x50
jne 0x439e70
cmp byte [eax + esi + 1], 0x4b
jne 0x439e70
cmp byte [eax + esi + 2], 5
jne 0x439e70
cmp byte [eax + esi + 3], 6
je 0x439e76
test eax, eax
jg 0x439e54
jmp 0x439e7e
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jne 0x439e8f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
cmp eax, ecx
jb 0x439da6
push esi
call fcn.004a8674
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43add0
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 0x43ae6b
cmp dword [esi + 4], 0xffffffff
jne 0x43ae6b
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 0x43ae00
cmp dword [ebp + 0x10], 1
mov eax, dword [0x4e7770]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x43ae34
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43ae34
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.004399f0
add esp, 8
test eax, eax
jne 0x43ae56
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
mov ecx, eax
call fcn.00439eb0
mov dword [esi], eax
mov eax, dword [0x4fd164]
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 0x43c9a0
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 0x43c9cb
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x43c9cb
cmp dword [ecx + 0x58], edx
jne 0x43c9cb
mov dword [ebp + 8], 0
pop ebp
jmp fcn.00430130
pop ebp
ret 4

Function at 0x43fd40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
je 0x43fdac
cmp dword [ebp + 8], 0x100
jne 0x43fd9c
cmp word [ebp + 0xc], 0xd
jne 0x43fd9c
cmp byte [esi + 0x4da], 0
je 0x43fd7e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43fd9c
cmp byte [esi + 0x4db], 0
jne 0x43fd9c
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x43fd95
push ecx
push 0
push 0
push str.return
push esi
call fcn.00430b50
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 0x44c5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4f96c0]
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.0044c7c0
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0x7b0], 0
je 0x44c624
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 0x44c629
mov edi, 0x40000080
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0x591], 0
je 0x44c638
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.00432f00
mov ecx, dword [esi + 0x20]
mov edi, dword [ecx + 0x4a8]
cmp edi, 0xffffffff
je 0x44c693
mov eax, dword [ecx]
call dword [eax + 0x1c]
test edi, edi
js 0x44c686
cmp edi, dword [eax + 0x21c]
jge 0x44c686
mov eax, dword [eax + 0x218]
mov eax, dword [eax + edi*4]
jmp 0x44c68d
mov ecx, eax
call fcn.00430e80
mov eax, dword [eax]
test eax, eax
jne 0x44c6a4
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00430e80
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 0x44c6e9
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 0x44c71c
push eax
call fcn.004a8674
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.004a79be
mov esp, ebp
pop ebp
ret 4
Function at 0x44cae0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4f96c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x20], 0
je 0x44cb49
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004c2f90
mov ebx, esp
test ebx, ebx
je 0x44cb49
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.0042c470
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.00430b50
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a79be
mov esp, ebp
pop ebp
ret
Function at 0x45b940
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4f96c0]
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 0x45b9e7
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.00432f00
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push dword [ecx + 0x4a8]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00431370
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 0x45ba18
push eax
call fcn.004a8674
add esp, 4
test bl, bl
je 0x45ba2b
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.004a79be
mov esp, ebp
pop ebp
ret 4
Function at 0x468e10
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 0x468e33
cmp eax, edi
jge 0x468e2b
call fcn.00468570
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 0x468e5d
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 0x468e40
mov dword [esi + 8], ecx
cmp edx, 4
jge 0x468e7c
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x468e6a
xor eax, eax
jmp 0x468e72
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 0x468e60
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 0x468eb4
mov dword [0x4fd1cc], 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 0x468ecf
pop edi
mov dword [0x4fd1cc], 0x4ef3dc
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 0x468ee6
mov edx, edi
mov ecx, esi
call fcn.004685b0
test eax, eax
je 0x468eac
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004ad320
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

Function at 0x46e950
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4f96c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x46e9a3
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x46e99d
shr eax, 8
cmp al, 2
jne 0x46e99d
call fcn.00472db0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a79be
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.004a79be
mov esp, ebp
pop ebp
ret

Function at 0x473700
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x47371e
cmp dword [esi + 0x48], 0
je 0x47371e
push 2
push 3
push esi
call fcn.004878e0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00480860
add esp, 4
test esi, esi
je 0x47373e
cmp dword [esi + 0x48], 0
je 0x47373e
push 3
push esi
call fcn.00487920
add esp, 8
pop esi
pop ebp
ret