joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419560
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x44
mov eax, 0x4957e4
call fcn.00470906
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.0044e010
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SoftwareRealNetworksDLPdlpinstallcounts
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4196e2
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x28]
call fcn.0044e010
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x100
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0x100
call fcn.0044ec10
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc dword [ebp - 0x10]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
call fcn.0044eca0
cmp dword [ebp - 0x18], ebx
jne 0x4196c5
lea ecx, [ebp - 0x30]
call fcn.0044e010
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push str.SoftwareRealNetworksDLPdlpinstallcounts_
push eax
mov byte [ebp - 4], 2
call fcn.0044eb90
add esp, 0xc
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 3
jne 0x41962d
mov eax, dword [eax]
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
push str.Count
push eax
push esi
call fcn.00403b8b
add esp, 0x18
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0044e260
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push 0x4a0a8c
push eax
call fcn.0044eb90
push str.installcount
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.0044eb40
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 5
call fcn.0044eaf0
add esp, 0x24
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.0044e7c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0044e260
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0044e260
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0044e260
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044e260
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0044e260
cmp dword [ebp - 0x18], ebx
je 0x4195af
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
call fcn.004709de
ret 4
Function at 0x41978e
Capabilities:
Create process on windows

Disassembly:
push 0x3c
mov eax, 0x495807
call fcn.00470906
xor esi, esi
push 0x38
lea eax, [ebp - 0x44]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00470280
mov eax, dword [ebp + 0xc]
shr eax, 0x18
add esp, 0xc
cmp al, 0xff
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x440
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0x4a09d8
lea eax, [ebp + 8]
jne 0x4197d6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4197fd
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044e260
call fcn.004709de
ret
Function at 0x419aaa
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x2cc
lea ebp, [esp - 4]
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp + 0x2cc], eax
push 0xc
mov eax, 0x49583d
call fcn.00470906
mov dword [ebp - 0x10], ecx
push str.NOLOG_in_CloseBrowsers__
lea ecx, [ebp - 0x18]
call fcn.0044e280
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00404620
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0044e260
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
mov ebx, 0x419831
push ebx
mov dword [0x4c3460], edi
call esi
cmp dword [0x4c3460], edi
je 0x419c60
push str.NOLOG_prompting
lea ecx, [ebp - 0x18]
call fcn.0044e280
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 1
call fcn.00404620
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0044e260
mov ecx, dword [ebp - 0x10]
add ecx, 0x12c
push str.false
mov dword [ebp - 0x14], ecx
call fcn.0044e3b0
push dword [ebp - 0x10]
lea ecx, [ebp + 0x128]
call fcn.00411d43
push 1
push 0xb1
lea ecx, [ebp + 0x128]
mov dword [ebp - 4], 2
call fcn.0041355f
cmp eax, 3
jne 0x419c51
mov ecx, dword [ebp - 0x14]
push str.true
call fcn.0044e3b0
push edi
push 0x4198ed
call esi
push edi
push ebx
mov dword [0x4c3460], edi
call esi
cmp dword [0x4c3460], edi
je 0x419bb9
push edi
push 0x4199b9
call esi
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x419c51
push 0x124
lea eax, [ebp + 4]
push edi
push eax
call fcn.00470280
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov ebx, 0x128
mov dword [ebp], ebx
call sub.KERNEL32.dll_Process32First
jmp 0x419c4d
lea eax, [ebp + 0x24]
push eax
push str.ieuser.exe
call fcn.00470c2d
pop ecx
pop ecx
test eax, eax
je 0x419c1d
lea eax, [ebp + 0x24]
push eax
push str.iexplore.exe
call fcn.00470c2d
pop ecx
pop ecx
test eax, eax
jne 0x419c3e
push dword [ebp + 8]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x419c3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov dword [ebp], ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x419bf5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x128]
call fcn.00411be3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2cc]
xor ecx, ebp
call fcn.00470483
add ebp, 0x2d0
leave
ret
Function at 0x41b343
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x54
mov eax, 0x495b22
call fcn.00470906
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x708], edi
je 0x41b399
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.00470483
add ebp, 0xa0
leave
ret
cmp dword [esi + 0x30], edi
je 0x41b373
push 0x98
lea eax, [ebp + 4]
push edi
push eax
mov dword [ebp], edi
call fcn.00470280
mov ebx, 0x9c
push ebx
lea eax, [ebp]
push edi
push eax
call fcn.00470280
add esp, 0x18
lea eax, [ebp]
mov dword [ebp], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call ebx
test eax, eax
jne 0x41b3e3
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call ebx
cmp dword [ebp + 4], 6
jb 0x41b373
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004112d2
push str.vista.exe
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], edi
call fcn.0044eb40
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0044e260
push 0x38
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00470280
add esp, 0xc
cmp byte [ebp - 0x15], 0xff
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x5c], 0x440
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], 0x4a09d8
lea eax, [ebp - 0x1c]
jne 0x41b448
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
xor ebx, ebx
lea eax, [ebp - 0x60]
inc ebx
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x41b483
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x708], eax
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0044e260
mov eax, edi
jmp 0x41b376
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
cmp eax, 0x4c7
jne 0x41b4a3
push str.actionerrorvalueuac_cancel
call fcn.0044e280
mov byte [ebp - 4], 3
jmp 0x41b4b1
push str.actionerrorvaluehelper_invalid
call fcn.0044e280
mov byte [ebp - 4], 4
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0044e260
jmp 0x41b470
Function at 0x42b0a4
Capabilities:
Get geographical location

Disassembly:
push 0xc
mov eax, 0x49c766
call fcn.00470906
mov esi, ecx
push str.NOLOG:_in_XML_GetLocInfo__
lea ecx, [ebp - 0x18]
call fcn.0044e280
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00404620
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0044e260
push str._result_
push dword [ebp + 8]
call fcn.0046f770
pop ecx
pop ecx
test eax, eax
jne 0x42b0f3
mov eax, 0x80004005
jmp 0x42b170
lea edi, [esi + 0x1a8]
push edi
push 0x3c
push str._country_code_
push dword [ebp + 8]
call fcn.0042c389
lea ebx, [esi + 0x1b0]
push ebx
push 0x3c
push str._zip_
push dword [ebp + 8]
call fcn.0042c389
lea eax, [esi + 0x1b8]
push eax
push 0x3c
push str._city_
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.0042c389
add esi, 0x1c0
push esi
push 0x3c
push str._region_code_
push dword [ebp + 8]
call fcn.0042c389
add esp, 0x40
mov ecx, edi
call fcn.0044f0f0
mov ecx, ebx
call fcn.0044f0f0
mov ecx, dword [ebp - 0x10]
call fcn.0044f0f0
mov ecx, esi
call fcn.0044f0f0
xor eax, eax
call fcn.004709de
ret 4
Function at 0x42b178
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x4988fa
call fcn.00470906
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor ebx, ebx
cmp al, 0xff
mov dword [ebp - 4], ebx
lea eax, [ebp + 8]
jne 0x42b199
mov eax, dword [ebp + 8]
push 0x4a78f8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00471386
add esp, 0xc
cmp eax, ebx
jne 0x42b214
push 2
push ebx
push dword [ebp - 0x10]
call fcn.0047707e
push dword [ebp - 0x10]
call fcn.00476f8f
push dword [ebp - 0x10]
mov esi, eax
call fcn.00477484
lea edi, [esi + 1]
push edi
call fcn.0046d27a
push edi
push ebx
push eax
mov dword [ebp + 0x14], eax
call fcn.00470280
push dword [ebp - 0x10]
push esi
push 1
push esi
push dword [ebp + 0x14]
call fcn.004768f0
mov ecx, dword [ebp + 0x10]
add esp, 0x38
push dword [ebp + 0x14]
call fcn.0044e3b0
push dword [ebp - 0x10]
call fcn.00470ed8
push dword [ebp + 0x14]
call fcn.0047037a
pop ecx
pop ecx
jmp 0x42b32d
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push str.Unable_to_open_file:
push eax
call fcn.0044eb90
push str.___try_creating_it_instead.
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0044eb40
push eax
mov byte [ebp - 4], 2
call fcn.00404620
add esp, 0x1c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0044e260
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0044e260
mov edi, dword [ebp + 0x10]
mov esi, 0x4a099a
cmp dword [ebp + 0x14], ebx
je 0x42b2a1
push ebx
push ebx
push edi
push esi
push str.SOFTWARERealNetworksRealPlayer15.0PreferencesUID
push SysReAllocString
call fcn.00403b8b
add esp, 0x18
mov ecx, edi
call fcn.00401219
test al, al
je 0x42b2a1
push ebx
push ebx
push edi
push esi
push str.SOFTWARERealNetworksRealPlayer16.0PreferencesUID
push SysReAllocString
call fcn.00403b8b
add esp, 0x18
mov ecx, edi
call fcn.00401219
test al, al
je 0x42b2e3
lea eax, [ebp - 0x20]
push eax
call fcn.004023dd
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0044e310
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0044e260
mov ecx, edi
call fcn.0044f0f0
push 1
push esi
push 0x4a1264
mov ecx, edi
call fcn.0044f110
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x42b2ef
mov eax, dword [ebp + 8]
push 0x4a7850
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00471386
add esp, 0xc
cmp eax, ebx
jne 0x42b33d
cmp byte [edi + 7], 0xff
mov esi, edi
jne 0x42b30f
mov esi, dword [edi]
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0044e020
push eax
push 1
push esi
call fcn.00476af2
push dword [ebp - 0x10]
call fcn.00470ed8
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044e260
xor eax, eax
jmp 0x42b376
lea eax, [eax + str.Machine_GUID_error:]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044e280
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.00404620
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0044e260
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044e260
mov eax, 0x80004005
call fcn.004709de
ret 0x10
Function at 0x43dff8
Capabilities:
Hide graphical window

Disassembly:
push 0x28
mov eax, 0x49be47
call fcn.00470906
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.0042b05f
mov ebx, eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0042b05f
push eax
lea eax, [ebp - 0x24]
push str.USER_ShowWindow__iRow_
push eax
mov byte [ebp - 4], 1
call fcn.0044eb90
push str.__iCol_
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.0044eb40
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0044eaf0
push eax
mov byte [ebp - 4], 4
call fcn.00404620
add esp, 0x38
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0044e260
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0044e260
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0044e260
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0044e260
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0044e260
push 1
push edi
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
push edi
push dword [esi + 0x200]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x204]
call ebx
push 5
push dword [esi + 0x200]
call ebx
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push eax
push dword [esi + 0x200]
call edi
call fcn.004709de
ret 8

Function at 0x43e0f3
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 0
push dword [esi + 0x204]
call edi
push 0
push dword [esi + 0x200]
call edi
pop edi
pop esi
ret
Function at 0x43e2eb
Capabilities:
Set registry value

Disassembly:
push ebp
sub esp, 0x300
lea ebp, [esp - 4]
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp + 0x300], eax
push 0x20
mov eax, 0x49be72
call fcn.00470906
mov eax, dword [ebp + 0x310]
mov esi, dword [ebp + 0x30c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x314]
xor ebx, ebx
push 0xff
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x201]
push ebx
push eax
mov byte [ebp + 0x200], bl
call fcn.00470280
add esp, 0xc
push ebx
push ebx
mov edi, 0x100
push edi
lea eax, [ebp + 0x200]
push eax
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
call esi
push 0xff
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00470280
add esp, 0xc
push ebx
push ebx
push edi
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
push ebx
push ebx
call esi
push 5
lea eax, [ebp + 0x200]
push 0x4aa698
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call fcn.0048da1b
add esp, 0xc
test eax, eax
jne 0x43e3b3
mov dword [ebp - 0x10], SysStringLen
push 0x4aa698
jmp 0x43e401
push 5
lea eax, [ebp + 0x200]
push 0x4aa690
push eax
call fcn.0048da1b
add esp, 0xc
test eax, eax
jne 0x43e3db
mov dword [ebp - 0x10], SysStringLen
push 0x4aa690
jmp 0x43e401
push 5
lea eax, [ebp + 0x200]
push 0x4aa688
push eax
call fcn.0048da1b
add esp, 0xc
test eax, eax
jne 0x43e411
mov dword [ebp - 0x10], reloc.OLEAUT32.dll_SysReAllocString
push 0x4aa688
call fcn.00470de0
lea eax, [ebp + eax + 0x200]
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43e448
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 0x14], ebx
je 0x43e4fc
push 0xff
lea eax, [ebp + 0x101]
push ebx
push eax
mov byte [ebp + 0x100], bl
call fcn.00470280
add esp, 0xc
push ebx
push ebx
push edi
lea eax, [ebp + 0x100]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x24]
push ebx
push ebx
call esi
lea eax, [ebp + 0x100]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044e280
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
call fcn.0040bc40
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0044e310
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0044e260
lea ecx, [ebp - 0x20]
call fcn.0044e020
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.0044ec10
push eax
push 1
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0044eca0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0044e260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x300]
xor ecx, ebp
call fcn.00470483
add ebp, 0x304
leave
ret 0xc
Function at 0x43e521
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x49c766
call fcn.00470906
mov esi, ecx
push str.in_USER_BeginInstall__
lea ecx, [ebp - 0x18]
call fcn.0044e280
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00404620
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0044e260
cmp dword [esi + 0x704], edi
jne 0x43e57b
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0x42afc5
push edi
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x704], eax
call fcn.004709de
ret

Function at 0x43e581
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0xc
mov eax, 0x49c766
call fcn.00470906
push str.in_USER_IsConnect__
lea ecx, [ebp - 0x18]
call fcn.0044e280
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00404620
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0044e260
mov esi, dword [ebp + 8]
test esi, esi
je 0x43e5e0
and dword [esi + 8], 0
and dword [ebp - 0x10], 0
push 3
pop eax
mov word [esi], ax
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x43e5e0
mov dword [esi + 8], 1
call fcn.004709de
ret 4
Function at 0x44724c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x447293
cmp edx, 0x10
jl 0x44727f
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x44726c
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x447293
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x44728b
and edx, 3
cmp edx, 3
jne 0x4472a7
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x4472ac
cmp edx, 2
jne 0x4472b8
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x4472bd
cmp edx, 1
jne 0x4472c3
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x44c250
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00470280
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
push 0xc
jb 0x44c2c8
call fcn.004702fa
add esp, 4
test eax, eax
je 0x44c2bc
mov ecx, eax
call fcn.0044c580
push eax
mov ecx, esi
call fcn.0044c150
jmp 0x44c2e7
xor eax, eax
push eax
mov ecx, esi
call fcn.0044c150
jmp 0x44c2e7
call fcn.004702fa
add esp, 4
test eax, eax
je 0x44c2dd
mov ecx, eax
call fcn.0044d1b0
jmp 0x44c2df
xor eax, eax
push eax
mov ecx, esi
call fcn.0044c1d0
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
xor ecx, ebp
add eax, 0x8007000e
pop esi
call fcn.00470483
mov esp, ebp
pop ebp
ret
Function at 0x450760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x18
mov dword [ebp - 4], 0
call fcn.004702fa
add esp, 4
test eax, eax
je 0x450787
mov ecx, eax
call fcn.00491800
mov esi, eax
test esi, esi
jne 0x450793
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ebx
push edi
push esi
call ecx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4507c9
mov edi, dword [ebp + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
push ebx
push edi
push 1
push esi
call edx
push eax
call fcn.0047697e
add esp, 0x10
test eax, eax
jns 0x4507d2
xor eax, eax
mov edi, 0x80004005
jmp 0x4507d5
mov edi, dword [ebp - 4]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x14]
push eax
push esi
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push edi
push eax
call edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x4a2d28
push eax
call fcn.0047136f
mov esi, eax
add esp, 8
test esi, esi
je 0x450894
push esi
call fcn.004766e4
add esp, 4
test eax, eax
jne 0x45088b
lea esp, [esp]
push esi
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.0047697e
add esp, 0x10
test eax, eax
jle 0x45087e
push edi
push eax
lea ecx, [ebp - 0x204]
push 1
push ecx
call fcn.00476af2
add esp, 0x10
push esi
call fcn.004766e4
add esp, 4
test eax, eax
je 0x450850
push esi
call fcn.00470ed8
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00470483
mov esp, ebp
pop ebp
ret