joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f298
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x49f43e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49f417
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x4a9928]
mov byte [eax], 0
mov eax, dword [0x4a9d48]
cmp dword [eax], 0
je 0x49f40d
mov eax, dword [0x4a98f0]
mov eax, dword [eax]
mov edx, dword [0x4a9cc8]
mov dword [edx], eax
mov ecx, dword [0x4a99d4]
mov ecx, dword [ecx]
mov edx, dword [0x4a9d48]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.00404ca8
mov eax, dword [ebp - 8]
mov edx, dword [0x4a9e84]
call fcn.004a5718
test al, al
je 0x49f40b
mov eax, dword [0x4a9e84]
mov eax, dword [eax]
mov edx, 0x49f458
call fcn.00404da8
jne 0x49f341
mov eax, dword [0x4a9928]
mov byte [eax], 1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f423
mov eax, dword [0x4a9e84]
mov eax, dword [eax]
mov edx, 0x49f468
call fcn.00404da8
jne 0x49f3c1
lea eax, [ebp - 4]
call fcn.0040499c
xor esi, esi
jmp 0x49f39c
inc esi
mov ecx, dword [0x4a99d4]
mov ecx, dword [ecx]
mov edx, dword [0x4a9d48]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
call fcn.00404ca8
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4acd10]
call fcn.004759a0
lea eax, [ebp - 4]
mov edx, dword [0x4acd10]
mov edx, dword [edx + 0xc]
call fcn.00404a34
cmp esi, 4
jg 0x49f3a2
cmp dword [ebp - 4], 0
je 0x49f360
cmp dword [ebp - 4], 0
je 0x49f40d
mov eax, dword [0x4a9e84]
mov edx, dword [ebp - 4]
call fcn.004049f0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f423
mov eax, dword [0x4a9e84]
mov eax, dword [eax]
mov edx, 0x49f478
call fcn.00404da8
jne 0x49f3ec
push 0
push 0
push 0x3400
mov eax, esi
call fcn.0043e540
push eax
call fcn.004077dc
jmp 0x49f40d
mov eax, dword [0x4a9e84]
mov eax, dword [eax]
mov edx, 0x49f488
call fcn.00404da8
je 0x49f40d
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f423
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f423
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f445
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049c0
ret
Function at 0x49f8a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404e4c
xor eax, eax
push ebp
push 0x49f952
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49f932
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e5c
push eax
push 0
call sub.user32.dll_SetFocus
test bl, bl
je 0x49f904
mov dword [ebp - 0x10], 2
jmp 0x49f909
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
call sub.user32.dll_SetCursor
call sub.user32.dll_GetKeyboardLayout
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f93c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f959
lea eax, [ebp - 4]
call fcn.0040499c
ret

Function at 0x49f964
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49f9ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x20
call sub.user32.dll_GetClassNameA
push eax
call sub.user32.dll_SetForegroundWindow
mov cl, 1
mov edx, 0x49f9cc
mov eax, dword [ebp - 8]
call fcn.0049f8a8
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_CreatePopupMenu
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f9b8
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a3ba4
Capabilities:
Execute anti-debugging instructions
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.user32.dll_GetClassNameA
push eax
call sub.user32.dll_GetMenuItemCount
mov ebx, eax
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_GetScrollPos
mov esi, eax
push 0x100
call sub.user32.dll_GetClassNameA
push eax
call sub.user32.dll_OffsetRect
push 0xf
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_OpenInputDesktop
push 0xa
call fcn.0040e2b8
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call fcn.0040e2b8
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_OpenInputDesktop
push ebx
call sub.user32.dll_GetClassNameA
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x4a3c44]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a5718
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e4c
xor eax, eax
push ebp
push 0x4a586f
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004a0b90
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x4a5847
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x100
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname_1
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.00409b5c
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname_1
test eax, eax
je 0x4a5830
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4a582a
mov ebx, dword [edx]
test ebx, ebx
je 0x4a5824
lea eax, [ebp - 0x29c]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x4a5888
call fcn.0040a1c8
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.004049f0
mov byte [ebp - 5], 1
jmp 0x4a5834
mov byte [ebp - 5], 0
jmp 0x4a5834
mov byte [ebp - 5], 0
jmp 0x4a5834
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a584e
call sub.wsock32.dll_WSACleanup
ret
Function at 0x42b270
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4395b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x44eca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 8
lea ecx, [ebp - 0x30]
call fcn.00405190
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405250
mov ecx, dword [ebp - 0x38]
shl ecx, 2
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x42b344
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00405330
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x42b330
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x34]
jb 0x42b321
mov eax, dword [ebp - 0x38]
shl eax, 1
mov dword [ebp - 0x38], eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00405250
mov edx, dword [ebp - 0x38]
shl edx, 2
mov dword [ebp - 0x34], edx
jmp 0x42b32e
mov eax, dword [ebp - 0x18]
shr eax, 2
mov dword [ebp - 0x38], eax
mov byte [ebp - 0xd], 0
jmp 0x42b342
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 0
jmp 0x42b2d4
cmp dword [ebp - 0x14], 0
je 0x42b383
mov ecx, dword [ebp + 8]
call fcn.004053e0
mov dword [ebp - 0x3c], 0
jmp 0x42b364
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x38]
jae 0x42b383
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405330
push eax
mov ecx, dword [ebp + 8]
call fcn.00405360
jmp 0x42b35b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405200
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42b3b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43965c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44eca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042b200
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401da0
movzx ecx, al
test ecx, ecx
je 0x42b52c
lea ecx, [ebp - 0x38]
call fcn.00405010
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042b1e0
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x42b4f8
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 0xe4
add ecx, 0x20
mov dword [ebp - 0x40], ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x38]
call fcn.004050a0
cmp dword [ebp - 0x18], 0
je 0x42b4f8
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42b49d
mov ecx, dword [ebp - 0x40]
push ecx
push 0
lea ecx, [ebp - 0x38]
call fcn.00405160
push eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.0042b1e0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x20], eax
jmp 0x42b4c1
mov eax, dword [ebp - 0x40]
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00405160
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042b1e0
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x40]
jb 0x42b4f1
mov eax, dword [ebp - 0x40]
shl eax, 1
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004050a0
cmp dword [ebp - 0x20], 0x104
jbe 0x42b4ef
mov dword [ebp - 0x18], 0
jmp 0x42b4f3
jmp 0x42b4f8
jmp 0x42b465
cmp dword [ebp - 0x20], 0
ja 0x42b505
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 1
jne 0x42b51e
push 0
lea ecx, [ebp - 0x38]
call fcn.00405160
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004027b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00405080
jmp 0x42b533
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x42b541
mov ecx, dword [ebp + 0xc]
call fcn.00403100
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042b230
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42b760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x44eca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.00402670
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004031b0
push eax
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403220
cmp dword [ebp - 0x14], 0
jne 0x42b7de
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402790
push str.AdobeARM1.0AdobeARM.exe
mov ecx, dword [ebp + 8]
call fcn.004027f0
jmp 0x42b828
push str.SHGetFolderPath_in_GetARMExePath_failed:
lea ecx, [ebp - 0x18]
call fcn.00402690
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 1
call fcn.004381a0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407ae0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407ae0
mov eax, dword [ebp - 0x1c]
jmp 0x42b841
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407ae0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42ba10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x452d50], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x452d58], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x452d54], edx
mov dword [0x452d68], 0
push 0
push 0
push 0
push 0x42b960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x42bb70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x44eca0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov ecx, 0x20
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 8
jae 0x42bd0d
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x94]
movzx ecx, byte [eax]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x94]
add edx, 1
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 8
jae 0x42bc04
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x94]
movzx ecx, byte [eax]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x94]
add edx, 1
mov dword [ebp - 0x94], edx
jmp 0x42bc0e
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x94], 8
jae 0x42bc46
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x94]
movzx edx, byte [ecx]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x94]
add eax, 1
mov dword [ebp - 0x94], eax
jmp 0x42bc50
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x98]
shr edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ebp + edx*2 - 0x90]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xa0]
shr ecx, 4
mov edx, dword [ebp - 0x98]
and edx, 3
shl edx, 4
or ecx, edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov cx, word [ebp + ecx*2 - 0x90]
mov word [edx + eax*2], cx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x9c]
shr eax, 6
mov ecx, dword [ebp - 0xa0]
and ecx, 0xf
shl ecx, 2
or eax, ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov ax, word [ebp + eax*2 - 0x90]
mov word [ecx + edx*2], ax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x9c]
and edx, 0x3f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ebp + edx*2 - 0x90]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x42bbaa
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, 0x3d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov word [edx + ecx*2], ax
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x42c400
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44eca0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x10
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42c4d3
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x42c4d3
cmp dword [ebp - 0xc], 0
je 0x42c4d3
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42c4d3
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42c4d3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c310
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x42c4d3
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042bb70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42c4d3
mov byte [ebp - 5], 1
cmp dword [ebp - 0xc], 0
je 0x42c4e3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x10], 0
je 0x42c4f5
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x42db60
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
push 0
push 0x80
push 1
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0x40000000
mov ecx, dword [ebp + 0xc]
call fcn.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42dc59
mov dword [ebp - 0x18], 0x100000
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00414e45
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
jne 0x42dc41
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42dc41
cmp dword [ebp - 0x10], 0
jbe 0x42dc41
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42dc20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00414820
add esp, 0xc
jmp 0x42dbc7
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call fcn.00414d68
add esp, 4
jmp 0x42dc62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42dd00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42dd40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42dd4d
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42e380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42e431
push 0x208
call fcn.00414e45
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x42e431
mov edx, dword [ebp - 0x14]
push edx
call fcn.00414d68
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00414e45
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42e443
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004027b0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00414d68
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x42e460
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4396e0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x44eca0]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
call fcn.00403100
lea ecx, [ebp - 0x10]
call fcn.004016e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004016e0
mov byte [ebp - 4], 1
push str.SELECT_Value_FROM_Property_WHERE_Property.Property
lea ecx, [ebp - 0x18]
call fcn.00402690
mov byte [ebp - 4], 2
push 0x4426fc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00402f40
add esp, 0xc
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004027d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00407ae0
lea ecx, [ebp - 0x10]
call fcn.00401720
push eax
lea ecx, [ebp - 0x18]
call fcn.004031f0
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e5bc
push 0
lea ecx, [ebp - 0x10]
call fcn.004031f0
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e5bc
lea ecx, [ebp - 0x14]
call fcn.00401720
push eax
lea ecx, [ebp - 0x10]
call fcn.004031f0
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e5bc
mov dword [ebp - 0x20], 0x104
push 0x104
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.00414820
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 1
lea ecx, [ebp - 0x14]
call fcn.004031f0
push eax
call sub.msi.dll_MsiRecordSetStreamA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e5bc
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004027b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407ae0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401700
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0041480e
mov esp, ebp
pop ebp
ret