joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d61f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5178cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x4fa8f4
mov dword [esi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00430df0
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00430cd0
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x521340]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x448027
mov eax, dword [eax]
push ecx
push 2
push eax
mov ecx, edi
call fcn.00438f30
test eax, eax
jne 0x448055
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x44804d
or eax, 4
push 0
push eax
call fcn.00431840
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44ae90
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6546
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5178cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004a79c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x44af39
jmp 0x44af30
add eax, 2
cmp word [eax], 0
jne 0x44af30
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b8f0
push str.ChangZhi2
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x52296c
call fcn.0044ad40
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x44af82
push dword [ebp - 0x234]
call fcn.0048ec00
add esp, 4
mov eax, 0x52296c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049b793
mov esp, ebp
pop ebp
ret 4

Function at 0x44b050
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d65ab
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5178cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x522988
call fcn.004a79c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x52299c], 7
mov dword [0x522998], 0
mov word [0x522988], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x44b0fa
add eax, 2
cmp word [eax], 0
jne 0x44b0f1
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x522988
push eax
call fcn.0040b8f0
mov eax, 0x522988
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049b793
mov esp, ebp
pop ebp
ret 4
Function at 0x44b7a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6727
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5178cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004a79c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x44b849
jmp 0x44b840
add eax, 2
cmp word [eax], 0
jne 0x44b840
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b8f0
push str.lddownloader_
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.0044ad40
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0044b2e0
cmp dword [ebp - 0x234], 8
jb 0x44b89e
push dword [ebp - 0x248]
call fcn.0048ec00
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x44b8d2
push dword [ebp - 0x230]
call fcn.0048ec00
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x44b90f
add eax, 2
cmp word [eax], 0
jne 0x44b906
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b8f0
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x230]
push str.lddownloaderlddownloader.log
call fcn.0044ad40
add esp, 4
mov ecx, esi
call fcn.0044b380
add esp, 0x18
cmp dword [ebp - 0x21c], 8
jb 0x44b962
push dword [ebp - 0x230]
call fcn.0048ec00
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b793
mov esp, ebp
pop ebp
ret
Function at 0x44de40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6c0b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5178cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
sub esp, 8
mov dword [ebp - 4], 0
call fcn.00420f10
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
push eax
mov word [edi + 0x34], ax
lea eax, [ebp + 8]
push eax
call fcn.00406e70
mov byte [ebp - 4], 2
lea edx, [edi + 0x34]
mov ecx, edi
mov byte [edi + 0x4c], 0
call fcn.0044d3a0
cmp dword [edi + 0xc], 0
jne 0x44dedc
mov ecx, edi
call fcn.00426fc0
mov dword [edi + 0xc], 3
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
cmp dword [ebp + 0x1c], 8
mov byte [edi + 0x4c], 0
jb 0x44def1
push dword [ebp + 8]
call fcn.0048ec00
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4528a0
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 0x4528e5
cmp byte [ebp + 8], 0
je 0x4528d9
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 0x455880
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7478
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x5178cc]
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.00455af0
mov esi, eax
cmp word [edi], bx
je 0x4558d9
cmp word [edi + 2], 0x3a
jne 0x4558d9
mov eax, edi
jmp 0x455910
mov ecx, esi
call fcn.00451c00
test al, al
jne 0x4559ee
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.00451410
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.00451400
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.004511d0
mov dword [ebp - 4], 2
test bl, 1
je 0x455935
lea ecx, [ebp - 0x19c]
call fcn.004512d0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.00451400
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4559dc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4559dc
push esi
mov dword [ebp - 0x1a8], 0
call fcn.0044fbe9
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 0x4559ce
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
call fcn.004512d0
mov eax, dword [ebp - 0x1a0]
jmp 0x455abf
push dword [ebp - 0x1a0]
call fcn.0049d3c3
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.004512d0
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.004511d0
push 0x4f5f94
push 0x4f3c10
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.00451e50
lea eax, [ebp - 0x94]
mov ecx, 0x51f1f4
push eax
call fcn.0045b570
mov esi, eax
mov eax, dword [0x51f1f4]
cmp esi, eax
je 0x455a57
lea ecx, [esi + 0x10]
call fcn.00451400
push eax
lea ecx, [ebp - 0x94]
call fcn.004514a0
test al, al
mov dword [ebp - 0x1a0], esi
mov eax, dword [0x51f1f4]
je 0x455a5d
mov dword [ebp - 0x1a0], eax
lea esi, [ebp - 0x1a0]
mov esi, dword [esi]
cmp esi, eax
je 0x455a9d
mov ebx, dword [esi + 0xa4]
push ebx
call fcn.0044fbe9
add esi, 0x94
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x455a88
mov esi, dword [esi]
push ebx
push esi
push edi
call fcn.004a4dc0
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x455aab
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [eax], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004512d0
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.0049b793
mov esp, ebp
pop ebp
ret
Function at 0x455d10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4fa550
push dword [ebp + 8]
call fcn.00455ae0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x455d6a
push edi
push esi
call fcn.00455ae0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x455d69
push esi
call fcn.00455ae0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x455d69
push 0x45c170
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00438ad0
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop ebp
jmp 0x455d80
push str.multi_language.tsv
call fcn.00455db0
push str.multi_language_online.tsv
call fcn.00455db0
push str.multi_language_patch.tsv
call fcn.00455db0
add esp, 0xc
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d74b6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5178cc]
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.004555a0
add esp, 4
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.00451410
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004512d0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00451400
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x455eaa
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x455ee5
cmp esi, 0x400000
ja 0x455ee5
push esi
mov dword [ebp - 0x11c], 0
call fcn.0044fbe9
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 0x455e9f
push esi
push edi
call fcn.00456180
add esp, 8
push edi
call fcn.0049d3c3
add esp, 4
jmp 0x455ee5
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push esi
call fcn.00455880
mov esi, eax
add esp, 8
test esi, esi
je 0x455ee5
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x455ee5
push eax
push esi
call fcn.00456180
push esi
call fcn.0049d3c3
add esp, 0xc
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004512d0
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.0049b793
mov esp, ebp
pop ebp
ret

Function at 0x456440
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 0x456465
or esi, 2
push 1
call edi
test ax, ax
jns 0x456471
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x45647d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x456489
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x458e10
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.0046fbe0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x458e6b
nop
push esi
lea ecx, [ebx + 0x354]
mov byte [ebp + 0xb], 0
call fcn.004513e0
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 0x458fce
lea ecx, [ebx + 0x354]
inc esi
call fcn.0046fbe0
cmp esi, eax
jl 0x458e30
sub edi, 0x100
je 0x458f57
sub edi, 4
je 0x458ee7
sub edi, 2
jne 0x458f4c
cmp dword [ebx + 0xe0], edi
je 0x458f4c
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0049c714
mov ecx, dword [ebx + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push shutdown
push edx
push 0x45b890
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je 0x458f4c
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 0x458f4c
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.00456440
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 0x458f4c
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x458fb5
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x458fb5
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x458fb5
mov ecx, dword [ebx + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004a3340
add esp, 8
test eax, eax
je 0x458fb5
mov ecx, dword [ebx + 0xe4]
call fcn.00477c30
test al, al
jne 0x458f4c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0045a710
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45a1c0
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 0x45a1fb
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x45a1fb
cmp esi, dword [edi + 0xe4]
je 0x45a1fb
cmp byte [edi + 0xdc], 0
jne 0x45a1fb
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x45a2f6
test eax, eax
je 0x45a26a
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.00459d30
mov dword [edi + 0xe4], 0
test esi, esi
je 0x45a2f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x45a2f6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x45a2f6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x45a2f6
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.00459d30
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45b0b0
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 0x45b15f
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
mov ecx, 0x51f034
mov dword [ebp - 4], ebx
call fcn.0046fbe0
dec eax
mov dword [ebp + 8], eax
js 0x45b1a1
push eax
mov ecx, 0x51f034
call fcn.004513e0
cmp dword [ebp - 4], 0
mov edi, eax
je 0x45b148
mov ecx, edi
call fcn.00455860
cmp dword [esi], eax
je 0x45b11b
mov ecx, edi
call fcn.00455860
cmp ebx, eax
jne 0x45b13b
push esi
mov ecx, edi
call fcn.0045b050
test al, al
jne 0x45b156
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.00458e10
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
jne 0x45b105
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
js 0x45b1a1
mov ebx, dword [ebp - 4]
jmp 0x45b0f2
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x51f034
xor edi, edi
call fcn.0046fbe0
test eax, eax
jle 0x45b1a1
nop
mov ecx, 0x51f034
call fcn.0046fbe0
push edi
mov ecx, 0x51f034
call fcn.004513e0
mov ebx, eax
mov ecx, ebx
call fcn.00455860
cmp dword [esi], eax
je 0x45b1aa
mov ecx, 0x51f034
inc edi
call fcn.0046fbe0
cmp edi, eax
jl 0x45b170
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, ebx
call fcn.0045b050
test al, al
jne 0x45b156
cmp dword [esi + 8], 0xe5
jne 0x45b1c9
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.00458e10
pop edi
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5178cc]
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.00466690
mov ecx, esi
call fcn.00466c90
mov ecx, dword [edi + 0x10]
mov esi, eax
or esi, 0x40000080
call fcn.004825d0
test al, 1
je 0x467092
or esi, 1
jmp 0x467099
test al, 2
je 0x467099
or esi, 2
mov ebx, dword [edi + 0x10]
mov ecx, ebx
call fcn.00467270
test al, al
je 0x4670aa
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.00455860
push eax
mov ecx, edi
call fcn.00452430
mov ecx, dword [edi + 0x10]
call fcn.0045f4e0
cmp eax, 0xffffffff
je 0x4670f9
mov ecx, dword [edi + 0x10]
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00455140
test eax, eax
jne 0x46710a
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00455060
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.00466c20
push eax
push 0xc5
push dword [edi + 4]
call esi
mov ebx, dword [edi + 0x10]
mov ecx, ebx
call fcn.00467270
test al, al
je 0x467154
push 0
mov ecx, ebx
call fcn.00466c60
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.00451400
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004512d0
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.00452880
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.00467280
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.00467260
push dword [edi + 4]
test al, al
je 0x46721d
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x467225
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.0049b793
mov esp, ebp
pop ebp
ret 4