joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c2e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e85ba
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5363c0]
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 eax, dword [0x538168]
test eax, eax
jne 0x40c35d
push 0x1a0
call fcn.004bb92e
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40c34f
push 0x1a0
push 0
push esi
call fcn.004bda50
add esp, 0xc
mov ecx, esi
call fcn.00406db0
jmp 0x40c351
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x538168], eax
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.00407890
add eax, 0x48
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x40c37d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401950
add esp, 8
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 3
call fcn.00407260
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c43b
mov esi, dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [esi + esi]
lea esi, [eax + 2]
mov dword [ebp - 0x30], eax
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebx, eax
push 0
push ebx
call fcn.004bda50
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
test ecx, ecx
je 0x40c422
test ebx, ebx
je 0x40c412
push ecx
test eax, eax
je 0x40c407
push eax
push ebx
call fcn.004bd4d0
add esp, 0xc
jmp 0x40c422
push 0
push ebx
call fcn.004bda50
add esp, 0xc
call fcn.004c7eaa
mov dword [eax], 0x16
call fcn.004c15bf
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [edi + 0x538]
test ecx, ecx
je 0x40c44f
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
push 0x7d0
push 0x1772
push dword [edi + 0x538]
lea ecx, [edi + 0x2c]
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetTimer_class_DuiLib::CControlUI___unsigned_int__unsigned_int_
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40c49d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c493
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4b9
push ecx
push edx
call fcn.004bb95e
add esp, 8
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.004bb96c
mov esp, ebp
pop ebp
ret
call fcn.004c15cf
int3

Function at 0x40d0d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
push 0x40d0f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4
Function at 0x411140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8ae3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5363c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea edx, [esi + 0x40]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], ecx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
mov byte [ebp - 4], 2
je 0x41123f
test cl, 0x10
jne 0x41123f
mov al, 1
jmp 0x411241
xor al, al
mov byte [esi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
mov ebx, dword [edx + 4]
mov ecx, ebx
mov edi, dword [edi + 0x18]
sar ecx, 3
cmp edi, ecx
jae 0x411265
lea ecx, [edi*8]
mov dword [edx + 4], ecx
jmp 0x41129f
jbe 0x41129f
mov eax, dword [edx + 8]
sar eax, 3
cmp edi, eax
jbe 0x41127f
lea eax, [ebp - 0xd]
mov ecx, edx
push eax
push edi
call fcn.00410660
jmp 0x41129f
sub edi, ecx
je 0x41129c
lea eax, [edi*8]
push eax
push 0
push ebx
call fcn.004bda50
add esp, 0xc
lea ebx, [ebx + edi*8]
lea edx, [esi + 0x40]
mov dword [edx + 4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x412760
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8be0
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5363c0]
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 ecx, [ebp - 0x231]
mov dword [ebp - 0x238], esi
call fcn.004049f0
mov eax, dword [edi + 0x7b4]
lea ebx, [edi + 0x7b4]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x4127c7
push ebx
push ecx
push eax
call fcn.004038a0
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
push esi
mov ecx, edi
call fcn.00412940
mov esi, dword [ebx]
cmp esi, dword [edi + 0x7b8]
je 0x412892
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4127ea
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00401950
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41283c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov ecx, edi
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00412d40
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x412883
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412879
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412934
push ecx
push edx
call fcn.004bb95e
add esp, 8
add esi, 0x18
cmp esi, dword [edi + 0x7b8]
jne 0x4127e0
push dword [ebp - 0x238]
mov ecx, edi
call fcn.00412940
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x4128b8
push ebx
push ecx
push eax
call fcn.004038a0
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bda50
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [ebp - 0x238]
mov ecx, edi
push ebx
call fcn.00412940
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x218]
push eax
call esi
push ebx
mov ecx, edi
call fcn.00412940
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.004bb96c
mov esp, ebp
pop ebp
ret 4
call fcn.004c15cf
int3
Function at 0x412d40
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x825]
push edi
mov dword [ebp - 0x82c], esi
call fcn.00404b30
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x412ef4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x412ef3
push 0x208
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004bda50
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004bda50
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x825]
call fcn.00404bd0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004bda50
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004bda50
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c60d2
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004bdf6d
add esp, 0x2c
test eax, eax
jne 0x412e33
lea eax, [ebp - 0x20c]
push 0x2f
push eax
call fcn.004bdf6d
add esp, 8
test eax, eax
je 0x412e4b
add eax, 2
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.004c60d2
add esp, 0xc
xor esi, esi
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004bda50
add esp, 0xc
lea eax, [ebp - 0x824]
test esi, esi
jne 0x412e8e
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4ef5fc
push eax
call fcn.00410f20
add esp, 0x10
jmp 0x412eab
push esi
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del_d
push eax
call fcn.00410f20
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x412ecd
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x412ecd
cmp esi, 0xa
jge 0x412ef3
inc esi
jmp 0x412e50
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x82c]
call fcn.004c830c
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bb96c
mov esp, ebp
pop ebp
ret 4
Function at 0x418770
Capabilities:
Check http status code
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x19]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
call fcn.004048b0
push 0
push 0
push 0
push 0
push str.VsyDownload_1.0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x4188e7
push edi
push 0
push 0x84000002
push 0
push 0
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x418802
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push edi
call esi
test eax, eax
jne 0x41881e
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bb96c
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 8], 0xc8
jne 0x418802
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000005
push edi
call esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
inc eax
push eax
call fcn.004bb9a2
mov ecx, dword [ebp - 0x18]
mov esi, eax
inc ecx
mov dword [ebp - 0x24], esi
push ecx
push 0
push esi
call fcn.004bda50
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
je 0x41886a
mov dword [eax], esi
mov ebx, dword [ebp - 0x24]
xor esi, esi
nop
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x18]
mov ecx, 0x400
sub eax, esi
cmp eax, 0x400
cmovae eax, ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [esi + ebx]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x14]
add esi, eax
test eax, eax
jne 0x418870
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ebx, dword [ebp - 0x28]
push ebx
call esi
cmp dword [ebp - 0x20], 0
jne 0x4188ca
push dword [ebp - 0x24]
call fcn.004bb99d
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bb96c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.004bb96c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41cf70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x41cfa1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41cf90
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x426fce
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004bda50
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004bb96c
leave
ret

Function at 0x427fb0
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
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x427fd3
or esi, 2
push 1
call edi
test ax, ax
jns 0x427fdf
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x427feb
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x427ff7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x42b851
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 0x42b88c
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x42b88c
cmp esi, dword [edi + 0xe8]
je 0x42b88c
cmp byte [edi + 0xe0], 0
jne 0x42b88c
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x42b974
test eax, eax
je 0x42b8f4
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe8]
call sym.CAD.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
and dword [edi + 0xe8], 0
test esi, esi
je 0x42b974
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x42b974
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x42b974
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x42b974
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x14], xmm0
movlpd 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 + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe8]
call sym.CAD.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
pop edi
pop esi
leave
ret 8
Function at 0x434373
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x434422
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x434426
cmp dword [ebp - 0x1c], 0x10
jne 0x4343f1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x4343f1
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call sym.CAD.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
pop ecx
test al, al
jne 0x434413
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x434426
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4343be
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x434444
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x434449
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 0x43447b
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 0x4386da
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call sym.CAD.exe_protected:_static_class_CWndShadow____cdecl_CWndShadow::FindShadowWindow_struct_HWND____
mov ebx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [ebp + 0xc]
dec eax
pop ecx
mov ecx, dword [ebp + 0x10]
sub eax, 1
je 0x438884
sub eax, 1
je 0x438835
dec eax
sub eax, 1
je 0x4387d2
sub eax, 0xa
je 0x4387b7
sub eax, 9
je 0x438775
sub eax, 0x6a
je 0x438754
sub eax, 0x1b0
jne 0x43888d
test byte [esi + 0xc], 2
je 0x43888d
push edi
mov ecx, esi
call sym.CAD.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
jmp 0x43888d
push edi
call sym.CAD.exe_protected:_static_int___cdecl_CWndShadow::GetShadowWindowIndex_struct_HWND____
pop ecx
test eax, eax
js 0x43888d
push 1
push eax
mov ecx, sym.CAD.exe_class_DuiLib::CDuiValArray_CWndShadow::s_ShadowArray
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CDuiValArray::Remove_int__int_
jmp 0x43888d
mov al, byte [esi + 0xc]
test al, 1
je 0x43888d
test ecx, ecx
jne 0x438797
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xf9
jmp 0x43888d
test al, 4
jne 0x43888d
push 8
push dword [esi + 4]
mov byte [esi + 0x18], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 6
jmp 0x43888d
cmp byte [esi + 0x18], 0
je 0x43888d
push edi
mov ecx, esi
call sym.CAD.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
mov byte [esi + 0x18], 0
jmp 0x43888d
mov al, byte [esi + 0xc]
test al, 1
je 0x43888d
cmp ecx, 2
je 0x438821
cmp ecx, 1
je 0x438821
test al, 4
je 0x438830
cmp bx, word [esi + 0x14]
ja 0x438806
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x16]
ja 0x438806
push edi
mov ecx, esi
call sym.CAD.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
jmp 0x43880a
mov byte [esi + 0x18], 1
test byte [esi + 0xc], 2
jne 0x438830
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 2
jmp 0x438830
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xfd
mov dword [esi + 0x14], ebx
jmp 0x43888d
test byte [esi + 0xc], 2
je 0x43888d
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edx, edx
push 0x15
push edx
push edx
cmp dword [esi + 0x20], edx
je 0x438860
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0x28]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0x24]
jmp 0x438877
movsx ecx, byte [esi + 0xf]
movsx eax, byte [esi + 0x11]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x10]
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x43888d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [esi + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bb96c
leave
ret 0x10
Function at 0x448c5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x448cc8
cmp dword [ebp + 8], 0x100
jne 0x448cb7
cmp word [ebp + 0xc], 0xd
jne 0x448cb7
cmp byte [esi + 0x69a], 0
je 0x448c9c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x448cb7
cmp byte [esi + 0x69b], 0
jne 0x448cb7
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x448cb3
push 1
push edi
push edi
push edi
push str.return
push esi
call sym.CAD.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
xor eax, eax
jmp 0x448ccb
mov eax, dword [esi + 0x694]
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 0x4490cf
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5363c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4491ba
movzx eax, word [ebx]
test ax, ax
je 0x4491ba
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x449111
cmp dx, 0x5c
jne 0x449113
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x449105
cmp esi, ebx
je 0x449160
sub esi, ebx
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push ebx
push eax
call fcn.004ce710
add esi, esi
add esp, 0xc
cmp esi, 0x208
jae 0x4491c8
xor eax, eax
mov word [ebp + esi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004490cf
pop ecx
pop ecx
lea ecx, [ebp - 0x414]
sub ecx, edi
movzx eax, word [edi]
mov word [ecx + edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x449168
mov esi, ebx
xor edx, edx
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0x44917b
lea edi, [ebp - 0x414]
sub ebx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, dx
jne 0x449191
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004bb96c
leave
ret
call fcn.004bc8a4
int3