joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x435686
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x4356af
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x4356af
inc eax
cmp eax, edx
jb 0x4356a0
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x435792
cmp ecx, 2
jbe 0x435752
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x435784
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
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x43572c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x435727
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
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 byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x435692
shr esi, cl
test esi, esi
je 0x4356cc
cmp esi, 4
ja 0x435779
cmp esi, 3
je 0x435779
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x4356cc
or esi, 8
shr esi, 1
inc edi
jmp 0x435692
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x435692
cmp ecx, 2
jbe 0x4357a7
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441710
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc7e6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50c4d8]
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.0049ac40
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 ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.0042cce0
push str.XuanZhi9_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x517394
call fcn.0043bb40
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x4417e0
push dword [ebp - 0x234]
call fcn.00473980
add esp, 4
mov eax, 0x517394
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc84b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x50c4d8]
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], 0x5173b0
call fcn.0049ac40
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 [0x5173c4], 7
mov dword [0x5173c0], 0
mov word [0x5173b0], ax
mov dword [ebp - 4], eax
mov ecx, 0x5173b0
lea eax, [ebp - 0x21c]
push eax
call fcn.0042cce0
mov eax, 0x5173b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 4
Function at 0x441ea0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc84b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x50c4d8]
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], 0x517404
call fcn.0049ac40
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x517418], 7
mov dword [0x517414], 0
mov word [0x517404], ax
mov dword [ebp - 4], eax
mov ecx, 0x517404
lea eax, [ebp - 0x21c]
push eax
call fcn.0042cce0
mov eax, 0x517404
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cca67
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x250], 0
call fcn.0049ac40
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 ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.0042cce0
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0043bb40
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00441f70
cmp dword [ebp - 0x238], 8
jb 0x442500
push dword [ebp - 0x24c]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x442534
push dword [ebp - 0x234]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x234]
call fcn.0042cce0
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.0043bb40
add esp, 4
mov ecx, esi
call fcn.00442010
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x4425aa
push dword [ebp - 0x234]
call fcn.00473980
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 4
Function at 0x447a20
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 0x447a65
cmp byte [ebp + 8], 0
je 0x447a59
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 0x44a9b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd798
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x50c4d8]
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.0044ac20
mov esi, eax
cmp word [edi], bx
je 0x44aa09
cmp word [edi + 2], 0x3a
jne 0x44aa09
mov eax, edi
jmp 0x44aa40
mov ecx, esi
call fcn.00446cf0
test al, al
jne 0x44ab1e
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.00446490
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.0040c9c0
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.00446260
mov dword [ebp - 4], 2
test bl, 1
je 0x44aa65
lea ecx, [ebp - 0x19c]
call fcn.00446360
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0040c9c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44ab0c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44ab0c
push esi
mov dword [ebp - 0x1a8], 0
call fcn.004448e9
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 0x44aafe
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
call fcn.00446360
mov eax, dword [ebp - 0x1a0]
jmp 0x44abef
push dword [ebp - 0x1a0]
call fcn.00492dd3
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.00446360
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.00446260
push 0x4eddf0
push 0x4eddec
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.00446f40
lea eax, [ebp - 0x94]
mov ecx, 0x513b94
push eax
call fcn.004506e0
mov esi, eax
mov eax, dword [0x513b94]
cmp esi, eax
je 0x44ab87
lea ecx, [esi + 0x10]
call fcn.0040c9c0
push eax
lea ecx, [ebp - 0x94]
call fcn.00446520
test al, al
mov dword [ebp - 0x1a0], esi
mov eax, dword [0x513b94]
je 0x44ab8d
mov dword [ebp - 0x1a0], eax
lea esi, [ebp - 0x1a0]
mov esi, dword [esi]
cmp esi, eax
je 0x44abcd
mov ebx, dword [esi + 0xa4]
push ebx
call fcn.004448e9
add esi, 0x94
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x44abb8
mov esi, dword [esi]
push ebx
push esi
push edi
call fcn.004995e0
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x44abdb
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [eax], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00446360
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.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x44ae30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4d3a1c
push dword [ebp + 8]
call fcn.0044ac10
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44ae8a
push edi
push esi
call fcn.0044ac10
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44ae89
push esi
call fcn.0044ac10
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x44ae89
push 0x451500
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0042c980
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp + 0xc]
call fcn.0044aea0
add esp, 4
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd7d6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x50c4d8]
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.0044a780
add esp, 4
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.00446490
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00446360
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0040c9c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44afaa
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44afe5
cmp esi, 0x400000
ja 0x44afe5
push esi
mov dword [ebp - 0x11c], 0
call fcn.004448e9
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 0x44af9f
push esi
push edi
call fcn.0044b280
add esp, 8
push edi
call fcn.00492dd3
add esp, 4
jmp 0x44afe5
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push esi
call fcn.0044a9b0
mov esi, eax
add esp, 8
test esi, esi
je 0x44afe5
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x44afe5
push eax
push esi
call fcn.0044b280
push esi
call fcn.00492dd3
add esp, 0xc
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00446360
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.004921c3
mov esp, ebp
pop ebp
ret

Function at 0x44b540
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 0x44b565
or esi, 2
push 1
call edi
test ax, ax
jns 0x44b571
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x44b57d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44b589
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44df30
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.00447690
mov edi, dword [ebp + 8]
test eax, eax
jle 0x44df8b
nop
push esi
lea ecx, [ebx + 0x354]
mov byte [ebp + 0xb], 0
call fcn.00446470
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 0x44e0ee
lea ecx, [ebx + 0x354]
inc esi
call fcn.00447690
cmp esi, eax
jl 0x44df50
sub edi, 0x100
je 0x44e077
sub edi, 4
je 0x44e007
sub edi, 2
jne 0x44e06c
cmp dword [ebx + 0xe0], edi
je 0x44e06c
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0049edc7
mov ecx, dword [ebx + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x80000012
push edx
push 0x4509b0
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je 0x44e06c
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 0x44e06c
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.0044b540
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 0x44e06c
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x44e0d5
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x44e0d5
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x44e0d5
mov ecx, dword [ebx + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.00498e8f
add esp, 8
test eax, eax
je 0x44e0d5
mov ecx, dword [ebx + 0xe4]
call fcn.004645e0
test al, al
jne 0x44e06c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0044f880
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44f2e0
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 0x44f31b
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x44f31b
cmp esi, dword [edi + 0xe4]
je 0x44f31b
cmp byte [edi + 0xdc], 0
jne 0x44f31b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x44f416
test eax, eax
je 0x44f38a
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.0044ee50
mov dword [edi + 0xe4], 0
test esi, esi
je 0x44f416
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x44f416
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x44f416
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x44f416
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.0044ee50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x450220
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 0x4502cf
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
mov ecx, 0x5139d4
mov dword [ebp - 4], ebx
call fcn.00447690
dec eax
mov dword [ebp + 8], eax
js 0x450311
push eax
mov ecx, 0x5139d4
call fcn.00446470
cmp dword [ebp - 4], 0
mov edi, eax
je 0x4502b8
mov ecx, edi
call fcn.0044a990
cmp dword [esi], eax
je 0x45028b
mov ecx, edi
call fcn.0044a990
cmp ebx, eax
jne 0x4502ab
push esi
mov ecx, edi
call fcn.004501c0
test al, al
jne 0x4502c6
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.0044df30
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
jne 0x450275
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
js 0x450311
mov ebx, dword [ebp - 4]
jmp 0x450262
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x5139d4
xor edi, edi
call fcn.00447690
test eax, eax
jle 0x450311
nop
mov ecx, 0x5139d4
call fcn.00447690
push edi
mov ecx, 0x5139d4
call fcn.00446470
mov ebx, eax
mov ecx, ebx
call fcn.0044a990
cmp dword [esi], eax
je 0x45031a
mov ecx, 0x5139d4
inc edi
call fcn.00447690
cmp edi, eax
jl 0x4502e0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, ebx
call fcn.004501c0
test al, al
jne 0x4502c6
cmp dword [esi + 8], 0xe5
jne 0x450339
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.0044df30
pop edi
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462de0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00462c30
push str.colors.ini
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00411150
add esp, 0x10
cmp dword [ebp - 0x2c], 8
mov byte [ebp - 4], 2
jb 0x462e3f
push dword [ebp - 0x40]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463005
push dword [ebp - 0x44]
lea eax, [ebp - 0x49]
push eax
push dword [0x513e34]
push dword [0x513e30]
call fcn.00409140
mov eax, dword [0x513e30]
add esp, 0x10
mov dword [0x513e34], eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.FF06061F
call fcn.00407230
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push str.mainToolbar
call fcn.00407230
mov byte [ebp - 4], 2
call fcn.00463210
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF20203A
call fcn.00407230
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push str.mainContent
call fcn.00407230
mov byte [ebp - 4], 2
call fcn.00463210
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF1F1F39
call fcn.00407230
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push str.mainToolbarPopup
call fcn.00407230
mov byte [ebp - 4], 2
call fcn.00463210
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF06061F
call fcn.00407230
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push str.toolbar
call fcn.00407230
mov byte [ebp - 4], 2
call fcn.00463210
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF20203A
call fcn.00407230
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push str.content
call fcn.00407230
mov byte [ebp - 4], 2
call fcn.00463210
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF20203A
call fcn.00407230
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
push str.setupLeftBar
call fcn.00407230
mov byte [ebp - 4], 2
call fcn.00463210
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF36364D
call fcn.00407230
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push str.setupBottomBar
call fcn.00407230
mov byte [ebp - 4], 2
call fcn.00463210
add esp, 0x34
cmp dword [ebp - 0x14], 8
jb 0x463016
push dword [ebp - 0x28]
call fcn.00473980
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret