joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4194a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0
push 0xc8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4194e7
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x4194e7
or eax, 0xffffffff
jmp 0x4195e0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.00419fd0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419c20
mov edx, dword [eax]
mov dword [ebp - 8], edx
jmp 0x419520
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.0041a010
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419c50
push eax
lea ecx, [ebp - 8]
call fcn.0041a040
movzx edx, al
test edx, edx
je 0x4195b9
lea ecx, [ebp - 8]
call fcn.00419ff0
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00417d60
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x419572
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
push edx
push 0x490a14
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
push ecx
push 0x490a24
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4195ad
push 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x1c], eax
jmp 0x4195b4
mov dword [ebp - 0x1c], 0
jmp 0x419512
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419cb0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x426050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
mov eax, dword [ebp + 0x18]
push eax
push 0x49c130
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, 1
mov word [edx], ax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x426620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bbac
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4c000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
push 0x4945f8
mov ecx, dword [ebp + 8]
call dword [0x49cda8]
movzx eax, al
test eax, eax
je 0x426711
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 4], 0
push str.btn_link
mov ecx, dword [ebp - 0xa4]
call dword [0x49cda8]
mov byte [ebp - 0x95], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call dword [0x49cdb0]
movzx edx, byte [ebp - 0x95]
test edx, edx
je 0x426711
push 1
push 0
push 0
mov ecx, dword [ebp - 0x9c]
add ecx, 0x26c
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x494618
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, dword [ebp - 0x9c]
sub ecx, 0x30
call dword [0x49cda4]
jmp 0x426721
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x9c]
call dword [0x49cda0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe23
mov esp, ebp
pop ebp
ret 4
Function at 0x429600
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cc65
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4c000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0x494bd8
push 0x43
push 0x494bec
push 2
push 0
push 0x4c2d20
call fcn.0040db60
add esp, 0x18
mov ecx, dword [ebp - 0x10]
call fcn.0042bc80
movzx eax, al
test eax, eax
jne 0x429671
push 0x494c04
push 0x48
push 0x494c18
push 0
push 0
push 0x4c2d20
call fcn.0040db60
add esp, 0x18
call fcn.00413be0
test eax, eax
je 0x4296f5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 0
call fcn.004055e0
push eax
push str._s_binSyncDat.exe
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
push 0x494c58
push 0x50
push 0x494c80
push 2
push 0
push 0x4c2d20
call fcn.0040db60
add esp, 0x1c
push 0
push 0
push 0x494c98
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x494c9c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x429712
push 0x494ca8
push 0x55
push 0x494ce0
push 2
push 0
push 0x4c2d20
call fcn.0040db60
add esp, 0x18
mov ecx, dword [ebp - 0x10]
call fcn.0042c280
push str.webpdtpage
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call dword [0x49cd9c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2b8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2b8], 0
je 0x4297ec
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2b8]
call dword [0x49cdd0]
push 8
call dword [sym.imp.mfc120u.dll_Ordinal_1506]
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x42977d
mov ecx, dword [ebp - 0x18]
call fcn.004260d0
mov dword [ebp - 0x1c], eax
jmp 0x429784
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00425f30
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2b8]
call dword [0x49cdcc]
push 0x494d10
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x2b8]
call dword [0x49cdc8]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2390
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x2b8]
call dword [0x49cdc8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2b8]
push ecx
mov ecx, dword [ebp - 0x10]
call dword [0x49ce48]
push eax
mov edx, dword [ebp - 0x10]
add edx, 0x3c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2580
call fcn.00423680
push 0x494d28
push 0x6e
push 0x494d3c
push 2
push 0
push 0x4c2d20
call fcn.0040db60
add esp, 0x18
push 1
push 0
mov ecx, dword [ebp - 0x10]
call dword [0x49cdd4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x434520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x498f78
push 0xd57
push 0x498f94
push 2
push 0
push 0x4c2d20
call fcn.0040db60
add esp, 0x18
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
add ecx, 0x580
call dword [0x49ce48]
test eax, eax
je 0x43457a
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x580
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0x2ec
call dword [0x49ce48]
test eax, eax
je 0x43459e
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x2ec
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0xab4
call dword [0x49ce48]
test eax, eax
je 0x4345c2
push 1
mov ecx, dword [ebp - 4]
add ecx, 0xab4
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0xd3c
call dword [0x49ce48]
test eax, eax
je 0x4345e6
push 1
mov ecx, dword [ebp - 4]
add ecx, 0xd3c
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0x82c
call dword [0x49ce48]
test eax, eax
je 0x43460a
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x82c
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0x1260
call dword [0x49ce48]
test eax, eax
je 0x43462e
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x1260
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0x178c
call dword [0x49ce48]
test eax, eax
je 0x434652
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x178c
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0x1a34
call dword [0x49ce48]
test eax, eax
je 0x434676
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x1a34
call dword [0x49cda4]
mov ecx, dword [ebp - 4]
add ecx, 0x1cbc
call dword [0x49ce48]
test eax, eax
je 0x43469a
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x1cbc
call dword [0x49cda4]
mov esp, ebp
pop ebp
ret 8
Function at 0x436640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dd64
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4c000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xac]
call dword [0x49cdec]
push eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call dword [0x49cdb0]
push 0x499cac
push str.rank_check
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc120u.dll_Ordinal_12634]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc120u.dll_Ordinal_14271]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc120u.dll_Ordinal_14277]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x23a8]
mov ecx, dword [ebp - 0xa8]
lea edx, [ecx + eax*8]
push edx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x24e4
call fcn.004389f0
add eax, 0x68
push eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc120u.dll_Ordinal_290]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx eax, al
test eax, eax
je 0x4367b0
push 0x499cc8
push 0xfd6
push 0x499cd8
push 2
push 0
push 0x4c2d20
call fcn.0040db60
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x436804
push 0x499cf0
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc120u.dll_Ordinal_1687]
push 1
push 0
push 0
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x499cf4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe23
mov esp, ebp
pop ebp
ret 4
Function at 0x443c5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c000c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR120.dll_memset
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.MasterZ.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.0043fe23
mov esp, ebp
pop ebp
ret

Function at 0x4444e1
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 0x444504
or esi, 1
push 1
call edi
test ax, ax
jns 0x444510
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x44451c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x444528
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x445a1d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xd0]
call sym.MasterZ.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, dword [ebp + 8]
test eax, eax
jle 0x445a73
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call sym.MasterZ.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
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 0x445acf
lea ecx, [esi + 0xd0]
inc ebx
call sym.MasterZ.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x445a3c
sub edi, 0x100
je 0x445b29
sub edi, 4
je 0x445ad3
dec edi
dec edi
jne 0x445b1e
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCR120.dll_toupper]
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push inet_ntoa
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push sym.MasterZ.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x445b1e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x445b20
cmp dword [esi + 0x54], 0
je 0x445b1e
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.004444e1
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x445b1e
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x445b77
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x445b77
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x445b77
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call dword [sym.imp.MSVCR120.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x445b77
mov ecx, dword [esi + 0x54]
call sym.MasterZ.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x445b1e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call sym.MasterZ.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x445acf
Function at 0x4465f9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x446621
cmp esi, dword [ebx + 0x54]
je 0x4466e3
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x4466e3
cmp dword [ebx + 0x54], 0
push edi
je 0x446674
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
call sym.MasterZ.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [ebx + 0x54], edi
test esi, esi
je 0x4466e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4466e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x4466e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x4466e2
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x54], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
call sym.MasterZ.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4602ce
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4d4], edi
je 0x460338
cmp dword [ebp + 8], 0x100
jne 0x460327
cmp word [ebp + 0xc], 0xd
jne 0x460327
cmp byte [esi + 0x4da], 0
je 0x46030e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x460327
cmp byte [esi + 0x4db], 0
jne 0x460327
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x460323
push edi
push edi
push edi
push str.return
push esi
call sym.MasterZ.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x46033b
mov eax, dword [esi + 0x4d4]
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 0x46063e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4606f7
movzx eax, word [esi]
test ax, ax
je 0x4606f7
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x46067e
cmp ax, 0x5c
jne 0x460680
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x460672
cmp edi, esi
je 0x4606c8
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call dword [sym.imp.MSVCR120.dll_wcsncpy]
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x460707
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0046063e
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy]
lea eax, [ebp - 0x414]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fe23
mov esp, ebp
pop ebp
ret
call fcn.00440588
int3

Function at 0x460cdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x460d59
cmp dword [edi + 4], 0xffffffff
jne 0x460d59
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x487db0
push esi
call dword [sym.imp.MSVCR120.dll_wcscat]
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x460d2b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x460d2b
mov eax, 0x2000000
jmp 0x460d5e
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004631f0
add esp, 0x10
test eax, eax
jne 0x460d49
mov eax, dword [ebp - 4]
jmp 0x460d5e
push eax
call fcn.004638f7
mov dword [edi], eax
mov eax, dword [0x4c178c]
pop ecx
jmp 0x460d5e
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4632fd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x463331
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46332c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x463358
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x463341
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4634da
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x463595
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
dec edi
jne 0x4634f8
pop edi
test esi, esi
je 0x4635ae
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4865c8]
inc edx
dec esi
jne 0x463599
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x464ef5
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 0x464f27
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 0x46b5aa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x28], 0
je 0x46b617
cmp dword [esi + 0x20], 0
je 0x46b617
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004795c0
mov ebx, esp
test ebx, ebx
je 0x46b617
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
push ebx
add ecx, 0x1b8
call fcn.0044fd58
mov ecx, dword [esi + 0x20]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push 0x488a58
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.MasterZ.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe23
mov esp, ebp
pop ebp
ret 0x10