joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454a4d
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 0x454a7f
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x467f27
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x467f4b
cmp dword [esi + 8], edi
jge 0x467f43
push esi
call fcn.00463884
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x467f74
mov edi, dword [esi + 0xc]
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 0x467f57
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x467f8e
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x467f7f
xor dl, dl
jmp 0x467f84
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x467f76
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 0x467fc3
push str.zlib_corrupt
call fcn.004637ad
add esp, 4
jmp 0x468003
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x467fd3
push str.read_past_buffer
jmp 0x467fb9
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x467fed
push edi
push ecx
push esi
call fcn.0046aaf0
add esp, 0xc
test eax, eax
je 0x468003
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.005975c0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x46dbdc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x614], edi
je 0x46dc53
cmp dword [ebp + 8], 0x100
jne 0x46dc42
cmp word [ebp + 0xc], 0xd
jne 0x46dc42
cmp byte [esi + 0x61a], 0
je 0x46dc1c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46dc42
cmp byte [esi + 0x61b], 0
jne 0x46dc42
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x46dc3e
mov eax, dword [esi]
mov ecx, esi
push edi
push edi
push edi
push str.return
push esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004524b1
xor eax, eax
jmp 0x46dc56
mov eax, dword [esi + 0x614]
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 0x46e029
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x46e0df
movzx eax, word [esi]
test ax, ax
je 0x46e0df
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x46e069
cmp ax, 0x5c
jne 0x46e06b
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x46e05d
cmp edi, esi
je 0x46e0b2
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.0059ee74
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x46e0ef
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0046e029
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0059ee37
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0059edc6
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e11e
mov esp, ebp
pop ebp
ret
call fcn.0057e781
int3

Function at 0x46e6b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x46e730
cmp dword [edi + 4], 0xffffffff
jne 0x46e730
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x62cd8c
push esi
call fcn.0059edc6
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x46e702
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x46e702
mov eax, 0x2000000
jmp 0x46e735
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00470bcf
add esp, 0x10
test eax, eax
jne 0x46e720
mov eax, dword [ebp - 4]
jmp 0x46e735
push eax
call fcn.004712d7
mov dword [edi], eax
mov eax, dword [0x64c5f4]
pop ecx
jmp 0x46e735
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x470cdc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x470d10
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x470d0b
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x470d37
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x470d20
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.005975c0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x470eaa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x470eb8
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x470f77
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
sub edi, 1
jne 0x470ed0
pop edi
test esi, esi
je 0x470f93
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5cee58]
inc edx
sub esi, 1
jne 0x470f7b
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x471f4d
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x5c5c50
call fcn.0057ebe2
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.004722dc
call fcn.0044ea83
push eax
lea ecx, [ebp - 0x94]
call fcn.0044c364
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0044ea89
mov ecx, eax
call fcn.0044cb71
test al, al
je 0x472063
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044c5e1
push edi
push 0x80
push 3
push edi
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.0044c580
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x471fd4
push str.Error_opening_file
jmp 0x472144
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4720dd
cmp edi, 0x400000
ja 0x4720ee
and dword [ebp - 0x2c8], 0
push edi
call fcn.0057e12f
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x47204c
push ebx
call fcn.0057e138
pop ecx
mov ecx, esi
call fcn.004722dc
push 0
push str.Could_not_read_file
jmp 0x472144
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0047218f
push dword [ebp - 0x2cc]
jmp 0x472172
call fcn.0044ea89
push eax
lea ecx, [ebp - 0x94]
call fcn.0044c5c4
call fcn.0044ed8f
test al, al
je 0x472084
call fcn.0044ea8f
jmp 0x47209b
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0044c580
push eax
call fcn.0046e73c
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4720ac
push eax
push str.Error_opening_zip_file
jmp 0x472144
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0046e17d
add esp, 0x14
test eax, eax
je 0x4720d3
push 0
push str.Could_not_find_ziped_file
jmp 0x472144
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x4720e6
push 0
push str.File_is_empty
jmp 0x472144
cmp ebx, 0x400000
jbe 0x4720f7
push 0
push 0x5d06e4
jmp 0x472144
push ebx
call fcn.0057e12f
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0046eafc
add esp, 0x18
test eax, eax
je 0x47214f
cmp eax, 0x600
je 0x47214f
push dword [ebp - 0x2c8]
call fcn.0057e138
pop ecx
call fcn.0044ed8f
test al, al
jne 0x47213d
push edi
call fcn.0046dfd7
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00472304
mov bl, al
jmp 0x47217a
call fcn.0044ed8f
test al, al
jne 0x47215f
push edi
call fcn.0046dfd7
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0047218f
push edi
mov bl, al
call fcn.0057e138
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0044c470
mov al, bl
call fcn.0057eb9d
ret 8

Function at 0x47af0f
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x638
jmp fcn.0047fab1
Function at 0x4873e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x487464
cmp dword [esi + 0x10], 0
je 0x487464
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0057ecf0
mov ebx, esp
test ebx, ebx
je 0x487464
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0044c50e
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
push str.textchanged
push ecx
mov ecx, dword [ecx + 0x44]
call fcn.004524b1
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call fcn.0044ed9c
test al, al
je 0x487464
mov ecx, dword [esi + 0x10]
call fcn.00455a3a
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e11e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x488284
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x5c6a60
call fcn.0057ebe2
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2cc], ebx
call fcn.0044ea83
push eax
lea ecx, [ebp - 0x94]
call fcn.0044c364
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0044ea89
mov ecx, eax
call fcn.0044cb71
test al, al
je 0x488372
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044c5e1
push edi
push 0x80
push 3
push edi
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.0044c580
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x488315
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0044c470
jmp 0x488453
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x488301
push esi
mov dword [ebp - 0x2c8], edi
call fcn.0057e12f
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], esi
je 0x48843e
push edi
call fcn.0057e138
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0044c470
jmp 0x488451
call fcn.0044ea89
push eax
lea ecx, [ebp - 0x94]
call fcn.0044c5c4
call fcn.0044ed8f
test al, al
je 0x488393
call fcn.0044ea8f
jmp 0x4883aa
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0044c580
push eax
call fcn.0046e73c
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x488301
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2cc]
push ebx
call fcn.0046e17d
add esp, 0x14
test eax, eax
jne 0x488301
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x488301
push esi
call fcn.0057e12f
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.0046eafc
add esp, 0x18
test eax, eax
je 0x48842e
cmp eax, 0x600
je 0x48842e
push edi
call fcn.0057e138
pop ecx
call fcn.0044ed8f
test al, al
jne 0x48835e
push ebx
call fcn.0046dfd7
jmp 0x48835d
call fcn.0044ed8f
test al, al
jne 0x48843e
push ebx
call fcn.0046dfd7
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0044c470
test edi, edi
jne 0x4884c5
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push accept
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4884c1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4884c1
push esi
mov dword [ebp - 0x2d0], edi
call fcn.0057e12f
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2d0]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], esi
je 0x4884bd
push edi
call fcn.0057e138
pop ecx
xor edi, edi
test edi, edi
jne 0x4884c5
xor eax, eax
jmp 0x4884dd
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.004884e5
push edi
mov esi, eax
call fcn.0057e138
pop ecx
mov eax, esi
call fcn.0057eb9d
ret 4
Function at 0x489f5c
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x5c6c02
call fcn.0057ebe2
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x500], ebx
cmp dword [esi + 4], ebx
jne 0x489fe5
lea eax, [ebp - 0xa8]
push eax
call fcn.00489b25
push ebx
sub esp, 0x10
lea esi, [ebp - 0xa8]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call fcn.0044ea67
push eax
mov ecx, esi
call fcn.00454568
mov ecx, dword [esi + 0x10]
call fcn.00474396
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call fcn.0044e768
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0044cb71
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0044c470
mov edi, 0x4f0
test bl, bl
je 0x48a020
mov eax, dword [esi + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [esi + 0x1a]
push eax
call fcn.005975c0
mov eax, dword [esi + 0x10]
add esp, 0xc
add eax, edi
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 byte [esi + 0x18], 1
call fcn.0057eb9d
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x48a487
xor eax, eax
jmp 0x48a4fc
push esi
mov esi, 0xff
lea eax, [ebp - 0x104]
push esi
push 0
push eax
call fcn.00596fa0
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x48a483
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.005975c0
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e11e
mov esp, ebp
pop ebp
ret
Function at 0x48a5f9
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x5c6cb8
call fcn.0057ebe2
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x4f8], ebx
cmp dword [esi + 4], ebx
jne 0x48a6ad
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x48a68a
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.0048a1ea
push ebx
sub esp, 0x10
lea esi, [ebp - 0xb0]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call fcn.0044ea67
push eax
mov ecx, esi
call fcn.00454568
mov ecx, dword [esi + 0x10]
call fcn.00474396
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call fcn.0044e768
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0044cb71
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0044c470
test bl, bl
je 0x48a6e5
call fcn.0048a45b
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x4f0], eax
mov eax, dword [esi + 0x10]
push dword [eax + 0x4f0]
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]
mov byte [esi + 0x18], 1
call fcn.0057eb9d
ret 4

Function at 0x48e58d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047fab1

Function at 0x48e596
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x638
jmp method.DuiLib::CMenuUI.virtual_312
Function at 0x48f349
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
and dword [ebx + 0x468], 0
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x464], ecx
mov dword [ebx + 0x46c], eax
test ecx, ecx
jne 0x48f3b4
call fcn.0048f110
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test edi, edi
je 0x48f3b4
call fcn.0048f110
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0048f110
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x464]
test ecx, ecx
jne 0x48f3da
mov ecx, dword [ebp - 0x18]
jmp 0x48f3e1
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044ea67
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.0044c340
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push accept
push 0
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00454568
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x48f424
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x48f41f
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e11e
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x494fea
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x495038
cmp esi, 0x28
jbe 0x495032
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x495038
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00596fa0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0044c389
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e11e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49532b
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x5c77e2
call fcn.0057ebe2
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x495432
lea eax, [ebp - 0xa4]
push eax
call fcn.00494aca
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov ecx, dword [ecx + 0x44]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044ea67
push eax
mov ecx, ebx
call fcn.00454568
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x495432
mov ecx, dword [ebx + 0x10]
call fcn.00474396
mov ecx, dword [ebx + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call fcn.0044e768
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x70e]
push eax
movzx eax, word [ecx + 0x70c]
mov ecx, ebx
push eax
call fcn.00495863
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.00494e3c
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1c8
push eax
call fcn.0044c4ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0044c470
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.0057eb9d
ret 4

Function at 0x496520
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x64306c]
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 0x496570
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x49656a
shr eax, 8
cmp al, 2
jne 0x49656a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e11e
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.0057e11e
mov esp, ebp
pop ebp
ret