joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466510
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [eax], ebx
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4666a2
push ebp
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x46668c
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x46655f
lea ebp, [eax + 0xe]
jmp 0x46656b
cmp eax, 0x17
jne 0x466619
lea ebp, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x466619
mov eax, dword [edi + 0x10]
test eax, eax
je 0x466619
cmp eax, ebp
jb 0x466619
push 0x20
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x466681
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebp
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [section..data]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x466670
push ebp
push dword [edi + 0x18]
push eax
call fcn.004d90e0
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x466605
push eax
call dword [0x55b00c]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x466656
mov eax, dword [esp + 0x10]
test ebx, ebx
cmove ebx, esi
test eax, eax
je 0x466615
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x466552
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x466638
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebp, ebp
je 0x466688
push ebx
call fcn.004664d0
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebx, ebx
mov dword [eax], ebx
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebp, 8
call dword [0x55b004]
push esi
call dword [0x55b004]
add esp, 8
jmp 0x466628
push esi
mov ebp, 8
call dword [0x55b004]
add esp, 4
jmp 0x466628
mov ebp, 8
jmp 0x466628
test ebx, ebx
jne 0x466698
mov ebp, 0x2af9
push ebp
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebx
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x46b0a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
mov byte [esp + 0x16], al
lea eax, [esp + 0x14]
mov edi, dword [esi]
push 3
push eax
push dword [esi + 0x198]
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x46b0ec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.00459ba0
add esp, 0xc
push dword [esp + 0x18]
push ebx
push 0x51c93c
push dword [esi]
call fcn.0046a9b0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x46b220
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
push ebx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ebx, dword [eax + 0x130]
jne 0x46b36b
push ebp
push edi
lea ebp, [ebx + 0x1cb0]
lea edi, [ebx + 0x1eb0]
mov dword [edi], ebp
cmp ebp, edi
jae 0x46b257
mov byte [ebp], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x46b262
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x46b26d
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebx + 0x1ca8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 0x1caa]
push eax
call esi
mov ecx, dword [esp + 0x1c]
movzx edx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x46b2a0
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x46b2aa
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x46b2b4
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x46b2be
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x46b2c9
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x46b2d4
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1eb4], eax
sub eax, ebp
sub eax, 2
mov dword [edi], ebp
push eax
lea eax, [ebx + 0x1cb2]
push eax
push 0x3e
push esi
call fcn.0046aac0
mov edi, dword [esp + 0x28]
add esp, 0x10
push 0
push 3
push ebp
push dword [edi + 0x198]
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x46b32a
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00459ba0
add esp, 0xc
push 4
lea eax, [ebx + 0x1cb3]
push eax
push edi
call fcn.0046b110
add esp, 0xc
lea eax, [ebx + 0x1cb7]
push 0
push 2
push eax
push dword [edi + 0x198]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x46b368
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00459ba0
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x478f90
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x55b4e0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004dbb32
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x478ff5
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x478ff5
lea eax, [esp]
push eax
call dword [0x55b00c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004cfd33
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor eax, eax
xor ecx, esp
call fcn.004cfd33
add esp, 0x108
ret
Function at 0x486fd0
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 0x487015
cmp byte [ebp + 8], 0
je 0x487009
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 0x489f00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x55b4e0]
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 - 0x1a4], eax
mov dword [ebp - 0x1a0], ebx
call fcn.0048a170
mov esi, eax
cmp word [edi], bx
je 0x489f59
cmp word [edi + 2], 0x3a
jne 0x489f59
mov eax, edi
jmp 0x489f90
mov ecx, esi
call fcn.004862a0
test al, al
jne 0x48a06e
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.00485aa0
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.00485a90
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.00485870
mov dword [ebp - 4], 2
test bl, 1
je 0x489fb5
lea ecx, [ebp - 0x19c]
call fcn.00485970
push 0
push 0x80
push 3
push 0
push 1
push accept
lea ecx, [ebp - 0x118]
call fcn.00485a90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48a05c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x48a05c
push esi
mov dword [ebp - 0x1a8], 0
call fcn.00484cdd
add esp, 4
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x1a8]
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 - 0x1a8], esi
jne 0x48a04e
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
call fcn.00485970
mov eax, dword [ebp - 0x1a0]
jmp 0x48a13f
push dword [ebp - 0x1a0]
call fcn.004d18bf
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.00485970
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.00485870
push 0x53aacc
push 0x538370
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.004864f0
lea eax, [ebp - 0x94]
mov ecx, 0x5630dc
push eax
call fcn.0048fbf0
mov esi, eax
mov eax, dword [0x5630dc]
cmp esi, eax
je 0x48a0d7
lea ecx, [esi + 0x10]
call fcn.00485a90
push eax
lea ecx, [ebp - 0x94]
call fcn.00485b30
test al, al
mov dword [ebp - 0x1a0], esi
mov eax, dword [0x5630dc]
je 0x48a0dd
mov dword [ebp - 0x1a0], eax
lea esi, [ebp - 0x1a0]
mov esi, dword [esi]
cmp esi, eax
je 0x48a11d
mov ebx, dword [esi + 0xa4]
push ebx
call fcn.00484cdd
add esi, 0x94
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x48a108
mov esi, dword [esi]
push ebx
push esi
push edi
call fcn.004d90e0
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x48a12b
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [eax], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00485970
mov eax, edi
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.004cfd33
mov esp, ebp
pop ebp
ret
Function at 0x48a390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x53b6d8
push dword [ebp + 8]
call fcn.0048a160
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x48a3ea
push edi
push esi
call fcn.0048a160
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x48a3e9
push esi
call fcn.0048a160
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x48a3e9
push 0x4907f0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00434110
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop ebp
jmp 0x48a400
push str.multi_language.tsv
call fcn.0048a430
push str.multi_language_online.tsv
call fcn.0048a430
push str.multi_language_patch.tsv
call fcn.0048a430
add esp, 0xc
ret

Function at 0x48a430
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511f16
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x55b4e0]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call fcn.00489cd0
add esp, 4
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.00485aa0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00485970
push 0
push 0x80
push 3
push 0
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.00485a90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48a52a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x48a565
cmp esi, 0x400000
ja 0x48a565
push esi
mov dword [ebp - 0x11c], 0
call fcn.00484cdd
add esp, 4
mov edi, eax
lea eax, [ebp - 0x11c]
push 0
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 - 0x11c], esi
jne 0x48a51f
push esi
push edi
call fcn.0048a800
add esp, 8
push edi
call fcn.004d18bf
add esp, 4
jmp 0x48a565
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push esi
call fcn.00489f00
mov esi, eax
add esp, 8
test esi, esi
je 0x48a565
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x48a565
push eax
push esi
call fcn.0048a800
push esi
call fcn.004d18bf
add esp, 0xc
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00485970
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.004cfd33
mov esp, ebp
pop ebp
ret

Function at 0x48aac0
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 0x48aae5
or esi, 2
push 1
call edi
test ax, ax
jns 0x48aaf1
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x48aafd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x48ab09
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x48d490
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x354]
call fcn.00486c40
mov edi, dword [ebp + 8]
test eax, eax
jle 0x48d4eb
nop
push esi
lea ecx, [ebx + 0x354]
mov byte [ebp + 0xb], 0
call fcn.00485a80
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x48d64e
lea ecx, [ebx + 0x354]
inc esi
call fcn.00486c40
cmp esi, eax
jl 0x48d4b0
sub edi, 0x100
je 0x48d5d7
sub edi, 4
je 0x48d567
sub edi, 2
jne 0x48d5cc
cmp dword [ebx + 0xe0], edi
je 0x48d5cc
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.004d0a57
mov ecx, dword [ebx + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push 0x48ff10
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je 0x48d5cc
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 [ebx + 0xe4]
test eax, eax
je 0x48d5cc
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xf8]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0048aac0
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x48d5cc
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x48d635
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x48d635
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x48d635
mov ecx, dword [ebx + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004d7a02
add esp, 8
test eax, eax
je 0x48d635
mov ecx, dword [ebx + 0xe4]
call fcn.004a48d0
test al, al
jne 0x48d5cc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0048ed90
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48e840
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 0x48e87b
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x48e87b
cmp esi, dword [edi + 0xe4]
je 0x48e87b
cmp byte [edi + 0xdc], 0
jne 0x48e87b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x48e976
test eax, eax
je 0x48e8ea
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
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 + pe_nt_image_headers32]
push 1
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.0048e3b0
mov dword [edi + 0xe4], 0
test esi, esi
je 0x48e976
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x48e976
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x48e976
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x48e976
xorps xmm0, xmm0
mov dword [edi + 0xe4], esi
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
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 + pe_nt_image_headers32]
push 1
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.0048e3b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x48f730
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 0x48f7df
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
mov ecx, 0x562f1c
mov dword [ebp - 4], ebx
call fcn.00486c40
dec eax
mov dword [ebp + 8], eax
js 0x48f821
push eax
mov ecx, 0x562f1c
call fcn.00485a80
cmp dword [ebp - 4], 0
mov edi, eax
je 0x48f7c8
mov ecx, edi
call fcn.00489ee0
cmp dword [esi], eax
je 0x48f79b
mov ecx, edi
call fcn.00489ee0
cmp ebx, eax
jne 0x48f7bb
push esi
mov ecx, edi
call fcn.0048f6d0
test al, al
jne 0x48f7d6
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.0048d490
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
jne 0x48f785
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
js 0x48f821
mov ebx, dword [ebp - 4]
jmp 0x48f772
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x562f1c
xor edi, edi
call fcn.00486c40
test eax, eax
jle 0x48f821
nop
mov ecx, 0x562f1c
call fcn.00486c40
push edi
mov ecx, 0x562f1c
call fcn.00485a80
mov ebx, eax
mov ecx, ebx
call fcn.00489ee0
cmp dword [esi], eax
je 0x48f82a
mov ecx, 0x562f1c
inc edi
call fcn.00486c40
cmp edi, eax
jl 0x48f7f0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, ebx
call fcn.0048f6d0
test al, al
jne 0x48f7d6
cmp dword [esi + 8], 0xe5
jne 0x48f849
push dword [esi]
call sub.IMM32.dll_ImmGetVirtualKey
mov dword [esi + 8], eax
lea eax, [ebp - 8]
mov ecx, ebx
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.0048d490
pop edi
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b680
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x55b4e0]
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 edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xa4]
push eax
mov dword [edi + 0x10], esi
call fcn.0049acf0
mov ecx, esi
call fcn.0049b2e0
mov ecx, dword [edi + 0x10]
mov esi, eax
or esi, 0x40000080
call fcn.00493c40
test al, 1
je 0x49b6e2
or esi, 1
jmp 0x49b6e9
test al, 2
je 0x49b6e9
or esi, 2
mov ebx, dword [edi + 0x10]
mov ecx, ebx
call fcn.0049b8c0
test al, al
je 0x49b6fa
or esi, 0x20
movdqu xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov ecx, ebx
mov eax, esp
push 0
movdqu xmmword [eax], xmm0
mov eax, dword [ebx]
push esi
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.00489ee0
push eax
mov ecx, edi
call fcn.00486ad0
mov ecx, dword [edi + 0x10]
call fcn.00493b60
cmp eax, 0xffffffff
je 0x49b749
mov ecx, dword [edi + 0x10]
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00489870
test eax, eax
jne 0x49b75a
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00489790
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
push 0
call fcn.0049b290
push eax
push 0xc5
push dword [edi + 4]
call esi
mov ebx, dword [edi + 0x10]
mov ecx, ebx
call fcn.0049b8c0
test al, al
je 0x49b7a4
push 0
mov ecx, ebx
call fcn.0049b2c0
movzx eax, ax
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00485a90
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00485970
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.00486f30
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 0x10]
push 0
call fcn.0049b8d0
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x10]
call fcn.0049b8b0
push dword [edi + 4]
test al, al
je 0x49b86d
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x49b875
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [edi + 4]
call esi
mov byte [edi + 0x18], 1
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.004cfd33
mov esp, ebp
pop ebp
ret 4
Function at 0x49b8e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x55b4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00496550
mov ecx, dword [esi + 0x7e8]
test ecx, ecx
je 0x49b971
lea eax, [ebp - 0x14]
push eax
call fcn.0049acf0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x49b947
mov ecx, dword [esi + 0x7e8]
push 0
call fcn.00486c40
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cfd33
mov esp, ebp
pop ebp
ret 0xc
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
mov ecx, dword [esi + 0x7e8]
push 0
call fcn.00486c40
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004cfd33
mov esp, ebp
pop ebp
ret 0xc

Function at 0x49b990
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x55b4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x49ba1b
cmp dword [esi + 0x10], 0
je 0x49ba1b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004dcbc0
mov ebx, esp
test ebx, ebx
je 0x49ba1b
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.00485a10
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.0048e3b0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0048a6a0
test al, al
je 0x49ba1b
mov ecx, dword [esi + 0x10]
call fcn.00496420
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cfd33
mov esp, ebp
pop ebp
ret 0x10