joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
push 0
lea eax, [ebp - 0x480]
push eax
call fcn.100bc780
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x480]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100167d7
xor al, al
jmp 0x10016a1b
mov edx, 0x4d
mov word [ebp - 0x80], dx
mov eax, 0x69
mov word [ebp - 0x7e], ax
mov ecx, 0x63
mov word [ebp - 0x7c], cx
mov edx, 0x72
mov word [ebp - 0x7a], dx
mov eax, 0x6f
mov word [ebp - 0x78], ax
mov ecx, 0x73
mov word [ebp - 0x76], cx
mov edx, 0x6f
mov word [ebp - 0x74], dx
mov eax, 0x66
mov word [ebp - 0x72], ax
mov ecx, 0x74
mov word [ebp - 0x70], cx
mov edx, 0x5c
mov word [ebp - 0x6e], dx
mov eax, 0x49
mov word [ebp - 0x6c], ax
mov ecx, 0x6e
mov word [ebp - 0x6a], cx
mov edx, 0x74
mov word [ebp - 0x68], dx
mov eax, 0x65
mov word [ebp - 0x66], ax
mov ecx, 0x72
mov word [ebp - 0x64], cx
mov edx, 0x6e
mov word [ebp - 0x62], dx
mov eax, 0x65
mov word [ebp - 0x60], ax
mov ecx, 0x74
mov word [ebp - 0x5e], cx
mov edx, 0x20
mov word [ebp - 0x5c], dx
mov eax, 0x45
mov word [ebp - 0x5a], ax
mov ecx, 0x78
mov word [ebp - 0x58], cx
mov edx, 0x70
mov word [ebp - 0x56], dx
mov eax, 0x6c
mov word [ebp - 0x54], ax
mov ecx, 0x6f
mov word [ebp - 0x52], cx
mov edx, 0x72
mov word [ebp - 0x50], dx
mov eax, 0x65
mov word [ebp - 0x4e], ax
mov ecx, 0x72
mov word [ebp - 0x4c], cx
mov edx, 0x5c
mov word [ebp - 0x4a], dx
mov eax, 0x51
mov word [ebp - 0x48], ax
mov ecx, 0x75
mov word [ebp - 0x46], cx
mov edx, 0x69
mov word [ebp - 0x44], dx
mov eax, 0x63
mov word [ebp - 0x42], ax
mov ecx, 0x6b
mov word [ebp - 0x40], cx
mov edx, 0x20
mov word [ebp - 0x3e], dx
mov eax, 0x4c
mov word [ebp - 0x3c], ax
mov ecx, 0x61
mov word [ebp - 0x3a], cx
mov edx, 0x75
mov word [ebp - 0x38], dx
mov eax, 0x6e
mov word [ebp - 0x36], ax
mov ecx, 0x63
mov word [ebp - 0x34], cx
mov edx, 0x68
mov word [ebp - 0x32], dx
mov eax, 0x5c
mov word [ebp - 0x30], ax
mov ecx, 0x55
mov word [ebp - 0x2e], cx
mov edx, 0x73
mov word [ebp - 0x2c], dx
mov eax, 0x65
mov word [ebp - 0x2a], ax
mov ecx, 0x72
mov word [ebp - 0x28], cx
mov edx, 0x20
mov word [ebp - 0x26], dx
mov eax, 0x50
mov word [ebp - 0x24], ax
mov ecx, 0x69
mov word [ebp - 0x22], cx
mov edx, 0x6e
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x64
mov word [ebp - 0x1a], dx
mov eax, 0x5c
mov word [ebp - 0x18], ax
mov ecx, 0x54
mov word [ebp - 0x16], cx
mov edx, 0x61
mov word [ebp - 0x14], dx
mov eax, 0x73
mov word [ebp - 0x12], ax
mov ecx, 0x6b
mov word [ebp - 0x10], cx
mov edx, 0x42
mov word [ebp - 0xe], dx
mov eax, 0x61
mov word [ebp - 0xc], ax
mov ecx, 0x72
mov word [ebp - 0xa], cx
xor edx, edx
mov word [ebp - 8], dx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x480]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x480]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002b20
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x10016a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2f18
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x5c]
call fcn.100093e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
push eax
call fcn.10015db0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x10016a95
mov byte [ebp - 0x5d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10002b50
mov al, byte [ebp - 0x5d]
jmp 0x10016c09
lea ecx, [ebp - 0x5c]
call fcn.1002bc70
movzx edx, al
test edx, edx
jne 0x10016ac4
mov byte [ebp - 0x5e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10002b50
mov al, byte [ebp - 0x5e]
jmp 0x10016c09
mov eax, 0x74
mov word [ebp - 0x28], ax
mov ecx, 0x61
mov word [ebp - 0x26], cx
mov edx, 0x73
mov word [ebp - 0x24], dx
mov eax, 0x6b
mov word [ebp - 0x22], ax
mov ecx, 0x62
mov word [ebp - 0x20], cx
mov edx, 0x61
mov word [ebp - 0x1e], dx
mov eax, 0x72
mov word [ebp - 0x1c], ax
mov ecx, 0x70
mov word [ebp - 0x1a], cx
mov edx, 0x69
mov word [ebp - 0x18], dx
mov eax, 0x6e
mov word [ebp - 0x16], ax
xor ecx, ecx
mov word [ebp - 0x14], cx
mov edx, 0x74
mov word [ebp - 0x44], dx
mov eax, 0x61
mov word [ebp - 0x42], ax
mov ecx, 0x73
mov word [ebp - 0x40], cx
mov edx, 0x6b
mov word [ebp - 0x3e], dx
mov eax, 0x62
mov word [ebp - 0x3c], ax
mov ecx, 0x61
mov word [ebp - 0x3a], cx
mov edx, 0x72
mov word [ebp - 0x38], dx
mov eax, 0x75
mov word [ebp - 0x36], ax
mov ecx, 0x6e
mov word [ebp - 0x34], cx
mov edx, 0x70
mov word [ebp - 0x32], dx
mov eax, 0x69
mov word [ebp - 0x30], ax
mov ecx, 0x6e
mov word [ebp - 0x2e], cx
xor edx, edx
mov word [ebp - 0x2c], dx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10016ba6
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x64], ecx
jmp 0x10016bac
lea edx, [ebp - 0x44]
mov dword [ebp - 0x64], edx
push 0
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.10002b10
push eax
mov eax, dword [ebp - 0x64]
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x20
jle 0x10016bd9
mov dword [ebp - 0x68], 1
jmp 0x10016be0
mov dword [ebp - 0x68], 0
mov cl, byte [ebp - 0x68]
mov byte [ebp - 0x5f], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10002b50
mov al, byte [ebp - 0x5f]
jmp 0x10016c09
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x100174d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3098
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x54]
call fcn.100093e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
call fcn.10015db0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x10017535
mov byte [ebp - 0x55], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10002b50
mov al, byte [ebp - 0x55]
jmp 0x10017685
lea ecx, [ebp - 0x54]
call fcn.1002bc70
movzx edx, al
test edx, edx
jne 0x10017564
mov byte [ebp - 0x56], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10002b50
mov al, byte [ebp - 0x56]
jmp 0x10017685
mov eax, 0x73
mov word [ebp - 0x24], ax
mov ecx, 0x74
mov word [ebp - 0x22], cx
mov edx, 0x61
mov word [ebp - 0x20], dx
mov eax, 0x72
mov word [ebp - 0x1e], ax
mov ecx, 0x74
mov word [ebp - 0x1c], cx
mov edx, 0x70
mov word [ebp - 0x1a], dx
mov eax, 0x69
mov word [ebp - 0x18], ax
mov ecx, 0x6e
mov word [ebp - 0x16], cx
xor edx, edx
mov word [ebp - 0x14], dx
mov eax, 0x73
mov word [ebp - 0x3c], ax
mov ecx, 0x74
mov word [ebp - 0x3a], cx
mov edx, 0x61
mov word [ebp - 0x38], dx
mov eax, 0x72
mov word [ebp - 0x36], ax
mov ecx, 0x74
mov word [ebp - 0x34], cx
mov edx, 0x75
mov word [ebp - 0x32], dx
mov eax, 0x6e
mov word [ebp - 0x30], ax
mov ecx, 0x70
mov word [ebp - 0x2e], cx
mov edx, 0x69
mov word [ebp - 0x2c], dx
mov eax, 0x6e
mov word [ebp - 0x2a], ax
xor ecx, ecx
mov word [ebp - 0x28], cx
movzx edx, byte [ebp + 8]
test edx, edx
je 0x10017622
lea eax, [ebp - 0x24]
mov dword [ebp - 0x5c], eax
jmp 0x10017628
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x5c], ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10002b10
push eax
mov edx, dword [ebp - 0x5c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x20
jle 0x10017655
mov dword [ebp - 0x60], 1
jmp 0x1001765c
mov dword [ebp - 0x60], 0
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x57], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10002b50
mov al, byte [ebp - 0x57]
jmp 0x10017685
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x10018a40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.100bc780
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10018aa1
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x408], esp
lea edx, [ebp - 0x404]
push edx
call fcn.10009390
call fcn.10018580
add esp, 0x1c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x1001b8d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e34f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x50]
call fcn.100091e0
mov dword [ebp - 4], 0
mov eax, 0x32
mov word [ebp - 0x34], ax
mov ecx, 0x33
mov word [ebp - 0x32], cx
mov edx, 0x34
mov word [ebp - 0x30], dx
mov eax, 0x35
mov word [ebp - 0x2e], ax
mov ecx, 0x45
mov word [ebp - 0x2c], cx
mov edx, 0x78
mov word [ebp - 0x2a], dx
mov eax, 0x70
mov word [ebp - 0x28], ax
mov ecx, 0x6c
mov word [ebp - 0x26], cx
mov edx, 0x6f
mov word [ebp - 0x24], dx
mov eax, 0x72
mov word [ebp - 0x22], ax
mov ecx, 0x65
mov word [ebp - 0x20], cx
mov edx, 0x72
mov word [ebp - 0x1e], dx
mov eax, 0x2e
mov word [ebp - 0x1c], ax
mov ecx, 0x65
mov word [ebp - 0x1a], cx
mov edx, 0x78
mov word [ebp - 0x18], dx
mov eax, 0x65
mov word [ebp - 0x16], ax
xor ecx, ecx
mov word [ebp - 0x14], cx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.1001b530
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x1001b9c8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10009220
jmp 0x1001ba9a
lea ecx, [ebp - 0x50]
call fcn.1000c490
movzx edx, al
test edx, edx
jne 0x1001ba13
push 0
lea ecx, [ebp - 0x50]
call fcn.1001c160
mov eax, dword [eax]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1001ba13
push 0xbb8
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.10009210
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x44]
call fcn.10009200
mov dword [ebp - 0x54], eax
jmp 0x1001ba3a
mov ecx, dword [ebp - 0x38]
add ecx, 4
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x54]
je 0x1001ba8b
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
push edx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x1001ba89
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x7530
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001ba31
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10009220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x1001c8a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x10125d8d]
test eax, eax
je 0x1001c8c4
cmp dword [0x10125d88], 0
jne 0x1001c8c9
jmp 0x1001c98e
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.1001c6d0
add esp, 4
movzx edx, al
test edx, edx
je 0x1001c98e
cmp dword [ebp - 0x20], 0
je 0x1001c98e
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0x1b], 0x6d
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x67
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x4f
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 9], 0x55
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [0x10125d88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1001c97d
mov edx, dword [ebp - 0x20]
push edx
call dword [ebp - 0x24]
test eax, eax
je 0x1001c97d
mov byte [0x10125d8c], 1
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret

Function at 0x1001c9a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x10125d8c]
test eax, eax
je 0x1001c9c4
cmp dword [0x10125d88], 0
jne 0x1001c9c6
jmp 0x1001ca22
mov byte [ebp - 0x14], 0x52
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x76
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x54
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x66
mov byte [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [0x10125d88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1001ca22
call dword [ebp - 0x18]
test eax, eax
je 0x1001ca22
mov byte [0x10125d8c], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x1001fca0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3cb9
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x864], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1002fd00
movzx eax, al
test eax, eax
jne 0x1001fdfc
lea ecx, [ebp - 0x828]
call fcn.100093e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.1002fd10
lea ecx, [ebp - 0x828]
call fcn.1002bd80
movzx ecx, al
test ecx, ecx
jne 0x1001fd22
lea ecx, [ebp - 0x828]
call fcn.1002fcf0
xor ecx, ecx
call fcn.10003600
push eax
call fcn.100c9f85
add esp, 4
push 0x800
push 0
lea edx, [ebp - 0x810]
push edx
call fcn.100bc780
add esp, 0xc
lea eax, [ebp - 0x858]
push eax
call fcn.1001f8e0
add esp, 4
mov dword [ebp - 0x85c], eax
mov ecx, dword [ebp - 0x85c]
mov dword [ebp - 0x860], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x860]
call fcn.10002b10
push eax
lea ecx, [ebp - 0x828]
call fcn.10002b10
push eax
push str._ws_ws.bak
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.10002b50
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.10009390
mov byte [ebp - 4], 3
lea edx, [ebp - 0x840]
lea ecx, [ebp + 8]
call fcn.1002c280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x840]
call fcn.10002b50
push 4
push 0
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x828]
call fcn.10002b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10022880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e40b6
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.100bb1c0
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x1028]
call fcn.100093e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x102c]
call fcn.100384a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x102c]
call fcn.10038bd0
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.100bc780
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x1010]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10022924
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1028]
call fcn.10002b20
lea ecx, [ebp - 0x102c]
call fcn.10038ed0
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp + 8]
call fcn.10009b40
mov ecx, dword [ebp - 0x1030]
or ecx, 1
mov dword [ebp - 0x1030], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x102c]
call fcn.10038520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.10002b50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x10022a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x10022ab0
xor eax, eax
jmp 0x10022c8c
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x48]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 0x54], 0
mov eax, 0x41
mov word [ebp - 0x38], ax
mov ecx, 0x44
mov word [ebp - 0x36], cx
mov edx, 0x56
mov word [ebp - 0x34], dx
mov eax, 0x41
mov word [ebp - 0x32], ax
mov ecx, 0x50
mov word [ebp - 0x30], cx
mov edx, 0x49
mov word [ebp - 0x2e], dx
mov eax, 0x33
mov word [ebp - 0x2c], ax
mov ecx, 0x32
mov word [ebp - 0x2a], cx
mov edx, 0x2e
mov word [ebp - 0x28], dx
mov eax, 0x64
mov word [ebp - 0x26], ax
mov ecx, 0x6c
mov word [ebp - 0x24], cx
mov edx, 0x6c
mov word [ebp - 0x22], dx
xor eax, eax
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x57
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x68
mov byte [ebp - 0xb], 0x54
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x57
mov byte [ebp - 5], 0
cmp dword [ebp - 0x50], 0
je 0x10022c89
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x10022c7f
push 0x44
push 0
lea ecx, [ebp - 0xac]
push ecx
call fcn.100bc780
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0xac], 0x44
mov eax, 5
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100c9ffb
add esp, 4
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xac]
push eax
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 1
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x4c], 0
je 0x10022c65
mov eax, dword [ebp - 0x4c]
push eax
call fcn.100bf53e
add esp, 4
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x54], 0
je 0x10022c7f
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x10022eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4148
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10022990
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10022ef8
cmp dword [ebp - 0x2c], 0
jne 0x10022efd
jmp 0x10022faf
mov ecx, dword [ebp + 8]
call fcn.10002b10
push eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10022a90
add esp, 8
test eax, eax
jne 0x10022fa5
push 0x44
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.100bc780
add esp, 0xc
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x54], 1
mov ecx, 5
mov word [ebp - 0x50], cx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000a930
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10022fd0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10022f96
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b50
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
Function at 0x1002b350
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4586
mov eax, dword fs:[0]
push eax
mov eax, 0x1158
call fcn.100bb1c0
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x115c]
call fcn.1002c9a0
cmp dword [ebp - 0x1158], 6
jb 0x1002b51a
lea eax, [ebp - 0x1164]
mov dword [ebp - 0x1160], 0
push eax
lea eax, [ebp - 0x1160]
mov dword [ebp - 0x1164], 0
push eax
push 5
push 0xffffffffffffffff
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x1002b51a
mov eax, dword [ebp - 0x1160]
test eax, eax
je 0x1002b51a
push eax
lea ecx, [ebp - 0x1040]
call fcn.10009390
mov dword [ebp - 4], 0
push dword [ebp - 0x1160]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.100bc780
add esp, 0xc
lea eax, [ebp - 0x1164]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10009390
lea edx, [ebp - 0x1028]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1040]
call fcn.100120e0
mov bl, al
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x1002b492
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b488
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b536
push edx
push ecx
call fcn.100ba418
add esp, 8
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x102c]
cmp edx, 8
jb 0x1002b4f2
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b4e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b53b
push edx
push ecx
call fcn.100ba418
add esp, 8
xor eax, eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
mov dword [ebp - 4], 0xffffffff
mov al, bl
jmp 0x1002b51c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
call fcn.100bf730
call fcn.100bf730
int3