joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4818eb
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 0x40000000
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x481910
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x48195d
push ebx
push esi
push 0x14
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, edi
jne 0x481937
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
push dword [ebp - 4]
jmp 0x481983
push 6
mov dword [ebp - 0x20], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x481960
cmp dword [ebp - 0x1c], 4
jne 0x481960
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
xor edi, edi
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x481989
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x48195b
push ebx
call esi
jmp 0x481932

Function at 0x48198e
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x4819b3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4819dc
push ebx
push edi
push 0x24
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x4819df
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x481a17
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x4819da
push 6
mov dword [ebp - 0x24], esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
rep stosd dword es:[edi], eax
jmp 0x481a3d
cmp dword [ebp - 0x20], 1
je 0x481a51
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
test eax, eax
jne 0x481a2f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 8]
jmp 0x4819cf
Function at 0x481dbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4df4b4]
and dword [ebp - 8], 0
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x4df4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 4
add ebx, 4
pop ecx
mov eax, ebx
call fcn.004052d2
lea edi, [ebp - 4]
call fcn.00402033
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, edi
call fcn.004051fc
push 0x4bf2f8
mov eax, edi
push eax
call fcn.0040ccc5
test eax, eax
mov esi, 0x4e096c
jne 0x481e9d
push dword [ebx]
lea edi, [ebp - 0x10]
call fcn.004875c6
pop ecx
lea edi, [ebp - 0xc]
call fcn.00423fef
mov edi, dword [ebp - 0xc]
cmp dword [edi - 0xc], 0
je 0x481e8a
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xc]
call fcn.0040cc74
mov edi, dword [ebp - 0xc]
push 0
push edi
call fcn.0048bef3
test eax, eax
pop ecx
pop ecx
jne 0x481e8a
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push edi
push eax
push dword [ebp - 0xc]
push str.KExecFile_DeleteFile_return:_d__error:_d__path:_ws
call fcn.0044ae36
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x481e8a
mov dword [ebp - 8], 1
lea eax, [edi - 0x10]
call fcn.0040151c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebx]
push 0
push eax
call fcn.0048bef3
test eax, eax
pop ecx
pop ecx
jne 0x481ed5
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebx]
push eax
push edi
push str.KExecFile_DeleteFile_return:_d__error:_d__path:_ws
call fcn.0044ae36
add esp, 0x10
test edi, edi
jne 0x481ed5
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
xor eax, eax
cmp dword [ebp - 8], eax
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x481f52
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0xc], ebx
call fcn.00441606
cmp dword [esi + 4], ebx
mov dword [ebp - 8], eax
je 0x482023
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x18]
lea ecx, [ebp - 4]
call fcn.0041df59
cmp dword [ebp - 8], 8
mov edi, dword [ebp - 4]
pop ecx
je 0x481f92
cmp dword [ebp - 8], 0xa
jne 0x481fa8
cmp dword [esi + 8], ebx
je 0x481fa8
push 5
push ebx
push ebx
push edi
push str.taskbarunpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
call esi
cmp dword [ebp - 8], 0xffffffff
jne 0x481fcd
lea eax, [edi - 0x10]
call fcn.0040151c
jmp 0x4820bf
test byte [ebp - 8], 0x10
je 0x481ffb
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.00423fa9
push edi
push eax
push str.KExecLink_DeleteFolder_return:_d__path:_ws
mov esi, 0x4e096c
mov dword [ebp - 4], eax
call fcn.0044ae36
add esp, 0x20
cmp dword [ebp - 4], ebx
jne 0x48201b
jmp 0x481fc0
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push edi
mov ebx, eax
call esi
push eax
push ebx
push str.KExecLink_DeleteFile_return:_d__error:_d__path:_ws
mov esi, 0x4e096c
call fcn.0044ae36
add esp, 0x10
lea eax, [edi - 0x10]
jmp 0x4820b3
lea edi, [esi + 0x14]
lea ebx, [esi + 0x18]
push edi
mov eax, ebx
lea ecx, [ebp - 8]
call fcn.0041df59
lea eax, [ebp - 8]
call fcn.00422b29
push dword [ebp - 8]
call fcn.00422c88
push edi
mov eax, ebx
lea ecx, [ebp - 0x10]
call fcn.0041df59
mov eax, dword [eax]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call fcn.00424fcf
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
add esp, 0x18
add eax, 0xfffffff0
call fcn.0040151c
push edi
mov eax, ebx
lea ecx, [ebp - 0x14]
call fcn.0041df59
push dword [eax]
push dword [esi + 0xc]
push dword [esi + 0x10]
mov esi, 0x4e096c
push dword [ebp - 4]
push str.KExecLink_CreateLink_return:_d__file:_ws__cmd:_ws__link:_ws
call fcn.0044ae36
mov eax, dword [ebp - 0x14]
add esp, 0x18
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
cmp dword [ebp - 4], 0
je 0x481fc3
call fcn.0040151c
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4837d8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4df4b4]
and dword [ebp - 4], 0
push esi
push edi
mov ecx, 0x4df4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x4e0714]
add eax, 0xfffffff0
call fcn.00401648
mov esi, eax
push str.kxetray.exe
add esi, 0x10
push esi
lea eax, [ebp - 8]
push str.__s_s___autorun
push eax
call fcn.0041e01b
add esp, 0x10
lea eax, [esi - 0x10]
call fcn.0040151c
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 4]
call fcn.00402241
mov edi, dword [ebp - 8]
mov esi, eax
test esi, esi
je 0x483854
push edi
push str.kxesc
lea esi, [ebp - 4]
call fcn.0041f78d
mov esi, eax
lea eax, [edi - 0x10]
call fcn.0040151c
cmp dword [ebp - 4], 0
je 0x48386b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x483b4b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
lea eax, [ebx + 0x28]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x2c]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.004270d0
test al, al
je 0x483bff
call fcn.0046348d
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push eax
push 0x483c90
push ecx
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, dword [ebx + 0x68]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
push esi
call fcn.00484569
mov ecx, dword [ebx + 0x6c]
mov edx, 0x3fffffff
sub edx, ecx
cmp edx, 1
jb 0x483bd1
inc ecx
mov dword [ebx + 0x6c], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0xc]
mov dword [ecx], eax
call fcn.00449ce5
jmp 0x483b64
push str.list_T__too_long
lea ecx, [ebp - 0x38]
call fcn.0040a81e
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040a8cf
push 0x4d3424
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], vtable.std::length_error.0
call fcn.004941b6
xor eax, eax
pop edi
inc eax
pop esi
leave
ret
Function at 0x4842f3
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4df4b4]
push ebx
push esi
push edi
mov ecx, 0x4df4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x4e0714]
add eax, 0xfffffff0
call fcn.00401648
mov esi, eax
add esi, 0x10
lea eax, [ebp - 8]
lea edi, [ebp - 4]
mov dword [ebp - 8], esi
call fcn.00402033
lea eax, [esi - 0x10]
call fcn.0040151c
mov esi, str.desktop.ini
push esi
mov eax, edi
lea ecx, [ebp - 8]
call fcn.0041e02e
mov eax, dword [eax]
mov dword [esp], 0x4c4658
push eax
call fcn.00491da2
mov edi, eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040151c
test edi, edi
mov ebx, dword [ebp - 4]
jne 0x484385
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ModifyFolderIcon__tfopen_fail__error:_d
mov esi, 0x4e096c
call fcn.0044ae36
pop ecx
jmp 0x4843d7
push str._.ShellClassInfo__n
push edi
call fcn.00493bcd
push str.IconIndex0_n
push edi
call fcn.00493bcd
push str.IconFilekxetray.exe_n
push edi
call fcn.00493bcd
push esi
lea eax, [ebp - 4]
lea ecx, [ebp - 0xc]
call fcn.0041e02e
mov esi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
add esp, 0x1c
push 2
push dword [eax]
call esi
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040151c
push 1
push ebx
call esi
push edi
call fcn.004920de
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040151c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x484986
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and dword [ebp - 8], 0
push esi
mov esi, eax
push edi
mov eax, str.configcoverinstall_serviceitem
call fcn.004457e1
jmp 0x4849cb
push esi
call fcn.0048229c
test eax, eax
pop ecx
je 0x4849db
mov dword [eax + 4], 2
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea edi, [ebx + 0xc]
call fcn.004844dc
xor eax, eax
call fcn.004459dd
test eax, eax
jne 0x4849a3
mov eax, str.configcoverinstall_regitem
call fcn.004457e1
jmp 0x484a0d
push str.CreateExecService_fail
jmp 0x484b63
push esi
call fcn.0048211c
test eax, eax
pop ecx
je 0x484a1d
mov dword [eax + 0x1c], 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea edi, [ebx + 0xc]
call fcn.004844dc
xor eax, eax
call fcn.004459dd
test eax, eax
jne 0x4849e5
mov eax, str.configcoverinstall_fileitem
call fcn.004457e1
jmp 0x484a4c
push str.CreateExecReg_fail
jmp 0x484b63
push esi
call fcn.004825a0
test eax, eax
pop ecx
je 0x484b57
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea edi, [ebx + 0xc]
call fcn.004844dc
xor eax, eax
call fcn.004459dd
test eax, eax
jne 0x484a27
mov eax, str.configinstalldesktopitem
call fcn.004457e1
test eax, eax
je 0x484ace
xor edi, edi
push 0x206
lea eax, [ebp - 0x20e]
push edi
push eax
mov word [ebp - 0x210], di
call fcn.0048af40
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push edi
push edi
push 0x19
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
call fcn.00482654
mov edi, eax
test edi, edi
pop ecx
je 0x484b5e
lea eax, [ebp - 0x210]
push eax
mov eax, edi
mov dword [edi + 4], 1
call fcn.0048275f
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea edi, [ebx + 0xc]
call fcn.004844dc
xor eax, eax
call fcn.004459dd
test eax, eax
jne 0x484a8e
mov eax, str.configinstall_startmenuitem
call fcn.004457e1
test eax, eax
je 0x484b49
xor edi, edi
push 0x206
lea eax, [ebp - 0x20e]
push edi
push eax
mov word [ebp - 0x210], di
call fcn.0048af40
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 1
push edi
push 0x17
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
call fcn.00482654
mov edi, eax
test edi, edi
pop ecx
je 0x484b5e
lea eax, [ebp - 0x210]
push eax
mov eax, edi
mov dword [edi + 4], 1
call fcn.0048275f
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea edi, [ebx + 0xc]
call fcn.004844dc
xor eax, eax
call fcn.004459dd
test eax, eax
jne 0x484b0d
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret
push str.CreateExecFile_fail
jmp 0x484b63
push str.CreateExecLink_fail
mov esi, 0x4e096c
call fcn.0044ae36
pop ecx
jmp 0x484b50
Function at 0x484d2d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [eax + 0x34], esi
jne 0x484d42
mov eax, 0x8200000b
jmp 0x484db2
cmp dword [eax + 0x38], 8
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x208
mov dword [ebp - 4], esi
jb 0x484d5e
mov eax, dword [eax + 0x24]
jmp 0x484d61
add eax, 0x24
lea ecx, [ebp - 4]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x484db2
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x484da5
mov eax, edi
jmp 0x484db1
push 4
push dword [ebp + 8]
call fcn.0048bef3
pop ecx
pop ecx
pop edi
pop esi
leave
ret 4

Function at 0x484db7
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, eax
xor esi, esi
cmp dword [edi + 0x34], esi
jne 0x484dd5
mov eax, 0x8200000b
jmp 0x484ead
push ebx
push 0x206
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 4], esi
or ebx, 0xffffffff
mov word [ebp - 0x218], si
call fcn.0048af40
add esp, 0xc
cmp dword [ebp + 8], esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x208
mov dword [ebp - 8], esi
je 0x484eaa
cmp dword [edi + 0x38], 8
jb 0x484e1d
mov edi, dword [edi + 0x24]
jmp 0x484e20
add edi, 0x24
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x484eac
cmp dword [ebp - 8], 2
jne 0x484e7e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x484e7e
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.0048cc52
test eax, eax
pop ecx
pop ecx
jne 0x484e7e
xor ebx, ebx
jmp 0x484e9c
push dword [ebp + 8]
call fcn.0048b241
pop ecx
add eax, eax
push eax
push dword [ebp + 8]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp dword [ebp - 4], esi
je 0x484eaa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x48588d
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call fcn.0048af40
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x4c9550
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.004908a1
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, edi
mov dword [0x4e0a20], eax
je 0x485a34
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
push str.WinHttpConnect
push dword [0x4e0a20]
mov dword [0x4e09c4], eax
call esi
push str.WinHttpOpenRequest
push dword [0x4e0a20]
mov dword [0x4e09c8], eax
call esi
push str.WinHttpAddRequestHeaders
push dword [0x4e0a20]
mov dword [0x4e09cc], eax
call esi
push str.WinHttpSendRequest
push dword [0x4e0a20]
mov dword [0x4e09d0], eax
call esi
push str.WinHttpReceiveResponse
push dword [0x4e0a20]
mov dword [0x4e09d4], eax
call esi
push str.WinHttpQueryHeaders
push dword [0x4e0a20]
mov dword [0x4e09d8], eax
call esi
push str.WinHttpReadData
push dword [0x4e0a20]
mov dword [0x4e09dc], eax
call esi
push str.WinHttpCloseHandle
push dword [0x4e0a20]
mov dword [0x4e09e0], eax
call esi
push str.WinHttpCrackUrl
push dword [0x4e0a20]
mov dword [0x4e09e4], eax
call esi
push str.WinHttpSetOption
push dword [0x4e0a20]
mov dword [0x4e09e8], eax
call esi
push str.WinHttpSetTimeouts
push dword [0x4e0a20]
mov dword [0x4e09ec], eax
call esi
cmp dword [0x4e09c4], edi
mov dword [0x4e09f0], eax
je 0x485a2e
cmp dword [0x4e09d0], edi
je 0x485a2e
cmp dword [0x4e09e4], edi
je 0x485a2e
cmp dword [0x4e09c8], edi
je 0x485a2e
cmp dword [0x4e09cc], edi
je 0x485a2e
cmp dword [0x4e09dc], edi
je 0x485a2e
cmp dword [0x4e09e0], edi
je 0x485a2e
cmp dword [0x4e09d8], edi
je 0x485a2e
cmp dword [0x4e09d4], edi
je 0x485a2e
cmp dword [0x4e09e8], edi
je 0x485a2e
cmp dword [0x4e09ec], edi
je 0x485a2e
cmp eax, edi
je 0x485a2e
inc edi
mov dword [0x4e09c0], edi
mov eax, dword [0x4e09c0]
pop edi
pop esi
leave
ret

Function at 0x4864c1
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x40e]
push edi
push eax
xor ebx, ebx
mov word [ebp - 0x410], di
call fcn.0048af40
push esi
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call fcn.0048af40
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push esi
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00490937
add esp, 0x10
push dword [edi + 0x4defdc]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486555
xor ebx, ebx
inc ebx
add edi, 4
cmp edi, 0xc
jb 0x486516
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x486564
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4df4b4]
push ebx
push esi
xor ebx, ebx
push edi
mov ecx, 0x4df4b4
mov dword [ebp - 4], ebx
call dword [eax + 0xc]
mov esi, 0x206
mov edi, eax
push esi
lea eax, [ebp - 0x412]
push ebx
push eax
add edi, 0x10
mov word [ebp - 0x414], bx
call fcn.0048af40
push esi
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call fcn.0048af40
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00492480
add esp, 0xc
push dword [ebx + 0x4deffc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x486611
add ebx, 4
cmp ebx, 0x20
jb 0x4865cc
jmp 0x486618
mov dword [ebp - 4], 1
lea eax, [edi - 0x10]
call fcn.0040151c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x486628
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x4e03c8]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x486645
mov esi, dword [eax + 4]
jmp 0x486647
xor esi, esi
cmp esi, ebp
jne 0x486657
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x48667c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x48667c
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x48667c
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], ebp
push esi
mov ebx, edi
mov dword [eax], ebp
call fcn.00486789
mov ebx, eax
cmp ebx, ebp
jne 0x4866a5
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x486781
mov edx, ebx
call fcn.0040af05
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040adb8
cmp dword [edi + 0x36c], ebp
je 0x48672f
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
push ebp
push ebp
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebp
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x486712
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x48672f
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.0040612b
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041dffe
cmp dword [esp + 0x1c], ebp
je 0x48676d
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x48676d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x48676d
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040af05
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret