joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
push edi
push 0xbc
mov edi, ecx
call fcn.004fb4ab
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x42e2b5
mov ecx, eax
call fcn.0042d930
mov esi, eax
jmp 0x42e2b7
xor esi, esi
movzx eax, byte [edi + 0x50]
mov byte [esi + 0x63], al
movzx eax, byte [edi + 0x51]
mov byte [esi + 0x64], al
movzx eax, byte [edi + 0x55]
mov byte [esi + 0x68], al
movzx eax, byte [edi + 0x6c]
mov byte [esi + 0x80], al
movzx eax, byte [edi + 0x54]
mov byte [esi + 0x67], al
movzx eax, byte [edi + 0x5e]
mov byte [esi + 0x72], al
movzx eax, byte [edi + 0x52]
mov byte [esi + 0x65], al
movzx eax, byte [edi + 0x5c]
mov byte [esi + 0x70], al
movzx eax, byte [edi + 0x5d]
mov byte [esi + 0x71], al
movzx eax, byte [edi + 0x6b]
mov byte [esi + 0x7f], al
movzx eax, byte [edi + 0x71]
mov byte [esi + 0x85], al
movzx eax, byte [edi + 0x74]
mov byte [esi + 0x88], al
movzx eax, byte [edi + 0x7a]
mov byte [esi + 0x8e], al
movzx eax, byte [edi + 0x7c]
mov byte [esi + 0x90], al
movzx eax, byte [edi + 0x73]
mov byte [esi + 0x87], al
movzx eax, byte [edi + 0x68]
mov byte [esi + 0x7c], al
movzx eax, byte [edi + 0x5f]
mov byte [esi + 0x73], al
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x74], al
movzx eax, byte [edi + 0x64]
mov byte [esi + 0x78], al
movzx eax, byte [edi + 0x67]
mov byte [esi + 0x7b], al
mov al, byte [edi + 0x44]
mov byte [esi + 0x60], al
cmp al, 2
jne 0x42e365
mov byte [esi + 0x60], 3
jmp 0x42e36d
cmp al, 3
jne 0x42e36d
mov byte [esi + 0x60], 2
movzx eax, byte [edi + 0x45]
mov byte [esi + 0x61], al
movups xmm0, xmmword [edi]
push 7
movups xmmword [esi], xmm0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x4c], eax
movzx eax, byte [edi + 0x61]
mov byte [esi + 0x75], al
movzx eax, byte [edi + 0x7b]
mov byte [esi + 0x8f], al
lea eax, [edi + 0x98]
push eax
lea eax, [esi + 0xac]
push eax
call fcn.00643b60
movzx eax, byte [edi + 0x65]
add esp, 0xc
mov byte [esi + 0x79], al
movzx eax, byte [edi + 0x75]
mov byte [esi + 0x89], al
movzx eax, byte [edi + 0x78]
mov byte [esi + 0x8c], al
movzx eax, byte [edi + 0x79]
mov byte [esi + 0x8d], al
movzx eax, byte [edi + 0x69]
mov byte [esi + 0x7d], al
movzx eax, byte [edi + 0x6a]
mov byte [esi + 0x7e], al
mov eax, dword [edi + 0xa0]
mov dword [esi + 0xb4], eax
movzx eax, byte [edi + 0x76]
mov byte [esi + 0x8a], al
movzx eax, byte [edi + 0x7d]
mov byte [esi + 0x91], al
movzx eax, byte [edi + 0x62]
mov byte [esi + 0x76], al
mov eax, esi
pop edi
pop esi
pop ecx
ret
Function at 0x4475b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x725fec]
xor eax, esp
mov dword [esp + 0x448], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x20], ecx
xor bl, bl
push 0x104
lea ecx, [esp + 0x24c]
mov dword [esp + 0x20], edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x447751
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x447751
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], eax
test eax, eax
je 0x44774e
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push str.GetTimestampForLoadedLibrary
push str.dbghelp
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44773e
push dword [esp + 0xc]
call eax
mov esi, eax
mov dword [esp + 0x28], 0x107b2
xor eax, eax
mov dword [esp + 0x2e], 0x30001
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, 0x989680
mov eax, esi
mul ecx
add dword [esp + 0x10], eax
lea eax, [esp + 0x38]
push eax
adc dword [esp + 0x18], edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x80
lea eax, [esp + 0x4c]
push eax
push str.HH:mm:ss
lea eax, [esp + 0x44]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push 0x80
lea eax, [esp + 0x14c]
push eax
push str.dd.MM.yyyy
lea eax, [esp + 0x44]
push eax
push 0
push 0x409
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x20]
call esi
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x24]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x24]
call esi
push edi
call esi
mov ecx, dword [esp + 0x454]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0063db0b
mov esp, ebp
pop ebp
ret
Function at 0x45ea00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68cdb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x725fec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
test eax, eax
jne 0x45eaaf
cmp esi, 0x13
jne 0x45eaaf
call fcn.004fc414
mov ecx, eax
test ecx, ecx
je 0x45eba4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x6e8660
mov dword [ebp - 4], 0
mov ecx, ebx
test eax, 0xffff0000
jne 0x45ea8f
movzx eax, ax
push eax
call fcn.00403830
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push 0x6e8660
call fcn.00403bb0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, eax
or ebx, 0x1000000
cmp dword [ebp + 8], 0
cmove ebx, eax
mov dword [ebp - 0x14], ebx
call fcn.004fc414
mov ecx, eax
test ecx, ecx
je 0x45ebae
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
mov edi, 0x40
add edi, edi
js 0x45eb9a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45eb0c
push edi
lea ecx, [ebp - 0x10]
call fcn.00403a20
mov esi, dword [ebp - 0x10]
cmp edi, dword [esi - 8]
jg 0x45eb9a
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [edi + 1]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45eb3d
push dword [esi - 8]
push esi
call fcn.0064c86b
add esp, 8
test eax, eax
js 0x45eb9a
cmp eax, dword [esi - 8]
jg 0x45eb9a
xor ecx, ecx
mov dword [esi - 0xc], eax
cmp ebx, edi
mov word [esi + eax*2], cx
mov ebx, dword [ebp - 0x14]
je 0x45eae7
add esi, 0xfffffff0
push esi
call fcn.004060e0
mov edi, dword [ebp - 0x18]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45eb86
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403b60
push 0x80004005
call fcn.00403b60
push 0x80004005
call fcn.00403b60
int3
Function at 0x45fda0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68cffc
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x725fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x27c], esi
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 0x27c], esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fe13
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00403420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0x1b
xor eax, eax
mov dword [ebp - 0x220], 0
push str.Opera_SoftwareOpera_Stable
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x264], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fed0
sub eax, edx
lea ecx, [ebp - 0x278]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403420
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.004035b0
push 7
xor eax, eax
mov dword [ebp - 0x250], 0
push str.Cookies
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403420
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x278]
mov ecx, esi
call fcn.0046aba0
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.004035b0
lea ecx, [ebp - 0x278]
call fcn.004035b0
lea ecx, [ebp - 0x248]
call fcn.004035b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063db0b
mov esp, ebp
pop ebp
ret
Function at 0x4648e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d846
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x725fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24c], esi
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464953
sub eax, edx
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0xf
xor eax, eax
mov dword [ebp - 0x220], 0
push str.MozillaFirefox
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403420
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x248]
mov ecx, esi
call fcn.0046aba0
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.004035b0
lea ecx, [ebp - 0x248]
call fcn.004035b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063db0b
mov esp, ebp
pop ebp
ret
Function at 0x4692e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68cffc
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x725fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x27c], esi
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 0x27c], esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469353
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00403420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x6ec3e4
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x264], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469410
sub eax, edx
lea ecx, [ebp - 0x278]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403420
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.004035b0
push 0xc
xor eax, eax
mov dword [ebp - 0x250], 0
push str.cookies4.dat
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403420
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x278]
mov ecx, esi
call fcn.0046aba0
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.004035b0
lea ecx, [ebp - 0x278]
call fcn.004035b0
lea ecx, [ebp - 0x248]
call fcn.004035b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063db0b
mov esp, ebp
pop ebp
ret
Function at 0x4694d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68cffc
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x725fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x27c], esi
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 0x27c], esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469543
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00403420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0xf
xor eax, eax
mov dword [ebp - 0x220], 0
push str.OperaOpera_x64
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x264], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469600
sub eax, edx
lea ecx, [ebp - 0x278]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403420
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.004035b0
push 0xc
xor eax, eax
mov dword [ebp - 0x250], 0
push str.cookies4.dat
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403420
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x278]
mov ecx, esi
call fcn.0046aba0
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.004035b0
lea ecx, [ebp - 0x278]
call fcn.004035b0
lea ecx, [ebp - 0x248]
call fcn.004035b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063db0b
mov esp, ebp
pop ebp
ret
Function at 0x469860
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 8
push ebx
mov ebx, edx
push ecx
mov dword [esp + 0xc], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x46987c
xor al, al
pop ebx
add esp, 8
ret
push edi
mov edi, dword [esp + 0x14]
mov byte [esp + 0xb], 0
test edi, edi
je 0x469890
mov al, byte [edi]
mov byte [esp + 0xb], al
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4698a0
sub esi, ecx
sar esi, 1
jne 0x4698c0
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop edi
xor al, al
pop ebx
add esp, 8
ret
test edi, edi
je 0x4698c7
mov byte [edi], 0
push ebp
lea eax, [esi + 1]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x469911
push ebx
call ebp
mov ebp, eax
test ebp, ebp
je 0x46990b
push esi
push dword [esp + 0x18]
push ebp
call fcn.00656d4f
add esp, 0xc
mov byte [esi + ebp], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
lea eax, [esi*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x469955
push ebx
call ebp
mov ebp, eax
test ebp, ebp
je 0x469955
push esi
push dword [esp + 0x18]
push ebp
call fcn.0064cf62
add esp, 0xc
xor eax, eax
mov word [ebp + esi*2], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
test edi, edi
je 0x469966
mov al, byte [esp + 0xf]
mov byte [edi], al
pop esi
pop edi
mov al, 1
pop ebx
add esp, 8
ret

Function at 0x46a4b0
Capabilities:
Get file size

Disassembly:
push edi
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46a4e9
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x46a5a0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, edx
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x46a5b8
mov eax, dword [esi]
push 0x6ec67c
push eax
call fcn.0064e94f
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x46a5dd
pop esi
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov eax, ebx
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esi + 0x14], 8
jb 0x46a5e5
mov esi, dword [esi]
push edi
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46a669
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x46a669
push ecx
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push eax
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x24]
call fcn.0046ac40
mov edi, dword [esp + 0x1c]
mov eax, edi
mov esi, dword [esp + 0x18]
sub eax, esi
push ebp
push eax
push 1
push esi
call fcn.0064c332
push ebp
call fcn.0064c66b
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [ebx + 4], edi
mov dword [ebx], esi
mov dword [ebx + 8], eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push ebp
call fcn.0064c66b
add esp, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov eax, ebx
mov dword [ebx + 8], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x475f90
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
mov eax, dword [0x725fec]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x28
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x475fce
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x475fdf
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0063db0b
add esp, 0x20
ret
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0xc], 1
push 0
sbb eax, eax
push 0
and eax, 2
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
test eax, eax
je 0x475fc8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov eax, 1
xor ecx, esp
call fcn.0063db0b
add esp, 0x20
ret
Function at 0x476040
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x834
mov eax, dword [0x725fec]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, edx
push edi
push 1
mov edi, ecx
call esi
mov ecx, eax
call fcn.00475f90
add esp, 4
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
mov dword [esp + 0x18], edi
call esi
mov ecx, eax
call fcn.00475f90
add esp, 4
test edi, edi
je 0x476229
push 0x104
push ebx
push edi
call dword [0x734234]
test eax, eax
je 0x476222
push 0x402
lea eax, [esp + 0x434]
push 0
push eax
call fcn.006440e0
add esp, 0xc
lea eax, [esp + 0x430]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x476201
mov eax, dword [0x6ecec0]
lea edi, [esp + 0x430]
movzx ecx, word [esp + 0x430]
mov dword [esp + 0x18], eax
mov ax, word [0x6ecec4]
mov word [esp + 0x1c], ax
mov dword [esp + 0x10], 0
push 0x200
lea eax, [esp + 0x24]
mov word [esp + 0x1c], cx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4761da
lea esi, [esp + 0x20]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x476140
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x4761da
push esi
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.0065639b
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x4761e0
lea eax, [ebx + esi*2]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x6ecec8
lea eax, [esp + 0x234]
push 0x104
push eax
call fcn.00432a60
lea ecx, [esp + 0x23c]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4761a6
sub ecx, edx
sar ecx, 1
cmp ecx, 0x7ffffffe
jbe 0x4761c4
xor eax, eax
mov word [ebx], ax
jmp 0x4761da
push ecx
lea eax, [esp + 0x22c]
mov edx, 0x105
push eax
push ecx
mov ecx, ebx
call fcn.00449f60
mov ecx, dword [esp + 0x10]
nop
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x4761e0
test ecx, ecx
jne 0x4761fd
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x476111
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.0063db0b
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x83c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0063db0b
mov esp, ebp
pop ebp
ret
Function at 0x4766d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x725fec]
xor eax, esp
mov dword [esp + 0x208], eax
lea eax, [esp]
push eax
push 0
push 0x6ecf10
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x47673a
push 0
push 0x4000100
push 2
push 0
push 0
push 0xc0000000
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x47673a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0063db0b
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor al, al
xor ecx, esp
call fcn.0063db0b
add esp, 0x20c
ret