joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004eb9
Capabilities:
Create process on windows

Disassembly:
push 0x4d4
mov eax, 0x100c1b3b
call fcn.1008268f
mov edi, ecx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 4], 0
mov ecx, eax
call fcn.100033d4
push eax
lea ecx, [ebp - 0x4dc]
call fcn.100040f3
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.100166c6
mov esi, dword [ebp - 0x4dc]
push str.sysclosebutton
push esi
call fcn.10006fd7
pop ecx
pop ecx
test eax, eax
je 0x100050d6
push str.btn_cancel
push esi
call fcn.10006fd7
pop ecx
pop ecx
test eax, eax
je 0x100050d6
push str.sysminbutton
push esi
call fcn.10006fd7
pop ecx
pop ecx
test eax, eax
jne 0x10004f51
push eax
push 0xf020
jmp 0x100050dd
push str.btn_inst
push esi
call fcn.10006fd7
pop ecx
pop ecx
test eax, eax
jne 0x10004fea
mov ecx, dword [edi + 0x6f4]
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.100033d4
push eax
lea ecx, [ebp - 0x4e0]
call fcn.100040f3
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.100166c6
push dword [ebp - 0x4e0]
mov ecx, edi
call fcn.10007122
test eax, eax
jne 0x10004fd0
push eax
push str.msgbox_instpath.xml
push dword [edi + 4]
call fcn.10005216
mov ecx, dword [edi + 0x6f4]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0xf4]
jmp 0x10004fd7
mov ecx, edi
call fcn.1000700d
mov ecx, dword [ebp - 0x4e0]
lea ecx, [ecx - 0x10]
call fcn.10006ad0
jmp 0x100050eb
push str.btn_license
push esi
call fcn.10006fd7
pop ecx
pop ecx
test eax, eax
jne 0x10005027
mov ecx, dword [ebx + 0x108]
push 1
push eax
push eax
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, eax
call fcn.100033d4
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x100050eb
push str.btn_browser
push esi
call fcn.10006fd7
pop ecx
pop ecx
test eax, eax
jne 0x100050bf
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, eax
call fcn.100033d4
push eax
lea ecx, [ebp - 0x4e0]
call fcn.100040f3
push 1
push dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4d8]
push dword [edi + 4]
call fcn.10004075
mov byte [ebp - 4], 7
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.10004e3f
cmp eax, 1
jne 0x100050ae
mov ecx, dword [edi + 0x6f4]
lea edx, [ebp - 0x2a6]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea eax, [ebp - 0x2a6]
mov ecx, edi
push eax
call fcn.10007122
push dword [ebp - 0x9c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10004fd7
push str.btn_ok
push esi
call fcn.10006fd7
pop ecx
pop ecx
test eax, eax
jne 0x100050f1
push eax
push eax
push 0x10
jmp 0x100050e2
push 0
push 0xf060
push 0x112
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp - 0x4dc]
lea ecx, [esi - 0x10]
call fcn.10006ad0
call fcn.10082639
ret 4
Function at 0x10006e1d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 4
pop eax
test esi, esi
lea ebx, [esi - 0x348]
cmove ebx, eax
push eax
mov dword [ebp - 0x14], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 8], 0
mov edi, eax
and dword [ebp - 0xc], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10006f58
lea eax, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x10006ebc
mov ebx, dword [ebp - 4]
lea edi, [esi + 0x1c]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x10006eb0
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x10006eac
xor ebx, ebx
test ebx, ebx
jne 0x10006e86
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x10006f45
test eax, eax
je 0x10006f58
cmp dword [esi + 0x20], 0x10
jne 0x10006ef8
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jne 0x10006ef8
mov eax, dword [esi + 0x24]
push 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x10006f1a
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x20]
cmp eax, 0x12
je 0x10006f58
sub eax, 0xf
je 0x10006f45
sub eax, 0x91
je 0x10006f45
sub eax, 0x78
je 0x10006f45
sub eax, 0xe8
je 0x10006f45
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [esi + 0x1c]
jne 0x10006e7a
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x10006f77
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x1000706a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 4
pop eax
test edi, edi
mov dword [ebp - 0x18], edi
lea ebx, [edi - 0x384]
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10007112
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10007111
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x10007106
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x10007106
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10007106
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.100049db
cmp dword [ebp + 8], 0
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
lea ecx, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x100070fa
push 1
push eax
call fcn.10005880
jmp 0x10007111
push 0x50
push eax
push dword [ebx]
call fcn.10006df3
jmp 0x10007111
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10082613
leave
ret 4

Function at 0x10007122
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x100c1c78
call fcn.1008265b
mov dword [ebp - 0x14], ecx
call fcn.100055e8
push eax
lea ecx, [ebp - 0x10]
call fcn.100040ca
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test edi, edi
je 0x10007199
push edi
call fcn.1000482d
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.10006d7f
push 3
lea ecx, [ebp - 0x10]
call fcn.100064dd
push 3
lea ecx, [ebp - 0x10]
call fcn.10006bc1
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1000719c
push edi
call fcn.1000482d
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push edi
add ecx, 0x704
call fcn.10006d7f
inc ebx
jmp 0x1000719c
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.10006ad0
mov eax, ebx
call fcn.10082624
ret 4
Function at 0x100098fc
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x100c1f73
call fcn.1008265b
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.100040f3
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009992
push eax
jmp 0x10009981
call fcn.100055e8
push eax
lea ecx, [ebp - 0x14]
call fcn.100040ca
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000a275
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10009224
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.10006ad0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009974
push esi
call fcn.10098c0e
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.10006ad0
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.100099a3
mov edi, eax
cmp edi, 0xffffffff
jne 0x10009927
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10006ad0
call fcn.10082624
ret

Function at 0x10009b83
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
push edi
test esi, esi
je 0x10009c4c
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.100852c0
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10009c4c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10009c0c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1008f918
pop ecx
pop ecx
test eax, eax
je 0x10009c12
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10009bec
jmp 0x10009c41
push dword [ebp - 0x228]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x234]
mov esi, eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x10009c4e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10082613
leave
ret 8
Function at 0x10009c5f
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x100c1ade
call fcn.1008265b
call fcn.100055e8
push eax
lea ecx, [ebp - 0x10]
call fcn.100040ca
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.100064dd
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000a5f8
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x10009cc4
mov ecx, dword [ebp + 8]
push 0x100e63d8
call fcn.100040f3
lea ecx, [esi - 0x10]
call fcn.10006ad0
mov eax, dword [ebp + 8]
jmp 0x10009d1d
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10009ae2
cmp ax, 0x5c
je 0x10009ce3
push 1
push 0x100c7c8c
lea ecx, [ebp - 0x10]
call fcn.1000972a
push 8
push str.6789Zip_
lea ecx, [ebp - 0x10]
call fcn.1000972a
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x10009d02
push esi
call fcn.100098fc
pop ecx
lea edi, [esi - 0x10]
push edi
call fcn.100097d1
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, edi
mov dword [esi], eax
call fcn.10006ad0
mov eax, esi
call fcn.10082624
ret
Function at 0x1000a67c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1000a68e
push 0xd
pop eax
jmp 0x1000a6c0
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000a697
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1000addf
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1000af3a
push edi
push 0x29
pop edi
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1000af38
cmp eax, edi
jne 0x1000ae20
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x1000af38
cmp eax, edi
jne 0x1000ae20
test dword [esi + 0x50], edx
je 0x1000af46
cmp eax, 0x2e
jne 0x1000ae3b
push 5
lea ecx, [esi + 0x24]
call fcn.1000ccb7
mov ecx, esi
call fcn.1000ccf5
jmp 0x1000af23
cmp eax, 0x5c
jne 0x1000ae90
mov ecx, esi
call fcn.1000ccf5
test byte [esi + 0x50], 0x80
je 0x1000ae84
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1000ae6c
push 4
lea ecx, [esi + 0x24]
call fcn.1000ccb7
mov ecx, esi
call fcn.1000ccf5
jmp 0x1000af2a
cmp eax, 0x42
jne 0x1000ae84
push 4
lea ecx, [esi + 0x24]
call fcn.1000ccb7
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1000ae60
mov ecx, esi
call fcn.1000af50
jmp 0x1000af23
cmp eax, 0x5b
jne 0x1000aeb0
mov ecx, esi
call fcn.1000ccf5
mov ecx, esi
call fcn.1000b5c5
cmp dword [esi + 0x4c], 0x5d
je 0x1000ae2f
push 4
jmp 0x1000af48
cmp eax, 0x28
jne 0x1000aecc
mov ecx, esi
call fcn.1000ccf5
mov ecx, esi
call fcn.1000d314
mov bl, al
cmp dword [esi + 0x4c], edi
jne 0x1000af46
jmp 0x1000af18
cmp eax, 0x5e
jne 0x1000aed5
push 2
jmp 0x1000ae58
cmp eax, 0x24
jne 0x1000aee1
push 3
jmp 0x1000ae58
cmp eax, 0x2a
je 0x1000af42
cmp eax, 0x2b
je 0x1000af42
cmp eax, 0x3f
je 0x1000af42
cmp eax, 0x7b
je 0x1000af42
cmp eax, 0x7d
jne 0x1000aeff
test dword [esi + 0x50], edx
je 0x1000af3e
cmp eax, 0x5d
jne 0x1000af09
test dword [esi + 0x50], edx
je 0x1000aea9
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000a70c
mov bl, 1
mov ecx, esi
call fcn.1000ccf5
test bl, bl
je 0x1000af2a
mov ecx, esi
call fcn.1000cd24
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x1000adf5
pop ebx
pop edi
mov al, cl
pop esi
ret
push 6
jmp 0x1000af48
push 0xa
jmp 0x1000af48
push 5
mov ecx, esi
call fcn.1000c3dd
int3

Function at 0x1000e56b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x100f9044], 0
mov eax, dword [ebp + 0xc]
mov dword [0x100fb868], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100fb864], eax
mov eax, dword [ebp + 0x10]
mov dword [0x100fb860], eax
je 0x1000e5aa
xor eax, eax
push eax
push eax
push eax
push 0x1000db52
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100f9048], eax
test eax, eax
jne 0x1000e5b6
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [eax + 0xc], 1
pop ebp
ret
Function at 0x1000f04b
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x100c2399
call fcn.1008265b
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
call fcn.100055e8
push eax
lea ecx, [ebp - 0x10]
call fcn.100040ca
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
call fcn.1000ef33
add esp, 0xc
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f151
mov byte [ebp - 4], 2
call fcn.100055e8
push eax
lea ecx, [ebp - 0x18]
call fcn.100040ca
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push str._startby_d
push eax
call fcn.100054ec
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push esi
push dword [ebp + 0x10]
push str._s__s
push eax
call fcn.100054ec
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
call fcn.10006ad0
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.100852c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1000f154
mov eax, dword [ebp - 0x20]
cmp dword [ebp + 0x14], ebx
je 0x1000f145
test eax, eax
je 0x1000f145
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edi, [eax - 0x102]
mov eax, dword [ebp - 0x20]
neg edi
sbb edi, edi
inc edi
jmp 0x1000f148
xor edi, edi
inc edi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000f154
mov esi, dword [ebp - 0x10]
push ebx
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10055201
mov ecx, eax
call fcn.100576d8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10006ad0
lea ecx, [esi - 0x10]
call fcn.10006ad0
mov eax, edi
call fcn.10082624
ret

Function at 0x1000fcb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x1000fccf
push 0xfffffffffffffff3
pop eax
jmp 0x1000fcfb
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
test eax, eax
push 0xfffffffffffffff2
pop edi
cmovne edi, ecx
je 0x1000fcf1
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x1000ff0f
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.100828c0
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x802
push esi
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.100852c0
push esi
lea eax, [ebp - 0x100c]
push 0
push eax
call fcn.100852c0
add esp, 0x18
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000ffda
push 0x400
lea eax, [ebp - 0x808]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x808], 0
je 0x1000ffda
push 0x400
lea eax, [ebp - 0x100c]
xor esi, esi
push eax
lea eax, [ebp - 0x808]
push eax
push 2
push esi
push edi
call fcn.1005a428
mov ecx, ebx
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1000ffb3
sub ecx, edx
lea eax, [ebp - 0x100c]
sar ecx, 1
push ecx
push ebx
push eax
call fcn.100a482d
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1000ffdc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10082613
leave
ret

Function at 0x1000ffeb
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10010017
push 0xfffffffffffffff2
pop eax
jmp 0x10010062
push edi
lea eax, [ebp - 0x20]
xor edi, edi
push eax
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [ebp - 0x14]
push eax
push str.SeLoadDriverPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 2
pop eax
push edi
push edi
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
neg eax
pop edi
sbb eax, eax
and eax, 0xe
add eax, 0xfffffff2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10082613
leave
ret

Function at 0x1001006e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x100c86d4
push dword [ebp + 8]
xor esi, esi
call fcn.1009aa2e
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x1001008f
push 0xfffffffffffffffe
pop eax
jmp 0x100100c6
push esi
push 0xc
push edi
call fcn.1009b2ca
add esp, 0xc
test eax, eax
je 0x100100a4
push 0xfffffffffffffff3
pop esi
jmp 0x100100bd
push edi
push 1
push 8
push dword [ebp + 0xc]
call fcn.1009ae2f
add esp, 0x10
cmp eax, 1
push 0xfffffffffffffff3
pop ecx
cmovne esi, ecx
push edi
call fcn.1009ab77
pop ecx
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x100100ca
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x228
mov dword [ebp - 0x234], eax
xor esi, esi
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push esi
push eax
call fcn.100852c0
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001011d
push 0xfffffffffffffff2
pop eax
jmp 0x10010175
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1001016c
push ebx
mov ebx, dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x1001015a
push dword [ebp - 0x234]
push ebx
call fcn.1000ff0f
pop ecx
pop ecx
test eax, eax
je 0x1001015a
push ebx
call fcn.1000fcb0
pop ecx
or esi, eax
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001012f
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10082613
leave
ret

Function at 0x10012355
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.10011fd8
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10012379
push 2
pop eax
jmp 0x100123dd
push ebx
push edi
call fcn.10011fd8
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x10012392
push 0xd
pop esi
jmp 0x100123d3
push edi
call fcn.10011fd8
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
test ecx, ecx
je 0x1001238d
mov eax, dword [ebp + 0x14]
push 8
pop edx
cmp ecx, dword [eax]
mov dword [eax], ecx
cmova esi, edx
test esi, esi
jne 0x100123d3
cmp dword [ebp + 0x10], esi
jne 0x100123bf
push 0x57
jmp 0x1001238f
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp + 0x10]
call fcn.100847c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100123e1
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x94
mov eax, 0x100c26c7
call fcn.1008268f
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
call fcn.10011fed
push eax
lea ecx, [ebp - 0x94]
call fcn.10016597
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call fcn.100169df
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.100033d4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10012455
push 2
pop esi
jmp 0x100124b8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x10012468
push 0xd
pop esi
jmp 0x100124b1
mov eax, dword [ebp - 0x9c]
xor esi, esi
push 8
pop ecx
cmp edi, dword [eax]
mov dword [eax], edi
cmova esi, ecx
test esi, esi
jne 0x100124b1
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x1001248c
push 0x57
jmp 0x10012465
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x98], edi
push 0xc
pop eax
cmovne esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x94]
call fcn.100166c6
mov eax, esi
call fcn.10082639
ret

Function at 0x100125dd
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x10012600
or esi, 1
push 1
call edi
test ax, ax
jns 0x1001260c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x10012618
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x10012624
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret