joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458c69
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
xor esi, esi
cmp dword [0x54539c], esi
jne 0x458c9c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x458cae
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
cmp eax, esi
setne cl
mov dword [0x54539c], eax
mov eax, ecx
cmp eax, esi
jne 0x458cac
push 0x51a120
mov esi, 0x545440
call fcn.0049280d
pop ecx
pop esi
ret

Function at 0x458e47
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push str.kscrcap.exe
xor esi, esi
push esi
lea eax, [ebp - 4]
call fcn.00496e16
pop ecx
lea ecx, [ebp - 8]
call fcn.0042a029
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00401239
mov edi, dword [ebp - 8]
push esi
push edi
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x458ea9
push 5
push esi
push str.keyboard
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
lea eax, [edi - 0x10]
call fcn.00401239
pop edi
mov eax, esi
pop esi
leave
ret
push 2
pop esi
jmp 0x458e9b

Function at 0x458ffd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5453a8]
mov ecx, eax
shr ecx, 9
push ebx
and ecx, 1
mov dword [ebp - 0x10], ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, eax
mov ebx, eax
shr ecx, 0xa
movzx eax, al
push edi
and ecx, 1
shr ebx, 8
push 0x12
and ebx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
call esi
mov edi, 0x80
push 0x10
and eax, edi
shr eax, 7
mov dword [ebp - 8], eax
call esi
push 0x11
and eax, edi
shr eax, 7
mov dword [ebp - 0xc], eax
call esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
and eax, edi
shr eax, 7
cmp edx, dword [ecx]
jne 0x45907c
cmp ebx, dword [ebp - 8]
jne 0x45907c
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x10], ecx
jne 0x45907c
cmp dword [ebp - 0x14], eax
jne 0x45907c
xor eax, eax
inc eax
jmp 0x45907e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45950c
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 0x459521
mov eax, 0xe0000017
jmp 0x459592
cmp dword [eax + 0x38], 8
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x208
mov dword [ebp - 4], esi
jb 0x45953d
mov eax, dword [eax + 0x24]
jmp 0x459540
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 0x459592
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 0x459584
mov eax, edi
jmp 0x459591
push 4
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll__waccess]
pop ecx
pop ecx
pop edi
pop esi
leave
ret 4
Function at 0x459597
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 0x4595b5
mov eax, 0xe0000017
jmp 0x45968e
cmp dword [ebp + 8], esi
jne 0x4595c2
or eax, 0xffffffff
jmp 0x45968e
push 0x206
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 4], esi
mov word [ebp - 0x218], si
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x38], 8
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x208
mov dword [ebp - 8], esi
jb 0x4595fd
mov edi, dword [edi + 0x24]
jmp 0x459600
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 0x45968e
cmp dword [ebp - 8], 2
jne 0x45965f
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 0x45965f
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x45965f
xor edi, edi
jmp 0x45967e
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_wcslen]
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 edi, eax
cmp dword [ebp - 4], esi
je 0x45968c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x459fe5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x45a004
mov eax, 0x80070057
jmp 0x45a0a3
push esi
call fcn.00459edb
test eax, eax
pop ecx
jne 0x459ffa
push 0x208
lea eax, [ebp - 0x25c]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x45a02f
mov edx, dword [esi + 4]
jmp 0x45a032
lea edx, [esi + 4]
lea ecx, [ebp - 0x25c]
call fcn.00459c9f
test eax, eax
jl 0x45a09e
push edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x45a09e
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
xor eax, eax
jmp 0x45a0a3
mov eax, 0x80004005
pop esi
pop ebx
leave
ret 0xc
Function at 0x45b94c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5438cc]
push esi
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
mov edi, dword [sym.imp.MSVCR80.dll_wcsrchr]
add eax, 0x10
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 4], eax
je 0x45b9af
push esi
push ebx
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x45b9af
lea eax, [ebp - 4]
push eax
push 0x5c
push ebx
call edi
pop ecx
inc eax
pop ecx
inc eax
push eax
push ebx
call fcn.004973fa
add esp, 0xc
test eax, eax
je 0x45b9af
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x45ba2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045ba3e
test eax, eax
pop ecx
pop ecx
je 0x45b9d6
push 0xfffffffffffffffc
jmp 0x45ba23
push dword [ebp + 0xc]
push ebx
call fcn.00497606
test eax, eax
pop ecx
pop ecx
jne 0x45b9e9
push 0xfffffffffffffffb
jmp 0x45ba23
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x45ba2d
lea eax, [ebp - 4]
push eax
push 0x5c
push ebx
call edi
pop ecx
inc eax
pop ecx
inc eax
push eax
push ebx
call fcn.004973fa
add esp, 0xc
test eax, eax
jne 0x45ba0f
push 0xfffffffffffffff9
jmp 0x45ba23
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x45ba2d
push 0xfffffffffffffffa
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
pop esi
jl 0x45b9b8
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x45c0b2
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi], ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x45c0d1
push str.wintrust.dll
call edi
cmp eax, ebx
mov dword [esi], eax
je 0x45c21e
cmp dword [esi + 4], ebx
jne 0x45c0e8
push str.Crypt32.dll
call edi
cmp eax, ebx
mov dword [esi + 4], eax
je 0x45c21e
cmp dword [esi + 8], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x45c107
push str.CryptCATAdminAcquireContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 8], eax
je 0x45c21e
cmp dword [esi + 0xc], ebx
jne 0x45c120
push str.CryptCATAdminReleaseContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x45c21e
cmp dword [esi + 0x14], ebx
jne 0x45c139
push str.CryptCATCatalogInfoFromContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x45c21e
cmp dword [esi + 0x10], ebx
jne 0x45c152
push str.CryptCATAdminReleaseCatalogContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x45c21e
cmp dword [esi + 0x18], ebx
jne 0x45c16b
push str.CryptCATAdminCalcHashFromFileHandle
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x45c21e
cmp dword [esi + 0x1c], ebx
jne 0x45c184
push str.CryptCATAdminEnumCatalogFromHash
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x1c], eax
je 0x45c21e
cmp dword [esi + 0x20], ebx
jne 0x45c19d
push str.WinVerifyTrustEx
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x45c21e
cmp dword [esi + 0x24], ebx
jne 0x45c1b2
push str.WTHelperProvDataFromStateData
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x45c21e
cmp dword [esi + 0x28], ebx
jne 0x45c1c7
push str.WTHelperGetProvSignerFromChain
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x45c21e
cmp dword [esi + 0x2c], ebx
jne 0x45c1dc
push str.WTHelperGetProvCertFromChain
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x2c], eax
je 0x45c21e
cmp dword [esi + 0x30], ebx
jne 0x45c1f2
push str.CertNameToStrW
push dword [esi + 4]
call edi
cmp eax, ebx
mov dword [esi + 0x30], eax
je 0x45c21e
push 0x40
lea eax, [esi + 0x50]
push ebx
push eax
call sub.MSVCR80.dll_memset
push 0x104
lea eax, [esi + 0x90]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0x18
push esi
call fcn.0045c2a8
xor ebx, ebx
inc ebx
jmp 0x45c25d
mov eax, dword [esi]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
je 0x45c250
push eax
call edi
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x45c25d
push eax
call edi
mov dword [esi + 4], ebx
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x45c2a8
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.004d6030
push esi
push edi
mov esi, 0x1000
xor edi, edi
push esi
lea eax, [ebp - 0x1218]
push edi
push eax
mov dword [ebp - 8], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x1218]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x45c3be
push ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 2
mov dword [ebp - 4], edi
je 0x45c3ba
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x1218]
test eax, eax
je 0x45c3ae
cmp eax, 8
jbe 0x45c3ae
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45c3ae
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x45c3ab
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll__wcslwr_s]
lea eax, [ebp - 0x218]
push str.windowsexplorer.exe
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 0x10
test eax, eax
je 0x45c3ab
lea eax, [ebp - 0x10]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45c3ab
mov edx, dword [ebp + 8]
xor ecx, ecx
lea eax, [edx + 0x50]
cmp dword [eax], 0
je 0x45c39d
inc ecx
add eax, 4
cmp ecx, 0x10
jb 0x45c38d
jmp 0x45c3ab
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x50], eax
mov dword [ebp - 8], 1
push esi
call edi
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jb 0x45c301
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x45c803
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, edi
je 0x45c82f
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x45c860
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
jne 0x45c83f
xor eax, eax
jmp 0x45c85e
push edi
push edi
push eax
push 0x45681e
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x45c863
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop edi
leave
ret
Function at 0x45d483
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5438cc]
push ebx
push esi
xor esi, esi
mov ecx, 0x5438cc
mov dword [ebp - 8], esi
call dword [eax + 0xc]
add eax, 0x10
cmp dword [ebp + 0x10], esi
mov dword [ebp - 4], eax
mov ebx, 0x51ac08
je 0x45d4ef
push esi
push edi
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x45d4ef
lea eax, [ebp - 8]
push eax
push edi
call fcn.00497327
test eax, eax
pop ecx
pop ecx
je 0x45d4ef
push dword [ebp - 8]
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0042a016
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
call fcn.004249a1
test eax, eax
je 0x45d570
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], esi
jmp 0x45d4fc
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045ba3e
test eax, eax
pop ecx
pop ecx
je 0x45d518
push 0xfffffffffffffffc
jmp 0x45d566
push dword [ebp + 0xc]
push edi
call fcn.00497606
test eax, eax
pop ecx
pop ecx
jne 0x45d52b
push 0xfffffffffffffffb
jmp 0x45d566
cmp dword [ebp + 0x10], esi
je 0x45d570
lea eax, [ebp - 8]
push eax
push edi
call fcn.00497327
test eax, eax
pop ecx
pop ecx
jne 0x45d544
push 0xfffffffffffffffd
jmp 0x45d566
push dword [ebp - 8]
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0042a016
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
call fcn.004249a1
test eax, eax
je 0x45d570
push 0xfffffffffffffffe
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
pop esi
jl 0x45d4fa
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x45db7f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5438cc]
push esi
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
call fcn.004782f6
mov esi, eax
lea eax, [ebp - 8]
push eax
call fcn.0047821a
push dword [esi]
push dword [eax]
lea eax, [ebp - 4]
push str._sressrc_suplive.svr
push eax
call fcn.0042a016
mov eax, dword [ebp - 8]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401239
mov esi, dword [ebp - 4]
push esi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x45e0a8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [esi], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x45e131
push ebx
call fcn.004ce6ea
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45e122
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4da9e4
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45e122
cmp dword [ebp - 0xc], ebx
je 0x45e122
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x45e131
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret 4

Function at 0x45e139
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45e174
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x10]
push esi
mov dword [ecx], eax
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x45e17b
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5438cc]
push ebx
push esi
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
mov ebx, dword [ebp + 0xc]
mov esi, eax
push 0
add esi, 0x10
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push ebx
push dword [ebp + 8]
call edi
test eax, eax
je 0x45e1b9
xor edi, edi
jmp 0x45e226
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
lea eax, [ebp - 4]
push str._s_del__x
push eax
call fcn.0042a016
mov esi, dword [ebp - 4]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll__wrename]
call ebx
test eax, eax
pop ecx
pop ecx
je 0x45e1f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x45e222
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x45e216
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
mov edi, eax
push esi
call ebx
pop ecx
pop ecx
jmp 0x45e222
push 4
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
jne 0x45e251
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004014ce
push 0x4dab50
lea eax, [ebp + 0xc]
push eax
call fcn.00407371
mov ebx, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x461627
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
mov dword [ebp - 8], edi
jne 0x461646
xor eax, eax
pop edi
pop esi
leave
ret 8
mov eax, dword [0x5438cc]
push ebx
mov ecx, 0x5438cc
call dword [eax + 0xc]
mov ebx, eax
add ebx, 0x10
cmp dword [esi + 4], edi
mov dword [ebp - 4], ebx
je 0x461666
push dword [ebp + 8]
jmp 0x4616b1
push 0x206
lea eax, [ebp - 0x212]
push edi
push eax
mov word [ebp - 0x214], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
push str._ProgramFiles_Internet_Exploreriexplore.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4616bd
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040127c
mov ebx, dword [ebp - 4]
cmp dword [ebx - 0xc], edi
jne 0x4616d4
xor esi, esi
lea eax, [ebx - 0x10]
call fcn.00401239
mov eax, esi
pop ebx
jmp 0x461640
lea esi, [ebp - 4]
call fcn.00407395
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov ebx, dword [ebp - 4]
cmp ebx, edi
jne 0x4616ee
xor eax, eax
jmp 0x4616f6
push ebx
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
cmp esi, edi
pop ecx
je 0x461731
push str.SoftwareClassesCLSID0002DF01_0000_0000_C000_000000000046LocalServer32
lea eax, [ebp - 0xc]
call fcn.004014ce
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
call fcn.0045f6cc
mov dword [ebp + 8], eax
jmp 0x461734
mov dword [ebp + 8], edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00458ba0
test byte [ebp - 8], 1
je 0x461751
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401239
xor esi, esi
inc esi
jmp 0x4616c4

Function at 0x46393b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x51b684
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 0x4639bf
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
call fcn.0040127c
xor eax, eax
inc eax
leave
ret 4
Function at 0x463a99
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
push edi
jne 0x463ab8
xor eax, eax
jmp 0x463b7b
lea ecx, [ebp - 0x274]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x463ab1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x254]
cmp edi, ebx
je 0x463ab1
mov eax, dword [esi + 0x10]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x463ab1
lea eax, [ebp - 5]
push eax
lea eax, [ebp - 0x24]
lea ecx, [edi + 2]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 5], bl
call fcn.00463ee0
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
lea esi, [ebp - 0x24]
call fcn.00463cd9
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x463b68
cmp dword [ebp - 0x10], edi
jne 0x463b68
cmp edi, ebx
mov dword [ebp - 0xc], ebx
jbe 0x463b53
push dword [ebp - 0xc]
lea esi, [ebp - 0x24]
call fcn.00463cd9
xor byte [eax], 0x4e
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jb 0x463b3d
push ebx
lea esi, [ebp - 0x24]
call fcn.00463cd9
push eax
push dword [ebp + 8]
call fcn.00415b64
xor ebx, ebx
inc ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x24]
call fcn.00463f9a
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x464392
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
je 0x464430
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x464430
cmp ebx, esi
je 0x464430
push edi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebx], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x46442f
push edi
call fcn.004ce6ea
cmp eax, esi
pop ecx
mov dword [ebp - 0x10], eax
je 0x46442f
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x464426
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4da9e4
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x464426
cmp dword [ebp - 8], esi
jbe 0x46441f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov dword [ebx], eax
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
pop edi
mov eax, dword [ebp - 0x14]
pop esi
leave
ret