joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57ced3
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x6dde5c
call fcn.0068e71a
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x57d064
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x57d036
sub eax, 1
je 0x57cf52
sub eax, 1
je 0x57cf2a
sub eax, 1
je 0x57cf52
push 0x770a40
mov ecx, edi
call fcn.004084f0
mov eax, edi
call fcn.0068e6c9
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x57cf14
lea eax, [ebp - 0x4e8]
push eax
jmp 0x57cf19
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x57cf14
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.0056b161
test eax, eax
je 0x57cf14
lea ecx, [ebp - 0x700]
call fcn.00407380
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x57cfec
test byte [ebp - 0x428], 0x18
jne 0x57d00e
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x6ebb00]
mov ecx, ebx
call esi
jmp 0x57d00e
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.004066d0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.00407360
jmp 0x57cf20
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x57cf14
lea eax, [ebp - 0x6f0]
jmp 0x57cf4f
call fcn.005463c1
int3

Function at 0x57d1dc
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005c3dbd
call fcn.0054aeec
cmp dword [eax + 0x14], 0
jne 0x57d1f7
mov ecx, esi
pop esi
jmp fcn.0057c4b8
pop esi
ret

Function at 0x58b4f4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x58b55e
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x58b543
lea eax, [ebp - 0x2ac]
push eax
jmp 0x58b548
push 0x7356f8
call fcn.004084f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0068d76f
leave
ret 8
call fcn.005463c1
int3

Function at 0x58ba43
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004056a0
call fcn.0054aeec
cmp dword [eax + 0x14], 0
jne 0x58ba5e
mov ecx, esi
pop esi
jmp fcn.0058b29e
pop esi
ret
Function at 0x593322
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x59333b
call fcn.0054ae98
mov esi, dword [eax + 0xc]
push 0x76f40c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x59337d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x59337d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x59337d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00593386
jmp 0x59337f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5bafa3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x5bb12a
je 0x5bb151
sub eax, 0xa1
je 0x5bb151
sub eax, 1
je 0x5bb151
dec eax
sub eax, 1
je 0x5bb151
sub eax, 1
je 0x5bb151
dec eax
sub eax, 1
je 0x5bb151
sub eax, 1
je 0x5bb151
sub eax, 0x58
jne 0x5bb18f
cmp dword [edi + 0xc0], 0xffffffff
je 0x5bb151
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x5bb151
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x5bb07f
sub eax, 1
jne 0x5bb151
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x5bb06e
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, edi
call esi
test eax, eax
jne 0x5bb0cb
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x5bb044
jmp 0x5bb1a9
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x5bb1a9
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, edi
call esi
test eax, eax
jne 0x5bb0cb
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x5bb096
jmp 0x5bb1a9
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0054a944
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x5bb1a9
sub eax, 0x200
je 0x5bb151
sub eax, 1
je 0x5bb151
sub eax, 1
je 0x5bb151
dec eax
sub eax, 1
je 0x5bb151
sub eax, 1
je 0x5bb151
dec eax
sub eax, 1
je 0x5bb151
sub eax, 1
jne 0x5bb18f
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x5bb170
cmp dword [eax + 0x20], ebx
je 0x5bb170
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x5bb18f
cmp dword [eax + 0x20], ebx
je 0x5bb18f
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x5bb1ae
lea eax, [edi + 0x2250]
test eax, eax
je 0x5bb1a5
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x5bb1ae
xor eax, eax
inc eax
jmp 0x5bb1b6
push esi
mov ecx, edi
call fcn.005b3019
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x5bc725
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x5bc86b
mov ecx, 0x7998d0
call fcn.00563c0b
mov esi, eax
test esi, esi
je 0x5bc860
xor eax, eax
cmp word [esi + 8], ax
jne 0x5bc82a
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x5bc7e6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x5bc7ac
push 0x739960
call fcn.005bc8a9
pop ecx
test eax, eax
je 0x5bc7ac
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x5bc7c7
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x5bc7e6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x5bc7ec
push ebx
push edi
push eax
call fcn.0056416c
add esp, 0xc
jmp 0x5bc7ec
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.005457c0
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x5bc865
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.005537e3
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x5bc82d
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x5bc83b
push edi
call fcn.0069bbeb
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00406bf0
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.005463c1
call fcn.005463db
int3
Function at 0x5d9d22
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x5d9d4e
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x5d9d79
cmp dword [0x7ab66c], 0
jne 0x5d9d79
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x5d9d75
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x5d9d75
push edi
call fcn.006a6e95
pop ecx
jmp 0x5d9df0
mov eax, edi
jmp 0x5d9df0
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00690e10
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x5d9dff
push esi
call fcn.0055ff11
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push esi
push 1
push 2
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0068d76f
leave
ret 4
call fcn.005463c1
int3
Function at 0x5f6872
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x5f69d0
push esi
push edi
push 0x741ab0
call fcn.005612de
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x5f690b
mov edi, dword [ebx + 0x168]
jmp 0x5f68f7
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5f68f7
push esi
call fcn.0054d141
push eax
push 0x799ab0
call fcn.0056123f
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x5f68f7
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x5f68f7
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x5f68a6
lea ecx, [ebx + 0x164]
call fcn.00558051
jmp 0x5f69ce
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5f69ce
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0054a10f
mov edi, dword [eax]
test edi, edi
jne 0x5f6937
xor esi, esi
jmp 0x5f693a
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5f69be
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5f69be
cmp dword [ebp - 0x10], 0
jne 0x5f6993
push edi
push 0x799ab0
call fcn.0056123f
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, edi
call esi
push eax
push 0x7371e8
call fcn.0056123f
pop ecx
pop ecx
test eax, eax
je 0x5f69be
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.005f59e3
test eax, eax
jne 0x5f69be
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.005f3b17
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x5f6922
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x62f9ba
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x62f9e7
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x62f9fc
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x62f9fc
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0054d141
jmp 0x62facd
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0054d141
cmp eax, edi
jne 0x62fad7
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x62fa69
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x62faad
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x62fad7
cmp eax, 0x205
je 0x62fad7
cmp eax, 0x201
je 0x62fad7
cmp eax, 0x204
je 0x62fad7
cmp eax, 0x100
jne 0x62fa95
cmp dword [ebp - 0x18], 0x1b
je 0x62fad7
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x62facd
ja 0x62fac6
cmp eax, dword [0x7acb28]
jbe 0x62facd
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x62fa1e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x62feaf
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x62fee5
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.00421140
test eax, eax
je 0x62fecd
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x63677c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7999b4], 0
push esi
push edi
je 0x636804
cmp dword [0x799ce0], 0xfffffffe
jne 0x6367f0
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x636804
mov edi, 0x7acb54
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x7acb6c], 0
jne 0x636808
push 0
push 0
push 0x63680e
call fcn.006ae8cd
add esp, 0xc
mov dword [0x7acb6c], eax
test eax, eax
je 0x6367e0
cmp eax, 0xffffffff
je 0x6367e0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x799ce0], esi
jmp 0x6367e7
and dword [0x7acb6c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x636804
mov eax, dword [ebp + 8]
mov dword [0x799ce0], eax
cmp eax, 0xffffffff
jne 0x636804
and dword [0x7acb6c], 0
pop edi
pop esi
pop ebp
ret
call fcn.005463c1
int3
Function at 0x63fddf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x63fe7e
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x63fe7a
mov eax, dword [eax + 0x20]
test eax, eax
je 0x63fe7a
cmp dword [ebx], eax
jne 0x63fe7a
mov eax, dword [ebx + 4]
sub eax, 1
je 0x63fe54
sub eax, 1
je 0x63fe24
sub eax, 1
jne 0x63fe7a
mov edi, 0x428e
jmp 0x63fe59
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x63fe59
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x6ebb00]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x63fe59
add edi, 3
jmp 0x63fe59
mov edi, 0x3ea0
push edi
mov ecx, 0x7acbb0
call fcn.00406a60
test eax, eax
je 0x63fe7e
mov eax, dword [0x7acbb0]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x63fe73
call fcn.005463c1
int3

Function at 0x6507ac
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x6de5d1
call fcn.0068e6e7
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x650898
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x650898
cmp esi, 0x43
je 0x6507ee
cmp esi, 0x2d
jne 0x650898
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x650898
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00407380
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push 0x74b700
push eax
call fcn.00407190
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x650886
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x650886
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.00407360
push ebx
mov ecx, edi
call fcn.0064eaff
call fcn.0068e6b5
ret 4
Function at 0x68ec10
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x68ec4f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x68ec4f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x68ec4f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x68ec4f
cmp dword [ecx + 0x74], 0xe
jbe 0x68ec4f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x6a88cd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0068e250
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.006af90b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x6a890f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x6a8a6b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0068e500
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x7ad6f8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.006b3dea
mov ecx, dword [esi*4 + 0x7ad6f8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x6a8a64
cmp eax, dword [ecx + edi + 0x24]
jne 0x6a8a64
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6a8a64
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.006b3dea
add esp, 0x14
test edx, edx
jl 0x6a8a64
jg 0x6a89da
test eax, eax
jb 0x6a8a64
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x6a8a64
jl 0x6a89f4
cmp dword [ebp - 0x1008], eax
ja 0x6a8a64
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x6a8a12
test ebx, ebx
je 0x6a8a4b
cmp ecx, edi
jae 0x6a8a4b
mov al, byte [ecx]
cmp al, 0xd
jne 0x6a8a2c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x6a8a38
cmp byte [ecx + 1], 0xa
jne 0x6a8a38
inc ecx
jmp 0x6a8a38
movzx eax, al
movsx eax, byte [eax + 0x79a420]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x6a8a12
cmp edx, ebx
jne 0x6a8a12
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x6a8a69
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0068d76f
leave
ret
Function at 0x6ad253
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x6ad296
call fcn.0069a4a6
mov dword [eax], 0xf
call fcn.0069a4b9
mov dword [eax], 0xd
call fcn.00694493
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
leave
ret
test eax, eax
jne 0x6ad29d
inc eax
jmp 0x6ad28a
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x6ad288
xor eax, eax
cmp ecx, 1
setne al
jmp 0x6ad28a

Function at 0x6b49ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x7ad6f8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6b4a2c
cmp byte [ebx], 0xa
jne 0x6b4a2c
or byte [edi + eax + 0x28], 4
jmp 0x6b4a31
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x6b4b30
mov dl, byte [eax]
cmp dl, 0x1a
je 0x6b4b13
inc eax
cmp dl, 0xd
je 0x6b4a5d
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x6b4a83
cmp eax, ecx
jae 0x6b4a91
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x6b4a45
jmp 0x6b4b30
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6b4b0e
cmp dword [ebp - 0x10], 0
je 0x6b4b0e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x7ad6f8]
test byte [eax + edi + 0x28], 0x48
je 0x6b4ae8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x6b4ad3
mov byte [esi], dl
jmp 0x6b4ae4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x7ad6f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x6b4b30
cmp byte [ebp - 1], 0xa
jne 0x6b4af7
cmp esi, ebx
jne 0x6b4af7
mov byte [esi], 0xa
jmp 0x6b4b2f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.006b3e08
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x6b4b30
mov byte [esi], 0xd
jmp 0x6b4b2f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x7ad6f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x6b4b2d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x6b4b30
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret