joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434f00
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3d75
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3c], ecx
push 0
push 0
push 0
push 0
push 0x4ce9e8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x434f65
push 0
mov ecx, dword [ebp - 0x44]
call fcn.004352d0
xor al, al
jmp 0x43503b
lea ecx, [ebp - 0x40]
call fcn.00403e90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403e90
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00435660
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x434fcd
push 1
mov ecx, dword [ebp - 0x44]
call fcn.004352d0
mov byte [ebp - 0x45], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004028b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004028b0
mov al, byte [ebp - 0x45]
jmp 0x43503b
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.00402880
mov ecx, dword [ebp - 0x44]
mov dx, word [ebp - 0x4c]
mov word [ecx + 0x1c], dx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00402880
push 8
push str.https:__
mov ecx, dword [ebp + 8]
call fcn.00402820
push eax
call fcn.00497dfb
add esp, 0xc
test eax, eax
jne 0x435019
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x38], 1
mov byte [ebp - 0x46], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004028b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004028b0
mov al, byte [ebp - 0x46]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x435480
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push eax
push 0
push 3
push 0
push 0
movzx ecx, word [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402820
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x4354c5
xor al, al
jmp 0x4354c7
mov al, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x435580
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x20000013
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4355bb
xor al, al
jmp 0x435604
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x20000005
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x435602
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x435660
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.0048da50
add esp, 0xc
push 0x3c
push 0
lea ecx, [ebp - 0x240]
push ecx
call fcn.0048da50
add esp, 0xc
mov dword [ebp - 0x240], 0x3c
lea edx, [ebp - 0x204]
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], 0xff
mov dword [ebp - 0x210], 1
lea eax, [ebp - 0x240]
push eax
push 0
mov ecx, dword [ebp + 0x14]
call fcn.00402810
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402820
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4356ef
xor al, al
jmp 0x43571c
mov ecx, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00409020
mov edx, dword [ebp + 0xc]
mov ax, word [ebp - 0x228]
mov word [edx], ax
mov ecx, dword [ebp - 0x214]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00409020
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret
Function at 0x439350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x4e7f40], ecx
inc eax
cmp eax, 0x100
jb 0x439365
cmp eax, 0x800
jae 0x439433
nop dword [eax]
mov edx, dword [eax*4 + 0x4e7b40]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4e7f40]
mov dword [eax*4 + 0x4e7f40], edx
inc eax
cmp eax, 0x800
jb 0x439410
lea ecx, [ebp - 0x24]
mov dword [0x4e7f30], 0x43b110
call fcn.0043b2f0
test eax, eax
je 0x43950f
mov ecx, dword [ebp - 0x14]
mov edx, ecx
shr edx, 8
mov eax, ecx
mov edi, edx
and eax, 0xf00
and edi, 0xff000
and edx, 0xf00
and ecx, 0xf0
or edi, eax
or edx, ecx
shr edi, 8
shr edx, 4
xor ecx, ecx
mov eax, 0x4ceb24
xor esi, esi
mov ebx, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x43949a
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x18]
jne 0x43949a
cmp dword [eax], ebx
je 0x4394b7
add esi, 0xc
inc ecx
add eax, 0xc
cmp esi, 0x24
jb 0x439483
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret
sub ecx, 0
je 0x4394e5
sub ecx, 1
je 0x4394d4
sub ecx, 1
jne 0x43950f
cmp edi, 6
jb 0x43950f
jne 0x439505
cmp edx, 0xf
jb 0x43950f
jmp 0x439505
cmp edi, 5
jb 0x43950f
jne 0x439505
cmp edx, 6
jb 0x43950f
cmp edx, 0xa
jmp 0x439503
cmp edi, 6
jb 0x43950f
jne 0x439505
cmp edx, 0x1c
je 0x43950f
cmp edx, 0x26
je 0x43950f
cmp edx, 0x27
je 0x43950f
cmp edx, 0x35
je 0x43950f
cmp edx, 0x36
je 0x43950f
mov dword [0x4e7f30], 0x43b1b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048b62c
mov esp, ebp
pop ebp
ret
Function at 0x43e210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x43e232
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 8], ebx
nop
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x43e259
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x43e256
inc eax
cmp eax, ebx
jb 0x43e247
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x43e34f
cmp edx, 2
jbe 0x43e301
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x43e338
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
sub ebx, ecx
test esi, esi
je 0x43e2d1
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x43e2cf
mov edx, 0x100
shl edx, cl
mov ecx, dword [ebp + 8]
dec edx
xor ebx, edx
add ecx, edi
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 8]
add edi, eax
jmp 0x43e240
mov ecx, edx
shr esi, cl
test esi, esi
je 0x43e276
cmp esi, 4
ja 0x43e32a
cmp esi, 3
je 0x43e32a
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x43e276
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x43e240
mov ebx, dword [ebp - 8]
or esi, 8
mov ecx, dword [ebp - 4]
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x43e240
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442e80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b43ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a0], ebx
call fcn.004430d0
mov esi, eax
cmp word [edi], bx
je 0x442ed9
cmp word [edi + 2], 0x3a
jne 0x442ed9
mov eax, edi
jmp 0x442f10
mov ecx, esi
call fcn.00453e00
test al, al
jne 0x442fe7
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.00453650
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.0040da50
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.00453420
mov dword [ebp - 4], 2
test bl, 1
je 0x442f35
lea ecx, [ebp - 0x19c]
call fcn.00453500
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0040da50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x442fd5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x442fd5
push esi
mov dword [ebp - 0x1a4], 0
call fcn.0048bc0f
add esp, 4
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x1a4]
push 0
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1a4], esi
jne 0x442fc7
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x118]
mov dword [eax], esi
call fcn.00453500
mov eax, dword [ebp - 0x1a0]
jmp 0x44309a
push dword [ebp - 0x1a0]
call fcn.0048bc0a
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.00453500
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.00453420
push 0x4cf9e4
push 0x4cf8f4
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.00454030
lea eax, [ebp - 0x94]
mov ecx, 0x4e5dbc
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00440dc0
mov esi, dword [ebp - 0x1ac]
cmp byte [esi + 0xd], 0
jne 0x443081
lea ecx, [esi + 0x10]
call fcn.0040da50
push eax
lea ecx, [ebp - 0x94]
call fcn.004536e0
test al, al
jne 0x443081
cmp esi, dword [0x4e5dbc]
je 0x443081
mov edi, dword [esi + 0xa4]
push edi
call fcn.0048bc0f
add esi, 0x94
add esp, 4
mov ebx, eax
cmp dword [esi + 0x14], 0x10
jb 0x443074
mov esi, dword [esi]
push edi
push esi
push ebx
call fcn.0048d4d0
add esp, 0xc
jmp 0x443085
xor ebx, ebx
xor edi, edi
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x94]
mov dword [eax], edi
call fcn.00453500
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret
Function at 0x4432d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4b7ccc
push dword [ebp + 8]
call fcn.004430c0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44332a
push edi
push esi
call fcn.004430c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x443329
push esi
call fcn.004430c0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x443329
push 0x448840
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004362b0
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp + 0xc]
call fcn.00443340
add esp, 4
pop esi
pop ebp
ret

Function at 0x443a20
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 0x443a45
or esi, 2
push 1
call edi
test ax, ax
jns 0x443a51
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x443a5d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x443a69
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4460b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [edi + 0x354]
call fcn.00453c30
mov ebx, dword [ebp + 8]
test eax, eax
jle 0x44610b
nop
push esi
lea ecx, [edi + 0x354]
mov byte [ebp + 0xb], 0
call fcn.00453630
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push ebx
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x44625c
lea ecx, [edi + 0x354]
inc esi
call fcn.00453c30
cmp esi, eax
jl 0x4460d0
sub ebx, 0x100
je 0x4461e5
sub ebx, 4
je 0x446181
sub ebx, 2
jne 0x4461da
cmp dword [edi + 0xe0], ebx
je 0x4461da
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
call fcn.00497464
mov ecx, dword [edi + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x80000012
push edx
push 0x448660
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je 0x4461da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x108]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x4461da
mov ecx, dword [edi + 0xf8]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [edi + 0xf4]
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call fcn.00443a20
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4461da
mov ecx, dword [edi + 0xe4]
test ecx, ecx
je 0x446243
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x446243
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x446243
mov ecx, dword [edi + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.0048d1e6
add esp, 8
test eax, eax
je 0x446243
mov ecx, dword [edi + 0xe4]
call fcn.0045b710
test al, al
jne 0x4461da
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, edi
setns al
movzx eax, al
push eax
call fcn.004479f0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x447450
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x44748b
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x44748b
cmp esi, dword [edi + 0xe4]
je 0x44748b
cmp byte [edi + 0xdc], 0
jne 0x44748b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x447586
test eax, eax
je 0x4474fa
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push 1
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.00446fd0
mov dword [edi + 0xe4], 0
test esi, esi
je 0x447586
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x447586
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x447586
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x447586
xorps xmm0, xmm0
mov dword [edi + 0xe4], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push 1
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.00446fd0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x448390
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x448441
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
mov ecx, 0x4e5bfc
mov dword [ebp - 4], ebx
call fcn.00453c30
sub eax, 1
mov dword [ebp + 8], eax
js 0x448438
push eax
mov ecx, 0x4e5bfc
call fcn.00453630
cmp dword [ebp - 4], 0
mov edi, eax
je 0x44842a
mov ecx, edi
call fcn.00442e60
cmp dword [esi], eax
je 0x4483f9
mov ecx, edi
call fcn.00442e60
cmp ebx, eax
jne 0x44841d
push esi
mov ecx, edi
call fcn.00448330
test al, al
jne 0x4484c5
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.004460b0
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
jne 0x4483e3
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
sub eax, 1
mov dword [ebp + 8], eax
jns 0x4483d0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x4e5bfc
xor edi, edi
call fcn.00453c30
test eax, eax
jle 0x448438
mov ecx, 0x4e5bfc
call fcn.00453c30
push edi
mov ecx, 0x4e5bfc
call fcn.00453630
mov ebx, eax
mov ecx, ebx
call fcn.00442e60
cmp dword [esi], eax
je 0x44848b
mov ecx, 0x4e5bfc
inc edi
call fcn.00453c30
cmp edi, eax
jl 0x448451
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, ebx
call fcn.00448330
test al, al
jne 0x4484c5
mov eax, dword [esi + 8]
cmp eax, 0xe5
jne 0x4484ab
push dword [esi]
call sub.IMM32.dll_ImmGetVirtualKey
mov dword [esi + 8], eax
lea ecx, [ebp - 8]
push ecx
push dword [esi + 0xc]
mov ecx, ebx
push eax
push dword [esi + 4]
call fcn.004460b0
test al, al
je 0x448438
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x456d25
cmp byte [ebp + 8], 0
je 0x456d19
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x45d5b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x79c], 0
je 0x45d61f
cmp dword [ebp + 8], 0x100
jne 0x45d60f
cmp word [ebp + 0xc], 0xd
jne 0x45d60f
cmp byte [esi + 0x7a2], 0
je 0x45d5ee
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45d60f
cmp byte [esi + 0x7a3], 0
jne 0x45d60f
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45d608
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.00446fd0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x79c]
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 0x465310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x465340
cmp eax, edi
jge 0x465334
push esi
call fcn.00461060
mov eax, dword [esi + 8]
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x46536d
mov edi, dword [esi + 0xc]
nop dword [eax]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x465350
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x465389
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x46537a
xor dl, dl
jmp 0x46537f
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x465370
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4653be
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.00460f80
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4653d6
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.00460f80
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4653f4
push edi
push ecx
push esi
call fcn.004686d0
add esp, 0xc
test eax, eax
jne 0x4653f4
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0048d4d0
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x482500
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x48258b
cmp dword [esi + 0x10], 0
je 0x48258b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0048c060
mov ebx, esp
test ebx, ebx
je 0x48258b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.004535c0
mov ecx, dword [esi + 0x10]
push 1
push 0
push 0
mov eax, dword [ecx]
push 0
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.00446fd0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.004435a0
test al, al
je 0x48258b
mov ecx, dword [esi + 0x10]
call fcn.00450440
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret 0x10

Function at 0x483120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00452c60
mov ecx, dword [esi + 0x7e8]
test ecx, ecx
je 0x4831b5
lea eax, [ebp - 0x14]
push eax
call fcn.00481870
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [esi + 0x7e8]
test eax, eax
je 0x48318f
push 0
mov ecx, esi
call fcn.00453c30
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, esi
call fcn.00453c30
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048b62c
mov esp, ebp
pop ebp
ret 0x14