joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c6e2
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x44cd7c
call fcn.00411f55
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x40c703
push dword [esi + 0x1c]
call fcn.00437cf2
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040af99
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004340ee
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x40c787
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040af99
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040af99
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.00401e81
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00401e81
sub edi, 1
jns 0x40c731
mov ecx, esi
call fcn.0040c396
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.00401e81
call fcn.00411eff
ret

Function at 0x40c7a0
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x44cd7c
call fcn.00411f55
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x40c7c1
push dword [esi + 0x1c]
call fcn.00437cf2
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040af99
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004340ee
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x40c845
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040af99
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040af99
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.00401e81
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00401e81
sub edi, 1
jns 0x40c7ef
mov ecx, esi
call fcn.0040c42d
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.00401e81
call fcn.00411eff
ret
Function at 0x40d29d
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x3c
mov eax, 0x44ce24
call fcn.00411f55
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x40d2c0
xor al, al
jmp 0x40d380
lea edi, [ecx + 4]
cmp dword [edi + 0x10], 0
ja 0x40d2e3
lea eax, [ebp - 0x40]
push eax
call fcn.0040d94a
pop ecx
push eax
mov ecx, edi
call fcn.00403e51
lea ecx, [ebp - 0x40]
call fcn.00401e81
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
push edi
call fcn.00401d9d
xor edi, edi
lea ecx, [ebp - 0x28]
push str.Software_
mov dword [ebp - 4], edi
call fcn.00404473
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.00404473
test ebx, ebx
je 0x40d32b
push 0x4503a4
lea ecx, [ebp - 0x28]
call fcn.00404473
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404473
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push ecx
push 0xf003f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], edi
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d376
test esi, esi
je 0x40d363
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x40d36d
push edi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.00401e81
mov al, 1
call fcn.00411eff
ret 0xc
Function at 0x40d65c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x469030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], ebx
ja 0x40d6b4
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d94a
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.00403e51
lea ecx, [ebp - 0x1c]
call fcn.00401e81
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x40d6bf
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
push eax
push 0x80000003
call esi
test eax, eax
je 0x40d6e2
xor al, al
jmp 0x40d79b
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push 0x450c18
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x40d705
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d6db
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x40d737
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x40d6db
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40d78a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40d75c
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call esi
mov bl, 1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411755
leave
ret 0x10
Function at 0x40d7fc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x44ce97
call fcn.00411f21
and dword [ebp - 0x20], 0
xor eax, eax
mov ebx, dword [ebp + 8]
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
and dword [ebp - 4], eax
push 0x208
mov dword [ebp - 0x20], 1
call fcn.00412095
mov edx, eax
xor eax, eax
pop ecx
mov ecx, 0x82
mov dword [ebp - 0x14], edx
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, 0x20019
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40d902
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x40d8f9
cmp dword [ebp - 0x10], 0x104
jbe 0x40d8ca
push dword [ebp - 0x14]
call fcn.0041209e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412095
mov edi, eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x14], edi
push eax
push esi
push edi
call fcn.004039a6
add esp, 0x14
jmp 0x40d8cd
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov ecx, ebx
mov esi, eax
push edi
call fcn.0040202e
push edi
call fcn.0041209e
mov edi, dword [ebp - 0x1c]
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
pop eax
cmp esi, eax
jne 0x40d924
cmp dword [ebp + 0xc], 0x80000002
jne 0x40d924
cmp edi, 0x20019
jne 0x40d924
mov edi, 0x20119
jmp 0x40d849
mov eax, ebx
call fcn.00411eea
ret

Function at 0x40db13
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x469030]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40db99
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00428d60
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40db99
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40db8e
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0043884d
pop ecx
pop ecx
test eax, eax
je 0x40dba9
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40db6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00411755
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x40db9b
Function at 0x40f05b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x40f08b
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x40f08a
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x40f07a
pop edi
pop esi
pop ebp
ret 8

Function at 0x40f2ac
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x44cf93
call fcn.00411f21
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xf
mov byte [eax], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
cmp dword [ebp + 0x10], ebx
je 0x40f437
mov eax, dword [ebp + 0x10]
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x40f37d
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x469020], 0x10
mov ecx, 0x46900c
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x46900c]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.00406121
inc edi
cmp edi, 4
jl 0x40f345
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x40f2e7
mov dword [ebp + 0x10], edi
test edi, edi
je 0x40f434
mov eax, edi
cmp edi, esi
jge 0x40f3b3
cmp eax, esi
jae 0x40f43d
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x40f39b
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x40f41f
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x469020], 0x10
mov ecx, 0x46900c
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x46900c]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.00406121
inc ebx
cmp ebx, edi
jl 0x40f3f0
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x40f434
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.00406121
sub esi, 1
jne 0x40f425
mov eax, dword [ebp + 8]
call fcn.00411eea
ret
call fcn.00412207
int3

Function at 0x4132b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x43f27a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ef3d

Function at 0x43f285
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043f0be

Function at 0x441f23
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441be3
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
add eax, 0x70469131
push esi
or eax, 0xb2ca4045
mov ds, ebp
cli
pop ss
fucomp st(5)
inc ebp
push esp
retf 0xcc16
je 0x414a82
out 0xf1, al
mov ds, ebp
fld xword [ebp + edi*2 + 0x22]
inc edi
daa
xchg esp, eax
in al, 0x17
jle 0x414ae7
arpl word [edx], dx
scasd eax, dword es:[edi]
sbb edx, esi
shr ah, 1
jno 0x414b18
in al, 0x46
or esp, edi
in al, dx
push ecx
and edx, ecx
mov dh, 0x68
invalid
adc dh, byte [edx - 0x11]
jno 0x414ab6
inc edx
push ecx
mov ds, ebp
cli
cmc
mov ds, ebp
in eax, dx
push ss
popal
inc edx
push ebx
scasb al, byte es:[edi]
cdq
xchg esp, eax
push ecx
mov gs, ebx
shr dword [esi - 0x51eddd8f], 1
jno 0x414b2a
adc ch, byte [esi - 0x51eddd8f]
and dl, byte [edx]
scasb al, byte es:[edi]
jno 0x414b32
in eax, dx
push ecx
mov ds, ebp
adc ch, byte [esi + 0x51ed2271]
in eax, dx
push ecx
mov ds, ebp
adc ch, byte [esi - 0x51eddd8f]
jno 0x414b46
adc ch, byte [esi - 0x51eddd8f]
into
push ss
imul esi, dword [ebp + 6], 0x223306fe
xor esp, dword [edx]
sbb edx, dword [ebp + 0x3e]
dec edx
adc bl, dh
xor byte [edx], ah
pop esp
jmp 0x94d2460b
adc dword [edi + 0x3b], esp
push ecx
aaa
wait
adc bh, byte [esi + 0x69932231]
jo 0x414b76
adc ch, byte [esi - 0x27043310]
jns 0x414b1c
xchg ebx, eax
inc eax
jo 0x414b82
adc ch, byte [esi - 0x10a6fd35]
jno 0x414b0b
std
or al, 0xbd
push ss
scasd eax, dword es:[edi]
mov cs, edx
cmp dword [esi - 0x7b56dd8f], ebp
sbb al, 0xf9
xlatb
neg dword [eax - 0x2c]
cdq
mov edx, 0xaad6a155
invalid

Function at 0x414df1
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], ecx
add edx, 4
cmp edx, esi
jne fcn.00414df1
add eax, eax
ret
Function at 0xd9d370
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 0xd9d38e
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 0xdc6074
push ecx
mov edi, eax
call fcn.00db1198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd9d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00db102e
push esi
call fcn.00db0fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xda0850
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 0xda08ae
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 0xdcb720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xda08ba
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.00db11e1
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 0xda08ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xdcb720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xda092a
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.00db2082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xda0957
mov word [eax], si
add eax, 2
push eax
call fcn.00db2030
add esp, 4
jmp 0xda0959
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 0xda08ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xda08b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xda0ff0
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
Function at 0xda1080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xda10c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xdc6458
push ecx
call fcn.00db11e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00db11e1
add esp, 0x10
jmp 0xda10d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00db120b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00db0dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00da1050
mov eax, dword [0xdcb728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xda113b
push esi
call fcn.00da0fb0
add esp, 4
mov dword [0xdcb728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xda114c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00da0ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xda4440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xda44b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xda448e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xda4471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xda447e
add edx, ecx
cmp ebx, edx
jb 0xda448a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xda4467
xor ecx, ecx
jmp 0xda44a2
test eax, eax
jne 0xda4492
xor ecx, ecx
jmp 0xda44a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00da43c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xda48f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xda4921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xda4946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xda496e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xda4993
push ecx
push esi
call fcn.00da44c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xda5c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xda5c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xda5c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xda5c38
add edx, eax
cmp ebx, edx
jb 0xda5c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xda5c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xda5c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xda5c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xda5cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xda5c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xda5ca8
add edx, ecx
cmp ebx, edx
jb 0xda5cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xda5c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xda5f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00db2145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xda5ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xda5fdd
lea eax, [esp + 0x18]
push eax
jmp 0xda5fe2
push 0xdcb720
call fcn.00db1fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xda5fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xda5f40
push 4
push ecx
push eax
call fcn.00db243f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xda6310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00db2145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xda63ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0xda638d
lea eax, [esp + 0x18]
push eax
jmp 0xda6392
push 0xdcb720
call fcn.00db1fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xda6360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xda5f40
push 4
push ecx
push eax
call fcn.00db243f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret