joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b6b
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x43d27f
call fcn.00429c1e
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.DisableAutorun
push str.SOFTWARE360Safe_safemon
mov esi, reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
push esi
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
je 0x411bc8
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x10], ebx
mov ebx, str.360Safetray
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun360Disabled
push esi
mov dword [ebp - 0x14], 0x208
mov dword [ebp - 0x1c], 1
call edi
test eax, eax
jne 0x411bfe
mov dword [ebp - 0x10], 1
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x411c6a
cmp dword [ebp - 0x10], edi
jne 0x411c6a
lea eax, [ebp]
push eax
mov eax, str.safemon360Tray.exe
call fcn.0040a54b
pop ecx
test eax, eax
je 0x411c6a
mov eax, dword [0x451a2c]
mov ecx, 0x451a2c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
push str.__s___start
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00405984
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
pop ecx
pop ecx
add eax, eax
push eax
push edi
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [edi - 0x10]
call fcn.004054cf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00425271
add ebp, 0x20c
leave
ret
Function at 0x411ce9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x456500], 1
push ebx
push edi
jne 0x411d19
or dword [0x456500], 1
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [0x4564fc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x6c]
add ecx, dword [0x4564fc]
cmp ecx, eax
jae 0x411e47
xor edi, edi
push edi
push edi
push edi
push dword [esi + 4]
mov dword [esi + 0x6c], eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, 0x455838
cmp dword [0x455a40], edi
jne 0x411d8a
xor eax, eax
inc eax
mov dword [0x455a40], eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x214]
push eax
push str.DefaultTrayStart
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x4425b8
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x411e21
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.004253c0
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
mov eax, ebx
call fcn.0040a54b
pop ecx
test eax, eax
je 0x411e21
lea eax, [ebp - 0x210]
push eax
call fcn.0040a78b
pop ecx
test al, al
je 0x411e21
mov ebx, 0x4549c8
push ebx
call fcn.00425946
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x411e21
lea eax, [ebp - 0x210]
push eax
call fcn.00414ae3
pop ecx
test eax, eax
je 0x411e21
push edi
push edi
lea ecx, [ebp - 0x210]
call fcn.0040a664
pop ecx
pop ecx
jmp 0x411e36
push str.opensafe
lea ebx, [esi + 0x94c]
call fcn.00415f0e
call fcn.0040ad8a
cmp dword [esi + 0x58], edi
jne 0x411e47
push edi
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00425271
leave
ret
Function at 0x413a7b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x43e7a9
call fcn.00429c1e
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
push str.TrayNeedReboot
call dword [eax + 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00409ada
push str.TRUE
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00407444
test eax, eax
jne 0x413b94
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
je 0x413b94
push str._spreboot
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x413b94
mov eax, dword [0x451a2c]
mov esi, 0x451a2c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00413bc4
mov eax, dword [0x451a2c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [ebp - 0x18]
push eax
push esi
push str._s__spreboot:_d
lea eax, [ebp - 0x14]
call fcn.00405984
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.004253c0
add esp, 0x18
push 0x104
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp]
call fcn.0040a664
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.00412455
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [edi + 0x7c], ebx
call fcn.004054cf
lea eax, [esi - 0x10]
call fcn.004054cf
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004054cf
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 + 0x208]
xor ecx, ebp
call fcn.00425271
add ebp, 0x20c
leave
ret
Function at 0x414664
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3ac]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x198], ax
xor esi, esi
lea eax, [ebp + 0x19a]
inc esi
push eax
mov dword [ebp - 0x74], esi
call fcn.004253c0
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x444638
mov dword [ebp - 0x78], esi
mov edi, str.SOFTWARE360SafeCoop
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x7c], 0x208
call ebx
push 4
pop eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp word [ebp + 0x198], bx
jne 0x414831
xor eax, eax
push 0x206
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.004253c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360oemoeminfo.ini
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp + 0x198]
push ebx
push eax
call fcn.004253c0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0x103
lea eax, [ebp + 0x198]
push eax
push ebx
push 0x4446dc
mov ebx, str.main
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4147a7
cmp word [ebp + 0x198], 0
je 0x4147b1
lea eax, [ebp - 0x70]
push eax
push 1
push 0x4446f0
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x74], eax
cmp word [ebp + 0x198], 0
jne 0x4147cc
mov eax, 0x104
push eax
push str.h_home
push eax
lea eax, [ebp + 0x198]
push eax
call fcn.004255f4
add esp, 0x10
lea eax, [ebp + 0x198]
push eax
call fcn.00425946
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push 0x444638
push edi
push esi
call ebx
lea eax, [ebp + 0x198]
push eax
call fcn.00425946
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push str.PrePartner
push edi
push esi
call ebx
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp dword [ebp - 0x74], ebx
jne 0x41483d
mov dword [ebp - 0x74], 1
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push eax
lea eax, [esi + 8]
push eax
call fcn.004031c2
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 0x3a0]
mov dword [esi + 4], eax
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00425271
add ebp, 0x3a4
leave
ret 4
Function at 0x415c25
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
mov dword [ebp - 4], eax
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret 4
Function at 0x416851
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x10004]
mov eax, 0x10004
call fcn.004337b0
push 0xffffffffffffffff
push 0x43d22c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp + 0x10000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10010]
mov edi, dword [ebp + 0x1000c]
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x451a2c]
mov ecx, 0x451a2c
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push dword [esi + 0x40]
lea eax, [ebp]
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea esi, [ebp]
mov dword [ebp - 0x1c], eax
mov ebx, esi
test eax, eax
jle 0x4169f7
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
movzx eax, word [esi]
cmp eax, 0x50
je 0x41698a
cmp eax, 0x54
je 0x416904
cmp eax, 0x70
je 0x41698a
cmp eax, 0x74
jne 0x416926
add esi, 4
push esi
push dword [ebp + 0x10014]
push 0x400
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
jmp 0x416982
cmp word [esi], 0x39
ja 0x41692c
inc esi
inc esi
cmp word [esi], 0x30
jae 0x41691e
xor eax, eax
mov word [esi], ax
inc esi
push ebx
inc esi
call fcn.004261cb
pop ecx
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
push esi
push ebx
call fcn.004261cb
pop ecx
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
push eax
push 0x400
push ebx
call fcn.004261cb
pop ecx
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
push eax
call dword [sym.imp.USER32.dll_ModifyMenuW]
jmp 0x4169db
inc esi
inc esi
mov ebx, esi
jmp 0x416998
cmp word [esi], 0x39
ja 0x41699e
inc esi
inc esi
cmp word [esi], 0x30
jae 0x416990
xor eax, eax
push ebx
push dword [ebp - 0x18]
mov word [esi], ax
inc esi
push str._s_P_s
lea eax, [ebp - 0x14]
inc esi
call fcn.00405984
push ebx
call fcn.004261cb
add esp, 0x10
push eax
push dword [ebp + 0x10014]
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.00416851
jmp 0x4169db
inc esi
inc esi
cmp word [esi], 0
jne 0x4169d9
inc esi
inc esi
mov eax, esi
lea ecx, [ebp]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x1c]
mov ebx, esi
jl 0x4168e5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004054cf
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 + 0x10000]
xor ecx, ebp
call fcn.00425271
add ebp, 0x10004
leave
ret 0xc
Function at 0x416a2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, 0x804
push esi
push 1
push 6
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x416a47
xor eax, eax
jmp 0x416aa4
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x416a43
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x416aa3
push edi
push 0x48
call fcn.00425716
mov edi, eax
pop ecx
test edi, edi
je 0x416a9c
push 0x48
push 0
push edi
call fcn.004253c0
add esp, 0xc
mov eax, ebx
mov dword [edi], 1
mov word [edi + 4], si
call fcn.00416aa8
test eax, eax
jne 0x416aa0
push edi
call fcn.004257e0
pop ecx
xor eax, eax
jmp 0x416aa2
mov eax, edi
pop edi
pop ebx
pop esi
ret 4
Function at 0x41934a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x240
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push ebx
push eax
mov dword [ebp - 0x50], ebx
call fcn.004253c0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push str.registtime
push str.Software360safeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x58], 0x208
mov dword [ebp - 0x54], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41946a
push esi
push edi
push 8
pop ecx
mov dword [ebp - 0x80], ebx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push 0x3a
push eax
call fcn.00428f93
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x419468
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x4c]
push eax
call fcn.004261cb
lea edi, [esi + 2]
push 0x3a
push edi
mov ebx, eax
call fcn.00428f93
mov esi, eax
add esp, 0xc
test esi, esi
je 0x419468
xor eax, eax
push edi
mov word [esi], ax
call fcn.004261cb
mov edi, eax
xor eax, eax
mov word [esi], ax
add esi, 2
push esi
call fcn.004261cb
mov dword [ebp - 0x74], eax
add ebx, 0xfffff894
lea eax, [ebp - 0x80]
dec edi
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
call fcn.00429200
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x419468
lea eax, [ebp - 0x5c]
push eax
call fcn.00427316
pop ecx
cmp eax, 0xffffffff
je 0x419468
push esi
push dword [ebp - 0x5c]
call fcn.00429212
fdiv qword [0x446928]
pop ecx
pop ecx
call fcn.0043ca16
mov dword [ebp - 0x50], eax
pop edi
pop esi
mov ecx, dword [ebp + 0x1bc]
mov eax, dword [ebp - 0x50]
xor ecx, ebp
pop ebx
call fcn.00425271
add ebp, 0x1c0
leave
ret

Function at 0x419483
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp + 0x190], eax
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.004253c0
add esp, 0xc
push 0x104
lea edi, [ebp - 0x78]
mov eax, 0x4545b8
call fcn.00414625
mov eax, edi
push eax
push esi
call fcn.004031c2
mov eax, 0x208
push eax
mov dword [ebp - 0x80], eax
mov eax, edi
push 0
push eax
mov dword [ebp - 0x7c], 1
call fcn.004253c0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov eax, edi
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4454d0
push str.Software360safeCoop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop edi
test eax, eax
jne 0x41951e
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.004031c2
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.00425271
add ebp, 0x194
leave
ret
Function at 0x4197b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004253c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push str.SystemManufacturer
push str.SYSTEMCurrentControlSetControlSystemInformation
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], 0x208
mov dword [ebp - 0x214], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x419847
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.004031c2
mov eax, dword [esi]
cmp dword [eax - 0xc], 2
jl 0x419868
push esi
call fcn.0041978e
jmp 0x41986a
push esi
call fcn.004196a9
test eax, eax
je 0x419868
mov eax, dword [esi]
cmp dword [eax - 0xc], 2
jl 0x419868
push esi
call fcn.0041978e
test eax, eax
je 0x419868
xor eax, eax
inc eax
jmp 0x41986a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425271
leave
ret

Function at 0x419876
Capabilities:
Get disk information via ioctl

Disassembly:
push 0x14
mov eax, 0x43d1c3
call fcn.00429c1e
mov eax, dword [0x451a2c]
mov ecx, 0x451a2c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
movzx eax, word [ebp + 8]
push eax
push str.._c:
lea eax, [ebp - 0x10]
call fcn.00405984
mov ebx, dword [ebp - 0x10]
pop ecx
pop ecx
push 3
push 3
push esi
push ebx
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], esi
call fcn.0040e484
test eax, eax
je 0x4198e7
cmp dword [ebp + 8], esi
je 0x4198d5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
call fcn.004054cf
xor eax, eax
call fcn.00429cf6
ret 8
mov edi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push 0x2d1080
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x419921
cmp edi, esi
je 0x419915
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
call fcn.004054cf
mov eax, esi
jmp 0x4198df
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp edi, esi
je 0x419934
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x419915
Function at 0x419d0d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1c], 0
push esi
push edi
mov esi, str._fixid
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x419d85
push ebx
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x18], ebx
jle 0x419d84
mov esi, ebx
push 7
lea eax, [ebp - 0x14]
push eax
push dword [edi + esi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x419d72
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x419d57
jmp 0x419d84
mov eax, dword [edi + esi*4]
add eax, 0xe
push eax
push dword [ebp - 0x20]
call fcn.004031c2
mov dword [ebp - 0x1c], ebx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
pop edi
xor ecx, ebp
pop esi
call fcn.00425271
leave
ret 4

Function at 0x41a830
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push esi
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.PrePartner
mov edi, str.Software360safeCoop
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41a899
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
push str.Partner
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x445810
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [ebp + 0x8c]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.00425271
add ebp, 0x90
leave
ret
Function at 0x41ad29
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x434
mov eax, 0x43df83
call fcn.00429c87
push 0x104
lea eax, [ebp - 0x424]
push eax
xor edi, edi
push edi
mov ebx, 0xd7
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...HomePageLib.dat
lea eax, [ebp - 0x424]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ae06
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004253c0
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x428]
push eax
push str.Start_Page
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x428], 1
mov dword [ebp - 0x42c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [edi*8 + 0x44efb4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x41adf7
inc edi
cmp edi, 0xf
jb 0x41add4
jmp 0x41af53
mov ebx, dword [edi*8 + 0x44efb0]
add ebx, 0x64
jmp 0x41af53
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x428], edi
call fcn.0041ba52
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x42c], esi
cmp esi, edi
je 0x41af53
cmp dword [ebp - 0x428], edi
jbe 0x41af53
push dword [ebp - 0x428]
call fcn.0041ba1f
lea eax, [ebp - 0x438]
mov dword [esp], 0x4425b8
push eax
mov dword [ebp - method.CIniReader.virtual_0], vtable.CIniReader.0
mov dword [ebp - 0x43c], edi
call fcn.00409ada
mov dword [ebp - 0x434], edi
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004253c0
add esp, 0xc
push dword [ebp - 0x428]
mov eax, esi
lea esi, [ebp - 0x440]
call fcn.0040e5c9
call fcn.0040e772
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x41aecb
lea eax, [ebp - 0x440]
push eax
lea ebx, [ebp - 0x21c]
call fcn.0040e7be
push 0x73
pop ebx
jmp 0x41af09
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x430]
push eax
push str.Start_Page
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x430], 1
mov dword [ebp - 0x428], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [edi*8 + 0x44efb4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x41af29
inc edi
cmp edi, 0xf
jb 0x41af09
jmp 0x41af3c
neg esi
sbb esi, esi
and esi, 0xffffff9c
add esi, 0x64
add esi, dword [edi*8 + 0x44efb0]
mov ebx, esi
push dword [ebp - 0x42c]
call fcn.004257e0
pop ecx
lea ecx, [ebp - 0x440]
call fcn.0040e5a7
mov eax, ebx
call fcn.00429d0a
ret