joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006d1b
Capabilities:
Get file version info

Disassembly:
push 0x20
push 0x10022650
call fcn.10009be0
mov dword [ebp - 0x2c], edx
mov ebx, ecx
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x10006dcd
push edi
call fcn.100094ed
pop ecx
mov esi, eax
mov dword [ebp - 0x30], esi
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x10006dbf
and dword [ebp - 0x24], 0
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x10020e00
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x10006dbf
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 0xa]
mov ecx, dword [ebp - 0x2c]
mov word [ecx], ax
mov cx, word [edx + 8]
mov eax, dword [ebp + 8]
mov word [eax], cx
mov cx, word [edx + 0xe]
mov eax, dword [ebp + 0xc]
mov word [eax], cx
mov cx, word [edx + 0xc]
mov eax, dword [ebp + 0x10]
mov word [eax], cx
xor edi, edi
inc edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.10006de3
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006def
Capabilities:
Get file version info

Disassembly:
push 0x230
push 0x10022670
call fcn.1001a9e0
mov dword [ebp - 0x238], edx
mov eax, ecx
mov dword [ebp - 0x224], eax
xor edi, edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x228], edi
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
je 0x10006f52
push esi
call fcn.100094ed
pop ecx
mov ebx, eax
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], edi
push ebx
push esi
push dword [ebp - 0x228]
push dword [ebp - 0x224]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
je 0x10006f44
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x230]
push eax
push str.VarFileInfoTranslation
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
je 0x10006f44
mov eax, dword [ebp - 0x224]
shr eax, 2
mov dword [ebp - 0x22c], eax
cmp eax, 1
jne 0x10006f44
push 0x200
push edi
lea eax, [ebp - 0x21c]
push eax
call fcn.1000a7f0
add esp, 0xc
mov dword [ebp - 0x23c], edi
cmp edi, dword [ebp - 0x22c]
jge 0x10006f44
mov ecx, dword [ebp - 0x230]
movzx eax, word [ecx + edi*4 + 2]
push eax
movzx eax, word [ecx + edi*4]
push eax
push str.StringFileInfo_04x_04xFileDescription
push 0x200
lea eax, [ebp - 0x21c]
push eax
call fcn.10001176
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
je 0x10006f44
push dword [ebp - 0x234]
mov edx, 0x104
mov ecx, dword [ebp - 0x238]
call fcn.100010e3
xor esi, esi
inc esi
mov dword [ebp - 0x220], esi
inc edi
jmp 0x10006ebf
mov dword [ebp - 4], 0xfffffffe
call fcn.10006f6e
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007127
Capabilities:
Enumerate processes

Disassembly:
push 0x368
mov eax, 0x1001ab01
call fcn.1001a562
mov dword [ebp - 0x35c], edx
mov dword [ebp - 0x364], ecx
mov eax, dword [0x10029718]
xor esi, esi
push 0x124
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x350]
push esi
push eax
mov dword [ebp - 0x36c], esi
call fcn.1000a7f0
add esp, 0xc
mov dword [ebp - 0x354], 0x128
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x370], edi
cmp edi, 0xffffffff
jne 0x10007191
xor eax, eax
jmp 0x100072bf
lea eax, [ebp - 0x354]
mov dword [ebp - 4], esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100072c5
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push dword [ebp - 0x364]
lea eax, [ebp - 0x330]
push eax
call ebx
test eax, eax
jne 0x100072a0
mov eax, dword [ebp - 0x368]
cmp eax, dword [ebp - 0x34c]
je 0x100072a0
lea eax, [ebp - 0x358]
mov dword [ebp - 0x358], esi
push eax
push dword [ebp - 0x34c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x100072a0
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x358]
jne 0x100072a0
cmp dword [ebp + 0xc], 0
jne 0x10007250
push 0x104
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.1000a7f0
pop ecx
mov ecx, dword [ebp - 0x34c]
lea edx, [ebp - 0x124]
call fcn.100070cd
lea eax, [ebp - 0x124]
pop ecx
pop ecx
push dword [ebp - 0x35c]
push eax
call ebx
test eax, eax
jne 0x100072a0
mov esi, dword [ebp - 0x34c]
jmp 0x100072b6
mov ecx, dword [ebp - 0x34c]
call fcn.10007f36
cmp dword [ebp + 0xc], eax
jne 0x100072a0
push 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.1000a7f0
pop ecx
mov ecx, dword [ebp - 0x34c]
lea edx, [ebp - 0x22c]
call fcn.100070cd
lea eax, [ebp - 0x22c]
jmp 0x10007239
lea eax, [ebp - 0x354]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100071b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.1001a4b4
ret
push 0x10023064
lea eax, [ebp - 0x360]
mov dword [ebp - 0x360], 1
push eax
call fcn.1000a77e
int3
Function at 0x100072e6
Capabilities:
Enumerate processes

Disassembly:
push 0x250
mov eax, 0x1001ab2b
call fcn.1001a562
mov ebx, edx
mov dword [ebp - 0x258], ecx
xor esi, esi
lea eax, [ebp - 0x244]
push 0x124
push esi
push eax
mov dword [ebp - 0x24c], esi
call fcn.1000a7f0
add esp, 0xc
mov dword [ebp - 0x248], 0x128
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x254], edi
cmp edi, 0xffffffff
jne 0x10007341
xor eax, eax
jmp 0x100073f5
lea eax, [ebp - 0x248]
mov dword [ebp - 4], esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100073fb
jmp 0x10007370
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], esi
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x100073d2
cmp ebx, dword [ebp - 0x24c]
jne 0x100073d2
push 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.1000a7f0
pop ecx
mov ecx, dword [ebp - 0x240]
lea edx, [ebp - 0x120]
call fcn.100070cd
pop ecx
pop ecx
push dword [ebp - 0x258]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100073e6
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10007370
jmp 0x100073ec
mov esi, dword [ebp - 0x240]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.1001a4b4
ret
push 0x10023064
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 1
push eax
call fcn.1000a77e
int3

Function at 0x1000741c
Capabilities:
Enumerate processes

Disassembly:
push 0x14c
mov eax, 0x1001ab55
call fcn.1001a562
mov ebx, edx
mov dword [ebp - 0x154], ecx
xor esi, esi
lea eax, [ebp - 0x140]
push 0x124
push esi
push eax
mov dword [ebp - 0x148], esi
call fcn.1000a7f0
add esp, 0xc
mov dword [ebp - 0x144], 0x128
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x150], edi
cmp edi, 0xffffffff
jne 0x10007477
xor eax, eax
jmp 0x10007501
lea eax, [ebp - 0x144]
mov dword [ebp - 4], esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10007507
jmp 0x100074a2
push dword [ebp - 0x154]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100074de
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], esi
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x100074de
cmp ebx, dword [ebp - 0x148]
je 0x100074f2
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100074a2
jmp 0x100074f8
mov esi, dword [ebp - 0x13c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.1001a4b4
ret
push 0x10023064
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], 1
push eax
call fcn.1000a77e
int3
Function at 0x10007528
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10025014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x28
push edx
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100075a1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100075a1
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100075a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x514
setne cl
mov eax, ecx
jmp 0x100075a3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10008f85
leave
ret

Function at 0x10007659
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
call fcn.10007617
lea esi, [eax - 1]
neg esi
lea eax, [ebp - 4]
push eax
sbb esi, esi
xor ebx, ebx
and esi, 0x100
add esi, 0xf013f
push esi
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100076b6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ebx
push str.REG_BINARY
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x100076d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x100076dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, edx
mov dword [ebp - 8], 0x104
call fcn.10007617
dec eax
lea ecx, [ebp - 4]
neg eax
push ecx
sbb eax, eax
and eax, 0x100
add eax, 0x20119
push eax
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000773b
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x1000773e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0x1e051f0e
call fcn.100094ed
push edi
mov esi, eax
xor ebx, ebx
push ebx
push esi
mov dword [ebp - 0x14], esi
call fcn.1000a7f0
add esp, 0x10
test edi, edi
jle 0x10007797
mov edx, dword [ebp - 8]
sub edx, esi
mov al, byte [edx + esi]
mov ecx, ebx
xor al, byte [ebp + ebx - 4]
xor ebx, ebx
mov byte [esi], al
inc esi
cmp ecx, 3
cmovne ebx, ecx
inc ebx
sub edi, 1
jne 0x10007777
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push edi
push esi
push dword [ebp - 8]
call fcn.1000be70
push esi
call fcn.10008f93
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100077af
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10025014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x104
push esi
push eax
mov dword [ebp - 0x10c], eax
mov edi, ecx
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x108]
push eax
call fcn.1000a7f0
add esp, 0xc
lea ecx, [ebp - 0x108]
mov edx, esi
push dword [0x10021bdc]
call fcn.100010e3
lea edx, [ebp - 0x108]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10007807
sub edx, ecx
lea ecx, [ebp - 0x108]
call fcn.1000773e
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10007879
call ebx
cmp eax, 0xe7
jne 0x10007867
push 0x2710
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x100078e5
jmp 0x10007870
call ebx
cmp eax, 0xe7
jne 0x100078e5
cmp dword [0x1002851c], 0
jne 0x10007821
xor ebx, ebx
lea eax, [ebp - 0x10c]
push ebx
push eax
push 0x114
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100078de
push 0x114
push ebx
push edi
call fcn.1000a7f0
add esp, 0xc
lea eax, [ebp - 0x110]
push ebx
push eax
push 0x114
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100078de
lea ecx, [edi + 0x10]
mov edx, ecx
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100078c4
sub edx, edi
call fcn.1000773e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x100078e7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008f85
leave
ret
Function at 0x100078f6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], ebx
call fcn.100075b0
cmp eax, 1
jne 0x10007946
push str.NtCreateThreadEx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007974
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 4]
push esi
push edi
push ebx
push 0x1fffff
push ecx
call eax
mov eax, dword [ebp - 4]
jmp 0x10007958
push ebx
push ebx
push dword [ebp + 8]
push esi
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x10007974
push 0xd80
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x10007976
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007a28
Capabilities:
Resolve dns

Disassembly:
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10007a3f
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x10007a3f
mov eax, dword [eax]
ret
xor eax, eax
ret

Function at 0x10007a85
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
or ebx, 0xffffffff
mov dword [ebp - 8], edx
cmp dword [0x10028514], 1
push esi
jne 0x10007b23
lea eax, [ebp - 4]
xor esi, esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 1
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsA]
test eax, eax
je 0x10007b23
mov eax, esi
cmp dword [ebp - 4], eax
jbe 0x10007b23
mov ecx, dword [ebp - 0xc]
push edi
mov esi, ecx
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x14], 0
je 0x10007ae2
inc eax
add ecx, 0xc
cmp eax, dword [ebp - 4]
jb 0x10007ac9
jmp 0x10007b22
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x10007b22
lea eax, [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
push 5
push ebx
push ecx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationA]
test eax, eax
je 0x10007b19
push dword [ebp - 8]
mov edx, 0x104
mov ecx, esi
call fcn.100010e3
push dword [ebp - 8]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x10007ed4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x58]
mov esi, ecx
push 0
push eax
or ebx, 0xffffffff
call fcn.1000a7f0
xor eax, eax
mov dword [ebp - 0x58], edi
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x2c], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10007f2f
cmp dword [ebp - 0x10], ebx
cmovne ebx, dword [ebp - 0x10]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x10008190
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 4
mov eax, 0x1001ac31
call fcn.1001a4c3
mov edi, ecx
call fcn.1000824c
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x10008242
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x1000823c
lea esi, [edi + 4]
push esi
push 0x1001b390
push 1
push ebx
push 0x1001b380
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1000823c
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.10007f98
mov dword [ebp - 4], ebx
mov edx, dword [eax]
test edx, edx
je 0x100081fe
mov edx, dword [edx]
jmp 0x10008200
mov edx, ebx
mov eax, dword [esi]
push edi
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.10008047
test esi, esi
js 0x1000823c
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1000823c
mov byte [edi + 8], 1
mov al, 1
jmp 0x10008244
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
call fcn.1001a491
ret 0xc

Function at 0x1001a460
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a48d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a48d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x408c30
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4205d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x42a024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401350
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408c8f
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004012e0
mov eax, dword [ebp - 0x18]
jmp 0x408d01
push 4
lea ecx, [ebp - 0x14]
call fcn.00402890
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401190
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401960
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00401190
call fcn.00408c30
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004012e0
push 0
lea ecx, [ebp + 8]
call fcn.00401350
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004012e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409345
mov esp, ebp
pop ebp
ret

Function at 0x416ca2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416b18
Function at 0x839370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x83938e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x862074
push ecx
mov edi, eax
call fcn.0084d198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8393cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0084d02e
push esi
call fcn.0084cfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x83c850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x83c8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x867720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x83c8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0084d1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x83c8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x867720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x83c92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0084e082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x83c957
mov word [eax], si
add eax, 2
push eax
call fcn.0084e030
add esp, 4
jmp 0x83c959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x83c8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x83c8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x83cff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret