joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dd71
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x41dd87
push 0x80004005
call fcn.00405fe0
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41dd8a
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x41e29e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4a6554]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.0041dce6
mov edi, eax
cmp edi, esi
je 0x41e306
lea ecx, [ebp - 0x70]
call fcn.0041dc81
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447fc5
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x41e31e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041e29e
cmp eax, esi
jne 0x41e351
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x41e30e
lea ecx, [ebp - 0x70]
call fcn.0041dc81
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0041dc81
mov eax, esi
jmp 0x41e2ec

Function at 0x420ae2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a6554]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x210], esi
mov word [ebp - 0x20c], si
call fcn.00448460
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.004039c0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00447fc5
leave
ret

Function at 0x4211e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421241
cmp dword [ebp - 4], esi
je 0x421241
mov eax, dword [ebp + 0x18]
push eax
push dword [ebp + 0x14]
mov dword [eax], 0x104
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x42123c
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call esi
pop esi
leave
ret
Function at 0x4213f3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 4], esi
je 0x421478
push dword [ebp + 0xc]
lea ecx, [ebp - 4]
push esi
push 0x1f0003
call fcn.004211be
test eax, eax
mov edi, dword [ebp - 4]
je 0x42146d
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x42146d
cmp eax, 0x102
jne 0x42145e
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
je 0x42145e
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42146d
cmp edi, esi
je 0x421469
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42147b
cmp edi, esi
je 0x421478
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x4228f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
shr eax, 5
push ebx
mov ebx, ecx
lea ecx, [eax - 4]
cmp ecx, 0xa
mov dword [ebp - 4], ebx
ja 0x422a61
push esi
xor ecx, ecx
test eax, eax
push edi
jbe 0x422936
mov edx, dword [ebp + 8]
sub edx, 0x4a8864
mov esi, dword [edx + ecx*4 + 0x4a8864]
mov dword [ecx*4 + 0x4a8864], esi
inc ecx
cmp ecx, eax
jb 0x422923
push 0xf
mov dword [eax*4 + 0x4a8864], eax
inc eax
pop ecx
cmp eax, ecx
jae 0x422952
lea edi, [eax*4 + 0x4a8864]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
push 4
xor esi, esi
lea edi, [ebx + 4]
pop edx
xor eax, eax
mov ecx, dword [eax + 0x4a5a64]
mov ecx, dword [ecx*4 + 0x4a8864]
mov ebx, dword [eax + 0x4a5aa0]
xor ecx, dword [ebx*4 + 0x4a8864]
lea ebx, [eax + esi]
rol ecx, 3
xor ecx, ebx
xor dword [eax + 0x4a8864], ecx
add eax, edx
cmp eax, 0x3c
jb 0x42295c
mov dword [ebp + 0xc], edx
xor ecx, ecx
mov ebx, dword [ecx + 0x4a5a28]
mov ebx, dword [ebx*4 + 0x4a8864]
and ebx, 0x1ff
mov ebx, dword [ebx*4 + 0x4a5228]
lea eax, [ecx + 0x4a8864]
add ebx, dword [eax]
add ecx, edx
rol ebx, 9
cmp ecx, 0x3c
mov dword [eax], ebx
jb 0x422990
dec dword [ebp + 0xc]
jne 0x42298e
mov eax, edi
xor ecx, ecx
mov edi, dword [ecx + 0x4a5adc]
mov edi, dword [edi*4 + 0x4a8864]
mov dword [eax], edi
add ecx, edx
add eax, edx
cmp ecx, 0x28
jb 0x4229c7
inc esi
cmp esi, edx
mov edi, eax
jb 0x42295a
mov esi, dword [ebp - 4]
add esi, 0x18
mov dword [ebp + 0xc], 0x10
mov ecx, dword [esi]
mov edx, ecx
or edx, 3
mov eax, edx
shr eax, 1
mov edi, edx
not edi
xor eax, edi
and eax, 0x7fffffff
mov edi, eax
shr edi, 2
mov ebx, eax
shr ebx, 1
and edi, ebx
and eax, edi
mov edi, eax
mov ebx, eax
shr edi, 6
shr ebx, 3
and edi, ebx
and eax, edi
je 0x422a55
add eax, eax
lea edi, [eax + eax]
or eax, edi
and ecx, 3
mov edi, eax
shl edi, 2
or eax, edi
mov edi, dword [ecx*4 + 0x4a5b18]
mov cl, byte [esi - 4]
rol edi, cl
mov ecx, eax
shl ecx, 4
or ecx, eax
and edi, ecx
and edi, 0xfffffffc
xor edx, edi
mov dword [esi], edx
add esi, 8
dec dword [ebp + 0xc]
jne 0x4229f7
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42471e
Capabilities:
Send data

Disassembly:
mov eax, dword [esp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0xc]
mov dword [eax], ebx
cmp dword [esi + 0x188c], ebx
jne 0x42473c
mov dword [eax], 1
jmp 0x4247a0
push esi
call fcn.00424243
test eax, eax
pop ecx
jne 0x42474e
mov ebx, 0x3e3
jmp 0x4247a0
push edi
lea eax, [esi + 0x1888]
push eax
push dword [esi + 0x188c]
push dword [esi + 0x18dc]
push dword [esi + 0x186c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
push esi
mov edi, eax
call fcn.00424279
pop ecx
cmp edi, ebx
pop edi
jne 0x4247a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
jne 0x424793
call fcn.00447033
jmp 0x4247a0
push 0x486340
push ebx
call fcn.0042449e
pop ecx
pop ecx
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x42480b
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push esi
xor ebx, ebx
call fcn.00424243
test eax, eax
pop ecx
jne 0x424828
mov ebx, 0x3e3
jmp 0x4249a3
push edi
lea eax, [esi + 0x18b4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x424953
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [esi + 0x18d8], eax
call fcn.0044a335
mov dword [esi + 0x18bc], eax
lea eax, [esi + 0x2a10]
push eax
push dword [esi + 0x186c]
call fcn.00423dba
push dword [esi + 0x186c]
call fcn.00423ee3
push dword [esi + 0x186c]
mov dword [esi + 0x1998], eax
call fcn.00423e61
mov dword [esi + 0x1994], eax
lea eax, [esi + 0x19b8]
push eax
lea eax, [esi + 0x19a8]
push eax
push dword [esi + 0x186c]
call fcn.0042406f
mov eax, dword [esi + 0x1994]
add esp, 0x20
sub eax, 0xc8
je 0x4248ea
sub eax, 6
jne 0x4248fc
lea eax, [esi + 0x19a0]
push eax
lea eax, [esi + 0x199c]
push eax
lea edi, [esi + 0x19a4]
push edi
push dword [esi + 0x186c]
call fcn.00423f6a
add esp, 0x10
cmp eax, ebx
mov dword [esi + 0x198c], eax
je 0x4248fc
mov eax, dword [edi]
jmp 0x4248f6
mov eax, dword [esi + 0x1998]
mov dword [esi + 0x198c], ebx
mov dword [esi + 0x1990], eax
mov eax, dword [esi + 0x1898]
cmp eax, ebx
je 0x42491e
push dword [esi + 0x1830]
mov ecx, dword [eax]
push dword [esi + 0x182c]
push dword [esi + 0x1998]
push eax
call dword [ecx + 0x18]
push dword [esi + 0x1880]
mov dword [esi + 0x18e4], 3
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 0x1828], ebx
je 0x424953
cmp dword [esi + 0x1994], 0xce
je 0x424953
push 0x57
pop ebx
push esi
call fcn.00424279
jmp 0x4249a1
lea eax, [esi + 0x1884]
push eax
push dword [esi + 0x18e0]
push dword [esi + 0x18dc]
push dword [esi + 0x186c]
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
mov edi, eax
call fcn.00424279
cmp edi, ebx
pop ecx
jne 0x4249a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
mov dword [esi + 0x184c], ebx
je 0x4249a2
push 0x486384
push ebx
call fcn.0042449e
pop ecx
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4249a8
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0x1c], edi
je 0x4249c6
mov dword [ebp + 0x14], 0x1bb
mov ebx, 0x800000
mov esi, dword [ebp + 8]
push dword [esi]
or ebx, 0x84000100
push edi
push 3
push edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, edi
mov dword [esi + 0x1874], eax
jne 0x4249fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4863e4
jmp 0x424a42
cmp dword [esi + 0x189c], 1
mov ecx, 0x4863dc
je 0x424a0f
mov ecx, 0x4863d0
push dword [esi]
lea edx, [ebp - 0xc]
push ebx
push edx
push edi
push edi
push dword [ebp + 0x18]
mov dword [ebp - 0xc], 0x4863c8
push ecx
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, edi
mov dword [esi + 0x186c], eax
jne 0x424a4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4863a8
mov esi, eax
push esi
call fcn.0042449e
pop ecx
pop ecx
jmp 0x424a5c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x18c8], eax
mov esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4252ce
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp dword [esi + 0x180c], eax
je 0x4252e3
push 3
pop eax
push 0x10000000
push 0
push dword [esi + 0x1810]
push eax
push 0x4861b0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
jne 0x425317
push 0x486404
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042449e
pop ecx
pop ecx
jmp 0x425389
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [esi + 0x181c]
push eax
push 2
push ebx
call edi
push 4
lea eax, [esi + 0x1820]
push eax
push 5
push ebx
call edi
push 4
lea eax, [esi + 0x1824]
push eax
push 6
push ebx
call edi
push 0x4250e1
push ebx
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
je 0x425376
push dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
push esi
push ebx
call fcn.00424bd8
mov ecx, dword [ebp + 0xc]
add esp, 0x14
test eax, eax
mov dword [ecx], eax
je 0x42537d
call fcn.00447033
jmp 0x425388
push 0
push dword [edi]
call fcn.00424aac
pop ecx
pop ecx
pop edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
pop esi
pop ebx
pop ebp
ret
Function at 0x42615b
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push dword [esi + 0x5c]
call fcn.0042563c
mov dword [ebp + 8], eax
mov eax, dword [edi]
cmp dword [ebp + 8], eax
pop ecx
je 0x426227
push 0
push 0
push eax
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [edi]
neg eax
sbb eax, eax
inc eax
jne 0x426227
call ebx
and dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [edi]
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
push 0x486700
call fcn.00447033
add eax, 0x40
push eax
call fcn.004480de
add esp, 0x1c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 1
jl 0x426173
call ebx
and dword [ebp - 0xc], 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push dword [ebp + 8]
push edi
push 0x4866b8
call fcn.00447033
add eax, 0x40
push eax
call fcn.004480de
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
and dword [ebp + 8], 0
push 0
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
add edi, 0x10
push edi
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42624a
xor eax, eax
inc eax
jmp 0x426220
push 0x486690
call fcn.00447033
add eax, 0x40
push eax
call fcn.004480de
pop ecx
pop ecx
jmp 0x42621e

Function at 0x43296d
Capabilities:
Encode data using xor

Disassembly:
imul byte [esi + 0x5568f286]
cmp dword [ebx + 0x60fa92a2], esi
sti
aam 0xd4
movsd dword es:[edi], dword [esi]
inc ebx
and dword [esi + edx*4 - 0x43], ebp
jae 0x432981
mov ebp, 0x7570fd73
jo 0x4329fb
not byte [edx]
xchg ebx, eax
adc dword [esi - 0x75], ebx
xor esp, ebx
sbb esi, esi
das
mov byte [0x2869c84], al
cmpsb byte [esi], byte es:[edi]
fidiv word [edx + 0x541743d5]
push ebp
popfd
out 0x70, al
loope 0x432981
push ebp
in eax, dx
test al, 0x94
inc eax
xchg ebp, eax
out dx, eax
jmp 0xc074d192
xchg edi, eax
dec edi
aaa
add esp, dword [ebx - 0x77bb3745]
sub edi, ebp
pop ecx
rol bl, cl
sbb byte ds:[edx + 0x238579d7], bh
cmpsd dword [esi], dword es:[edi]
test al, 0x43
fdivr qword [ebp + 0xf1e43a2]
out 0x6d, eax
lcall 0x972b, 0xa67fffe7
and eax, 0x9a50ad11
cdq
and al, bl
dec ebx
sub al, 0xb1
aas
popfd
add dword [edi], eax
dec edx
mov ah, 0xab
call 0x74d47537
leave
add eax, 0x1482b002
inc edx
xchg edi, eax
stosb byte es:[edi], al
xchg byte [ebx - 0x48ef8298], bl
pop ecx
test eax, 0x1ddb09af
sar byte [ebp + 0xfae6b76], 0xdf
dec ecx
fist dword [eax - 0x39]
invalid
Function at 0x441cc0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4a6554]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov ecx, dword [str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x441d1e
xor eax, eax
jmp 0x441f21
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x441f14
cmp dword [ebp - 0x124], 0
jne 0x441f14
mov dword [ebp - 0xc], 0x104
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x238], 0
push 0x104
push 0
lea ecx, [ebp - 0x237]
push ecx
call fcn.00448460
add esp, 0xc
mov dword [ebp - 0x23c], 0x104
lea edx, [ebp - 0x120]
push edx
mov eax, dword [str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318]
push eax
push str._s_s
lea ecx, [ebp - 0x238]
push ecx
call fcn.00442d60
add esp, 0x10
mov dword [ebp - 0x12c], 0
lea edx, [ebp - 0x12c]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x238]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x441f0f
mov byte [ebp - 0x348], 0
push 0x104
push 0
lea ecx, [ebp - 0x347]
push ecx
call fcn.00448460
add esp, 0xc
mov dword [ebp - 0x34c], 0x104
mov dword [ebp - 0x240], 1
lea edx, [ebp - 0x34c]
push edx
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x240]
push ecx
push 0
mov edx, dword [str.NetCfgInstanceId]
push edx
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x441f02
lea ecx, [ebp - 0x348]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044d7f6
add esp, 8
test eax, eax
jne 0x441f02
mov dword [ebp - 0x350], 4
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x358], 4
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x354]
push ecx
lea edx, [ebp - 0x350]
push edx
push 0
mov eax, dword [str.Characteristics]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x441ef8
mov edx, dword [ebp - 0x354]
and edx, 1
mov dword [ebp - 0x35c], edx
je 0x441ee0
mov dword [ebp - 0x10], 2
jmp 0x441ef8
mov eax, dword [ebp - 0x354]
and eax, 4
mov dword [ebp - 0x35c], eax
je 0x441ef8
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x124], 1
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x441d32
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00447fc5
mov esp, ebp
pop ebp
ret
Function at 0x442e40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x442e64
xor eax, eax
jmp 0x442e69
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x443d70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4a6554]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x414], ecx
push str.SOFTWAREHintsoft
push 0x80000002
mov ecx, dword [ebp - 0x414]
call fcn.004442d0
test eax, eax
je 0x443db8
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
or ecx, 0x80
mov edx, dword [ebp - 0x414]
mov dword [edx], ecx
push str.SOFTWARESicent
push 0x80000002
mov ecx, dword [ebp - 0x414]
call fcn.004442d0
test eax, eax
je 0x443de4
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
or ecx, 0x40
mov edx, dword [ebp - 0x414]
mov dword [edx], ecx
push str.SOFTWAREGoyoo
push 0x80000002
mov ecx, dword [ebp - 0x414]
call fcn.004442d0
test eax, eax
je 0x443e10
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x414]
mov dword [edx], ecx
push str.SOFTWARE_
push 0x80000002
mov ecx, dword [ebp - 0x414]
call fcn.004442d0
test eax, eax
je 0x443e3c
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
or ecx, 0x10
mov edx, dword [ebp - 0x414]
mov dword [edx], ecx
mov word [ebp - 0x410], 0
push 0x3fe
push 0
lea eax, [ebp - 0x40e]
push eax
call fcn.00448460
add esp, 0xc
mov dword [ebp - 8], 0x200
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x410]
push edx
push str._windir__
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x443eaf
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
ja 0x443eaf
lea ecx, [ebp - 0x410]
push ecx
call fcn.00442e40
add esp, 4
test eax, eax
je 0x443eaf
mov edx, dword [ebp - 0x414]
mov eax, dword [edx]
or eax, 8
mov ecx, dword [ebp - 0x414]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00447fc5
mov esp, ebp
pop ebp
ret
Function at 0x443ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4a6554]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443ff2
mov dword [ebp - 0x94], 0x80
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x90]
push edx
push 0
push 0
push str.Version
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x443fe8
movzx ecx, word [ebp - 0x90]
cmp ecx, 0x36
jne 0x443f4b
mov dword [ebp - 8], 1
jmp 0x443fe8
movzx edx, word [ebp - 0x90]
cmp edx, 0x37
jne 0x443f63
mov dword [ebp - 8], 2
jmp 0x443fe8
movzx eax, word [ebp - 0x90]
cmp eax, 0x38
jne 0x443f78
mov dword [ebp - 8], 3
jmp 0x443fe8
movzx ecx, word [ebp - 0x90]
cmp ecx, 0x31
jne 0x443f90
movzx edx, word [ebp - 0x8e]
cmp edx, 0x30
je 0x443fcc
movzx eax, word [ebp - 0x90]
cmp eax, 0x39
jne 0x443fd5
movzx ecx, word [ebp - 0x8e]
cmp ecx, 0x2e
jne 0x443fd5
movzx edx, word [ebp - 0x8c]
cmp edx, 0x31
jne 0x443fd5
movzx eax, word [ebp - 0x8a]
cmp eax, 0x30
jne 0x443fd5
movzx ecx, word [ebp - 0x88]
cmp ecx, 0x2e
jne 0x443fd5
mov dword [ebp - 8], 5
jmp 0x443fe8
movzx edx, word [ebp - 0x90]
cmp edx, 0x39
jne 0x443fe8
mov dword [ebp - 8], 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00447fc5
mov esp, ebp
pop ebp
ret

Function at 0x444010
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4a6554]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00448460
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444131
cmp dword [ebp - 0x118], 2
jne 0x444131
cmp dword [ebp - 0x124], 4
jbe 0x444131
cmp dword [ebp - 0x124], 6
jne 0x4440eb
cmp dword [ebp - 0x120], 0
jne 0x4440ac
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x4440a3
mov dword [ebp - 4], 0x6e
jmp 0x4440aa
mov dword [ebp - 4], 0x78
jmp 0x4440e9
cmp dword [ebp - 0x120], 1
jne 0x4440d0
movzx eax, byte [ebp - 0xe]
cmp eax, 1
jne 0x4440c7
mov dword [ebp - 4], 0x82
jmp 0x4440ce
mov dword [ebp - 4], 0x7b
jmp 0x4440e9
cmp dword [ebp - 0x120], 2
jne 0x4440e9
movzx ecx, byte [ebp - 0xe]
cmp ecx, 1
jne 0x4440e9
mov dword [ebp - 4], 0x8c
jmp 0x444131
cmp dword [ebp - 0x124], 5
jne 0x444121
cmp dword [ebp - 0x120], 2
jne 0x44410f
movzx edx, byte [ebp - 0xe]
cmp edx, 1
je 0x44410d
mov dword [ebp - 4], 0x68
jmp 0x44411f
cmp dword [ebp - 0x120], 1
jne 0x44411f
mov dword [ebp - 4], 0x64
jmp 0x444131
cmp dword [ebp - 0x124], 7
jne 0x444131
mov dword [ebp - 4], 0x8c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00447fc5
mov esp, ebp
pop ebp
ret