joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4404ae
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
mov edi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x68], eax
test eax, eax
je 0x440610
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
push str.WinHttpConnect
push dword [edi + 0x68]
mov dword [edi + 4], eax
call esi
push str.WinHttpOpenRequest
push dword [edi + 0x68]
mov dword [edi + 8], eax
call esi
push str.WinHttpAddRequestHeaders
push dword [edi + 0x68]
mov dword [edi + 0xc], eax
call esi
push str.WinHttpSendRequest
push dword [edi + 0x68]
mov dword [edi + 0x10], eax
call esi
push str.WinHttpReceiveResponse
push dword [edi + 0x68]
mov dword [edi + 0x14], eax
call esi
push str.WinHttpQueryHeaders
push dword [edi + 0x68]
mov dword [edi + 0x18], eax
call esi
push str.WinHttpReadData
push dword [edi + 0x68]
mov dword [edi + 0x1c], eax
call esi
push str.WinHttpCloseHandle
push dword [edi + 0x68]
mov dword [edi + 0x20], eax
call esi
push str.WinHttpCrackUrl
push dword [edi + 0x68]
mov dword [edi + 0x24], eax
call esi
push str.WinHttpSetOption
push dword [edi + 0x68]
mov dword [edi + 0x28], eax
call esi
push str.WinHttpSetTimeouts
push dword [edi + 0x68]
mov dword [edi + 0x2c], eax
call esi
push str.WinHttpQueryOption
push dword [edi + 0x68]
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
cmp dword [edi + 4], ebx
je 0x44060c
cmp dword [edi + 0x10], ebx
je 0x44060c
cmp dword [edi + 0x24], ebx
je 0x44060c
cmp dword [edi + 8], ebx
je 0x44060c
cmp dword [edi + 0xc], ebx
je 0x44060c
cmp dword [edi + 0x1c], ebx
je 0x44060c
cmp dword [edi + 0x20], ebx
je 0x44060c
cmp dword [edi + 0x18], ebx
je 0x44060c
cmp dword [edi + 0x14], ebx
je 0x44060c
cmp dword [edi + 0x28], ebx
je 0x44060c
cmp dword [edi + 0x2c], ebx
je 0x44060c
cmp dword [edi + 0x30], ebx
je 0x44060c
test eax, eax
je 0x44060c
inc ebx
mov dword [edi], ebx
jmp 0x440612
mov ebx, dword [edi]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a439a
leave
ret
Function at 0x440623
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
mov edi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.wininet.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x6c], eax
test eax, eax
je 0x440762
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenW
push eax
call esi
push str.InternetConnectW
push dword [edi + 0x6c]
mov dword [edi + 0x3c], eax
call esi
push str.HttpOpenRequestW
push dword [edi + 0x6c]
mov dword [edi + 0x40], eax
call esi
push str.HttpAddRequestHeadersW
push dword [edi + 0x6c]
mov dword [edi + 0x44], eax
call esi
push str.HttpSendRequestW
push dword [edi + 0x6c]
mov dword [edi + 0x48], eax
call esi
push str.HttpQueryInfoW
push dword [edi + 0x6c]
mov dword [edi + 0x4c], eax
call esi
push str.InternetReadFile
push dword [edi + 0x6c]
mov dword [edi + 0x50], eax
call esi
push str.InternetCloseHandle
push dword [edi + 0x6c]
mov dword [edi + 0x54], eax
call esi
push 0x4c4760
push dword [edi + 0x6c]
mov dword [edi + 0x58], eax
call esi
push str.InternetSetOptionW
push dword [edi + 0x6c]
mov dword [edi + 0x5c], eax
call esi
push str.InternetQueryOptionW
push dword [edi + 0x6c]
mov dword [edi + 0x60], eax
call esi
mov dword [edi + 0x64], eax
cmp dword [edi + 0x3c], ebx
je 0x44075d
cmp dword [edi + 0x40], ebx
je 0x44075d
cmp dword [edi + 0x44], ebx
je 0x44075d
cmp dword [edi + 0x48], ebx
je 0x44075d
cmp dword [edi + 0x4c], ebx
je 0x44075d
cmp dword [edi + 0x50], ebx
je 0x44075d
cmp dword [edi + 0x54], ebx
je 0x44075d
cmp dword [edi + 0x58], ebx
je 0x44075d
cmp dword [edi + 0x5c], ebx
je 0x44075d
cmp dword [edi + 0x60], ebx
je 0x44075d
test eax, eax
je 0x44075d
inc ebx
mov dword [edi + 0x38], ebx
jmp 0x440765
mov ebx, dword [edi + 0x38]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a439a
leave
ret
Function at 0x44d1d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
test edi, edi
jne 0x44d1fe
push 0x57
pop esi
jmp 0x44d27a
cmp dword [ecx + 0x18], ebx
lea eax, [ebp - 4]
push eax
mov edx, 0x20019
mov eax, 0x20119
cmove eax, edx
push eax
push ebx
push 0x4c3a58
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x44d26c
cmp dword [ebp - 4], ebx
jne 0x44d233
push 6
jmp 0x44d1fb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x4c4df4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x44d26c
cmp dword [ebp - 8], 4
jne 0x44d269
cmp dword [ebp - 0xc], 4
jne 0x44d269
mov eax, dword [ebp - 0x10]
mov esi, ebx
mov dword [edi], eax
jmp 0x44d26c
push 0xd
pop esi
cmp dword [ebp - 4], ebx
je 0x44d27a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x44d5c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp byte [0x4f0508], 0
jne 0x44d60a
lea eax, [ebp - 0x10]
mov byte [0x4f0508], 1
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x1c], edi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push ecx
mov ecx, esp
movzx eax, si
push ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ecx], eax
mov eax, esp
lea ecx, [ebp - 0x10]
mov dword [eax], 0x4c4e14
call fcn.0044d2b8
test al, al
je 0x44d695
push dword [ebp - 0xc]
push dword [0x4effc0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44d695
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 8]
push esi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x44d692
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x44d695
mov edi, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
je 0x44d6a4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456155
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x88], 0
je 0x4561dc
mov eax, dword [esi]
call dword [eax + 0x10]
test al, al
je 0x4561dc
cmp byte [esi + 0x64], 0
je 0x4561c0
mov eax, dword [esi + 0x24]
push 1
mov edx, dword [eax - 8]
mov ecx, dword [eax - 4]
mov eax, dword [esi + 0x20]
sub ecx, dword [eax + 4]
sub edx, dword [eax]
push ecx
push edx
push dword [eax + 4]
push dword [eax]
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
ret
push 0
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x45702d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push dword [ebp + 8]
mov edi, ecx
call fcn.004770e8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
je 0x457127
mov eax, dword [edi + 0xa4]
push ebx
lea ebx, [edi + 0xa8]
push esi
test eax, eax
je 0x457068
cmp dword [ebx], 0
jne 0x4570f7
lea esi, [edi + 0x44]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x457075
mov eax, dword [esi]
push eax
lea ecx, [ebp + 8]
call fcn.0040d6dc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45709b
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
jmp 0x457125
cmp dword [esi + 0x14], 8
jb 0x4570a3
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00452dad
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov eax, dword [ebp - 4]
and dword [ebp - 4], 0
mov dword [edi + 0xa4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov eax, dword [ebp - 4]
push dword [ebp - 0x10]
mov dword [ebx], eax
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov eax, dword [edi + 0xa4]
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
cdq
sub ecx, esi
sub eax, edx
sar ecx, 3
sar eax, 1
neg eax
add dword [esi + ecx*8 - 8], eax
mov eax, dword [ebx]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
sub ecx, esi
cdq
sub eax, edx
sar ecx, 3
sar eax, 1
neg eax
add dword [esi + ecx*8 - 4], eax
pop esi
pop ebx
pop edi
leave
ret 4

Function at 0x45a153
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
call fcn.0045a560
push dword [eax]
push 0
push str.switch
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040bb70
mov eax, esi
pop esi
leave
ret

Function at 0x45a2b1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x45a2ed
lea eax, [ebp - 4]
push eax
call fcn.0045a560
push dword [eax]
push 2
push str.mode
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x18], eax
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov eax, dword [esi + 0x18]
pop esi
leave
ret
Function at 0x45a66c
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4af4e9
call fcn.004a7676
lea edi, [ecx + 0x14]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jne 0x45a6d1
lea eax, [ebp - 0x10]
push eax
call fcn.0045a560
and dword [ebp - 4], 0
mov ebx, 0x104
mov esi, dword [eax]
mov ecx, edi
push ebx
call fcn.0040e373
push esi
push ebx
push eax
push str.kxetray
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
push 0xffffffffffffffff
mov ecx, edi
call fcn.00412b02
mov ecx, dword [edi]
add ecx, 0xfffffff0
call fcn.0040e31a
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
call fcn.004a7644
ret 4
Function at 0x463c49
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x58], esi
add esp, 0xc
mov dword [ebp - 0x2c], 1
cmp dword [ebp + 0x1c], 8
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
push 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push ecx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x28], ax
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne bl
cmp dword [ebp - 0xc], 0
je 0x463cba
push dword [ebp - 0xc]
call esi
and dword [ebp - 0xc], 0
cmp dword [ebp - 0x10], 0
je 0x463cc9
push dword [ebp - 0x10]
call esi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.0040dc21
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x4646d2
Capabilities:
Check if file exists

Disassembly:
push 0x10
push 0x68
mov eax, 0x4b04d5
call fcn.004a7770
mov edi, ecx
mov eax, dword [ebx + 0x18]
lea ecx, [ebp - 0x6c]
push 0x26
pop esi
push dword [edi + 4]
mov dword [ebp - 0x70], eax
call fcn.0040d6dc
and dword [ebp - 4], 0
mov edx, 0xdb1bc560
mov dword [ebp - 0x68], 0x9311b03a
mov dword [ebp - 0x64], 0x33b8ece
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x68], 0x935707b0
mov dword [ebp - 0x64], 0xe420d216
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x68], 0x592f18be
mov dword [ebp - 0x64], 0xa0205830
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x68], 0xa164aed8
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x68], 0x937fb051
mov dword [ebp - 0x64], 0x34c8eab
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x933e07c6
mov dword [ebp - 0x64], 0xe40ed266
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x595718db
mov dword [ebp - 0x64], 0xa0205855
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x68], 0xa164aed8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
movaps xmm1, xmmword [ebp - 0x60]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x6c]
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x50], xmm1
call fcn.0046ff3e
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464839
mov ecx, edi
call fcn.00464040
test eax, eax
je 0x46480e
call fcn.00464063
test eax, eax
je 0x464811
push 6
pop esi
push dword [ebx + 0x14]
mov eax, dword [ebx + 8]
mov edx, esi
push ecx
push dword [ebx + 0x1c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
sub esp, 0xc
push dword [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x6c]
push eax
sub esp, 0xc
call fcn.004637f2
add esp, 0x30
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov ecx, dword [ebp - 0x14]
call fcn.004a774e
ret 0x18
Function at 0x46484f
Capabilities:
Check if file exists

Disassembly:
push 0x10
push 0x68
mov eax, 0x4b0509
call fcn.004a7770
mov esi, ecx
push 0x26
pop edi
push dword [esi + 4]
lea ecx, [ebp - 0x6c]
call fcn.0040d6dc
and dword [ebp - 4], 0
mov edx, 0xdb1bc560
mov dword [ebp - 0x68], 0x9309b03a
mov dword [ebp - 0x64], 0x33c8ec2
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x68], 0x934b07a1
mov dword [ebp - 0x64], 0xe420d20f
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x68], 0x592f18be
mov dword [ebp - 0x64], 0xa0205830
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x68], 0xa164aed8
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x68], 0x937fb051
mov dword [ebp - 0x64], 0x34c8eab
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x933e07c6
mov dword [ebp - 0x64], 0xe40ed266
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x595718db
mov dword [ebp - 0x64], 0xa0205855
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x68], 0xa164aed8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
movaps xmm1, xmmword [ebp - 0x60]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x6c]
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x50], xmm1
call fcn.0046ff3e
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46499d
mov ecx, esi
call fcn.00464040
test eax, eax
je 0x464985
call fcn.00464063
test eax, eax
je 0x464988
xor edi, edi
inc edi
mov edx, dword [ebx + 8]
push ecx
push dword [esi]
push ecx
push ecx
push dword [ebp - 0x6c]
mov ecx, edi
call fcn.00463cd8
add esp, 0x14
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov ecx, dword [ebp - 0x14]
call fcn.004a774e
ret 0x10
Function at 0x4693d9
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push esi
push edi
mov esi, ecx
push ecx
push 8
lea ecx, [esi + 0x154]
call fcn.00485444
mov ecx, esi
call fcn.00469742
xor edi, edi
cmp dword [esi + 0x248], edi
jne 0x4694b1
cmp dword [esi + 0x198], 1
je 0x4694d5
mov ecx, dword [esi + 0xd0]
mov dword [esi + 0xbc], edi
mov dword [esi + 0x224], edi
test ecx, ecx
je 0x469430
call fcn.0049d093
mov ecx, dword [0x4f027c]
test ecx, ecx
je 0x469445
call fcn.004a20fb
mov dword [0x4f027c], edi
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x469463
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x469463
mov ecx, dword [esi + 0xd0]
call fcn.0049992d
push 0x10
lea eax, [esi + 0x1c]
push edi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [esp + 8], xmm0
mov ecx, esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push edi
call fcn.004671c3
cmp dword [0x4f0164], edi
jne 0x4694d5
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push eax
push 0x46eb11
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4f0164], eax
jmp 0x4694d5
lea ecx, [esi + 0x244]
call fcn.00481d85
xorps xmm0, xmm0
mov ecx, esi
movlpd qword [esp + 8], xmm0
push dword [esp + 0xc]
push dword [esp + 0xc]
push edi
call fcn.004671c3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46c09a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x46c0d9
push 1
call fcn.0049b506
mov ecx, dword [esi + 0xd0]
call fcn.0049992d
mov eax, dword [esi + 0xd0]
mov byte [eax + 4], 0
mov ecx, dword [esi + 0xd0]
call fcn.0049d093
mov ecx, dword [esi + 0xcc]
pop esi
test ecx, ecx
je 0x46c0f2
mov eax, dword [ecx]
call dword [eax + 8]
push 0
mov ecx, eax
call fcn.004a2093
ret

Function at 0x46c0f3
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4b103d
call fcn.004a7676
cmp dword [ebp + 0xc], 0
jne 0x46c117
mov ecx, dword [ebp + 8]
push 0x4c2554
call fcn.0040d6dc
mov eax, dword [ebp + 8]
jmp 0x46c183
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
xor ecx, ecx
push 2
pop edx
lea esi, [ebx + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a43ad
pop ecx
push esi
mov edi, eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
lea ecx, [ebp - 0x10]
push edi
mov word [edi + ebx*2], ax
call fcn.0040d6dc
and dword [ebp - 4], 0
push edi
call fcn.004a43a8
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040e31a
mov esi, dword [ebp + 8]
add eax, 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.0040bb70
mov eax, esi
call fcn.004a7644
ret 8
Function at 0x46e018
Capabilities:
Check if file exists
Open clipboard
Write clipboard data

Disassembly:
push 0x30
mov eax, 0x4b1288
call fcn.004a76a9
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
test esi, esi
je 0x46e196
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
test eax, eax
je 0x46e196
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e196
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d6dc
push str.Preferred_DropEffect
mov dword [ebp - 4], ebx
mov edi, ebx
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push 4
mov dword [ebp - 0x38], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x2042
mov dword [ebp - 0x30], eax
call eax
xor esi, esi
mov ebx, eax
inc esi
mov dword [ebp - 0x3c], esi
test ebx, ebx
je 0x46e188
mov eax, dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp - 0x2c], eax
call eax
push ebx
test eax, eax
jne 0x46e0ae
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x46e178
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x28]
movaps xmm0, xmmword [0x4c9190]
mov dword [ebp - 0x24], 0x14
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [eax - 0xc]
add eax, 0x14
shl eax, 9
push eax
push 0x2042
call dword [ebp - 0x30]
mov edi, eax
test edi, edi
je 0x46e178
push edi
call dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x46e0f5
push edi
jmp 0x46e0a3
push 0x14
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov eax, dword [ebp - 0x2c]
add esp, 0xc
add eax, 0x14
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 0xc]
add ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [eax - 4], esi
jle 0x46e12f
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.0040e9ad
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
call fcn.00412b02
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46e178
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push edi
push 0xf
call esi
push ebx
push dword [ebp - 0x38]
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call esi
test edi, edi
je 0x46e188
push edi
call esi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040bb70
mov ebx, dword [ebp - 0x3c]
mov eax, ebx
call fcn.004a7658
ret 0xc