joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434360
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x434489
mov eax, dword [esi + 0x14]
test eax, eax
je 0x434489
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x4343a7
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x43439f
push 0
jmp 0x43448b
mov eax, dword [ebp - 4]
jmp 0x43446a
mov eax, dword [esi + 0x38]
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x34]
jb 0x4343fb
mov ebx, dword [esi + 0x40]
sub ebx, eax
jns 0x4343bf
xor ebx, ebx
jmp 0x4343c7
cmp ebx, edi
ja 0x43446f
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041d840
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [esi + 0x38], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub edi, ebx
push edi
add eax, ebx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x434398
mov eax, dword [ebp - 4]
jmp 0x434466
mov edx, dword [esi + 0x40]
lea ebx, [eax + edi]
cmp ebx, edx
jb 0x434473
sub edx, eax
jns 0x43440d
xor ebx, ebx
jmp 0x434413
mov ebx, edx
cmp ebx, edi
ja 0x43446f
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041d840
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x434398
mov eax, dword [ebp + 0xc]
sub edi, ebx
cmp edi, eax
mov dword [esi + 0x40], eax
jae 0x43444c
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
add eax, ebx
push eax
call fcn.0041d840
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x38], eax
add eax, ebx
pop edi
pop ebx
pop esi
leave
ret 8
xor eax, eax
jmp 0x434468
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041d840
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, edi
jmp 0x434468
push 6
push dword [esi + 0x1c]
call fcn.0043410c
int3
Function at 0x434494
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
push edi
je 0x43453d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43453d
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov edi, dword [ebp + 0xc]
jne 0x4344d8
lea ecx, [ebp + 0xc]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x4344d1
push 0
jmp 0x43453f
cmp dword [ebp + 0xc], edi
je 0x434516
jmp 0x4344cd
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x28]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
jb 0x4344fd
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x4344cd
and dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x28]
cmp edi, ecx
jb 0x43451c
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x4344cd
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, ecx
ja 0x434515
mov ecx, dword [esi + 0x30]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.0041d840
add esp, 0xc
add dword [esi + 0x2c], edi
jmp 0x434515
push 6
push dword [esi + 0x1c]
call fcn.0043410c
int3

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jne 0x4345b4
push 0x1000
call fcn.00433d03
test eax, eax
je 0x43460f
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x434615
mov eax, dword [ebp - 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x3c]
push edi
mov edi, dword [ebp + 8]
jmp 0x434604
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x40]
jb 0x4345ef
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x434615
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x43461e
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov cl, byte [eax]
cmp cl, 0xd
je 0x4345f9
mov byte [edi], cl
inc edi
inc dword [esi + 0x38]
mov cl, byte [eax]
inc eax
cmp cl, 0xa
je 0x434609
dec dword [ebp + 0xc]
jne 0x4345c0
mov eax, dword [ebp + 8]
mov byte [edi], bl
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
push dword [esi + 0x1c]
call fcn.0043410c
mov eax, edi
sub eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
jmp 0x43460c
Function at 0x4347a2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x439fe3
call fcn.0041dc0c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004315d3
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
mov dword [esi], vtable.CInternetFile.0
call fcn.00401a10
mov ebx, dword [ebp + 0x10]
push dword [ebx + 0xc]
mov ecx, 0x6e566c
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00433f98
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00401ed0
mov eax, dword [ebx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.004137ed
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00403700
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004013c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x43493c
Capabilities:
Connect to http server

Disassembly:
mov eax, 0x43a000
call fcn.0041dc0c
push ecx
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push edi
call fcn.004348fe
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401a10
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x4349a3
push eax
push dword [esi + 8]
call fcn.0043410c
push dword [esi + 0xc]
mov ecx, 0x6e566c
push eax
call fcn.00433f98
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x435521
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x450448]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x43557f
push 0x441a84
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0041d476
add esp, 0x10
cmp eax, 0xffffffff
je 0x435593
cmp eax, esi
jae 0x435593
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x435595
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x43554a
jmp 0x435596
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0041ced8
leave
ret
Function at 0x4355b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x450448]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x435658
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x43575a
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x435708
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43575b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4356fd
cmp dword [ebp - 0x24], 1
jne 0x4356fd
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x441a94
push eax
call fcn.0041e048
add esp, 0xc
cmp eax, 1
jne 0x4356fd
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43575b
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x43575b
lea ecx, [ebp - 0x18]
push ecx
push 0x4355a0
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x43575b
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x435781
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.00435521
cmp eax, ebx
pop ecx
pop ecx
jne 0x435783
inc edi
cmp edi, esi
jl 0x43576a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0041ced8
leave
ret 4
Function at 0x435792
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x44f798
je 0x43584e
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x435836
mov esi, dword [ebx + 4]
jmp 0x435830
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x435820
cmp dword [ebp - 0xc], 4
jne 0x435820
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x435818
or dword [eax + 0x9c], ecx
jmp 0x435820
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4357e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x4357c7
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x435c3c
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x439dd5
call fcn.0041dc0c
sub esp, 0x11c
mov eax, dword [0x450448]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x435d35
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x435d09
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.004057b0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00435c3c
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004013c0
test bl, bl
jne 0x435d09
or dword [ebp - 4], 0xffffffff
jmp 0x435c7a
cmp esi, 0x103
je 0x435d19
cmp esi, 0x3f2
jne 0x435d29
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0041ced8
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4367fe
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x436833
cmp edi, dword [esi + 0xc]
jge 0x436833
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x436833
cmp edi, dword [eax + 8]
jge 0x436833
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x436835
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x436939
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x43696d
jmp fcn.00429855
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x4369de
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x436ad7
cmp eax, dword [edi + 0xc]
jge 0x436ad7
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x436a2f
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x436ac0
cmp dword [ebp + 0xc], ebx
je 0x436ac0
jmp 0x436a59
push 0x10
call fcn.004366ca
cmp eax, ebx
je 0x436a45
mov ecx, eax
call fcn.00436930
mov esi, eax
jmp 0x436a47
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x436a70
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x436a80
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x436a92
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00429855
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0041de80
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x436ad2
cmp ecx, dword [esi + 8]
jge 0x436ad2
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x436ad8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100016a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x1003aadc
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100016ea
cmp dword [esp + 4], 4
jne 0x100016ea
mov eax, dword [esp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret

Function at 0x10001700
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
lea eax, [esp + 0xb]
push eax
sub esp, 0x1c
mov ecx, esp
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x30], ebx
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x37], bl
mov byte [ecx + 4], bl
call fcn.100022d0
mov ecx, dword [esp + 0x34]
call fcn.10001590
add esp, 0x20
push 4
xor eax, eax
cmp byte [esp + 0xf], bl
lea ecx, [esp + 0x10]
push ecx
push 4
setne al
push 0x1003aadc
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x24], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebx
add esp, 0xc
ret

Function at 0x10001b00
Capabilities:
Check if file exists
Move file

Disassembly:
sub esp, 0x414
mov eax, dword [0x10042278]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.10026140
add esp, 0xc
lea ecx, [esp + 4]
mov ebx, str.helios32.dll
call fcn.10012459
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
je 0x10001ba6
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x212]
push ecx
mov word [esp + 0x214], ax
call fcn.10026140
add esp, 0xc
call fcn.10012586
push eax
lea edx, [esp + 4]
push edx
push str._s._08x.dirty
lea eax, [esp + 0x214]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea ecx, [esp + 0x208]
push ecx
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.1001f6e7
add esp, 0x414
ret
Function at 0x10001d10
Capabilities:
Create thread

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x10045488
mov dword [esp + 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea ebp, [ebx + 8]
test edi, edi
je 0x10001d7a
lea esi, [esp + 0x34]
lea ebx, [ebp - 7]
call fcn.10001790
cmp dword [eax + 0x18], ebp
jb 0x10001d47
mov eax, dword [eax + 4]
jmp 0x10001d4a
add eax, 4
test eax, eax
je 0x10001d7a
lea esi, [esp + 0x18]
mov ebx, 3
call fcn.10001790
cmp dword [eax + 0x18], ebp
jb 0x10001d66
mov eax, dword [eax + 4]
jmp 0x10001d69
add eax, 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov byte [esp + 0x13], 1
test eax, eax
je 0x10001d7f
mov byte [esp + 0x13], 0
test bl, 2
je 0x10001db1
and ebx, 0xfffffffd
cmp dword [esp + 0x30], ebp
jb 0x10001d9a
mov eax, dword [esp + 0x1c]
push eax
call fcn.1001fbb7
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], cx
test bl, 1
je 0x10001dc9
cmp dword [esp + 0x4c], ebp
jb 0x10001dc9
mov edx, dword [esp + 0x38]
push edx
call fcn.1001fbb7
add esp, 4
cmp byte [esp + 0x13], 0
pop edi
pop esi
pop ebp
pop ebx
je 0x10001dfd
cmp dword [0x100456b8], 0
jne 0x10001df9
push 0
push 0
push 0
push 0x10007b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x40
ret
cmp dword [0x100456b8], 0
je 0x10001df9
call dword [sym.imp.magichk32.dll_Ordinal_30]
add esp, 0x40
jmp dword [sym.imp.magichk32.dll_Ordinal_33]
Function at 0x10005a50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x10042278]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov ebp, 8
push edi
mov edi, ecx
cmp dword [eax + 0x18], ebp
jb 0x10005a77
mov eax, dword [eax + 4]
jmp 0x10005a7a
add eax, 4
push eax
push str.Softwareprojonepodlpwxwork_
push str._lscache_ls
lea esi, [esp + 0x1c]
call fcn.10012a27
add esp, 0xc
cmp dword [edi + 0x18], ebp
jb 0x10005a9b
mov esi, dword [edi + 4]
jmp 0x10005a9e
lea esi, [edi + 4]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x10005aac
lea ebx, [esp + 0x14]
test esi, esi
je 0x10005ab9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10005abb
xor eax, eax
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push str.time
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x80000002
call ebx
cmp dword [edi + 0x34], ebp
jb 0x10005ae0
mov esi, dword [edi + 0x20]
jmp 0x10005ae3
lea esi, [edi + 0x20]
cmp dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x14]
jae 0x10005af1
lea ebp, [esp + 0x14]
test esi, esi
je 0x10005afe
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10005b00
xor eax, eax
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0x1003b36c
push ebp
push 0x80000002
call ebx
mov eax, 8
cmp dword [edi + 0x50], eax
jb 0x10005b24
mov esi, dword [edi + 0x3c]
jmp 0x10005b27
lea esi, [edi + 0x3c]
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x28], eax
jae 0x10005b35
lea ebp, [esp + 0x14]
test esi, esi
je 0x10005b42
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10005b44
xor eax, eax
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push str.receiver
push ebp
push 0x80000002
call ebx
mov ebp, 8
cmp dword [edi + 0x6c], ebp
jb 0x10005b68
mov edi, dword [edi + 0x58]
jmp 0x10005b6b
add edi, 0x58
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x10005b79
lea esi, [esp + 0x14]
test edi, edi
je 0x10005b86
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10005b88
xor eax, eax
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push str.content
push esi
push 0x80000002
call ebx
cmp dword [esp + 0x28], ebp
pop edi
pop esi
pop ebp
pop ebx
jb 0x10005bb4
mov ecx, dword [esp + 4]
push ecx
call fcn.1001fbb7
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1001f6e7
add esp, 0x20
ret