joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10024870
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [0x10075568]
mov edx, dword [eax + 0xc]
mov ecx, 0x10075568
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
push str.logService
lea eax, [esp + 0x2c]
push eax
push 0x10029008
xor ebx, ebx
push ebp
mov dword [esp + 0x30], ebx
call fcn.100036f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10002530
lea edi, [esp + 0x28]
mov byte [esp + 0x20], 1
call fcn.100079b0
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000311a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x10029528
lea ecx, [esp + 0x30]
push ecx
call fcn.10008320
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10008320
lea ebx, [esp + 0x28]
call fcn.10007790
mov ebx, eax
call fcn.10007860
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x10029528
call fcn.1000a1c0
lea ecx, [esp + 0x2c]
lea esi, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.10003be0
xor bl, bl
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003197
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10002390
lea edi, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.100079b0
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100031d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0x10029008
push str.logService
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000321a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x10003240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10024830
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, ecx
mov eax, dword [0x10075568]
mov edx, dword [eax + 0xc]
mov ecx, 0x10075568
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
push str.DelayedService
lea eax, [esp + 0x30]
push eax
push 0x10029008
xor ebx, ebx
push edi
mov dword [esp + 0x34], ebx
call fcn.100036f0
test eax, eax
je 0x10003363
mov eax, dword [ebp]
push 0x1002a0dc
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.10006ce0
lea edx, [esp + 0x18]
push edx
mov ecx, 0x10029528
call fcn.1000a1c0
lea ecx, [esp + 0x18]
lea esi, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.10003be0
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100032fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x2c]
call fcn.10007790
mov ebx, eax
call fcn.10007860
mov ecx, dword [edi]
mov eax, dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push 0
push 0
push eax
call esi
mov edi, dword [edi]
mov ecx, dword [esp + 0x2c]
push edi
push ecx
push 0x10029008
push str.DelayedService
call esi
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000335f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x1000338d
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000338b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x100036f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10024588
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.10007500
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x28]
mov esi, eax
cmp dword [esp + 0x24], eax
jbe 0x1000373c
call fcn.1001516c
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, eax
jbe 0x1000374d
call fcn.1001516c
mov eax, dword [esp + 0x28]
mov ecx, edi
cmp edi, esi
je 0x10003763
xor edx, edx
mov word [ecx], dx
add ecx, 2
cmp ecx, esi
jne 0x10003753
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
sar eax, 1
mov esi, dword [ecx]
jne 0x10003776
call fcn.1001516c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push esi
push 0xa000
push edx
push 0x1002952c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x100037b3
call fcn.1001516c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp word [ecx], 0xa
jne 0x100037fd
mov edx, eax
sub edx, ecx
sar edx, 1
cmp edx, 1
ja 0x100037d1
call fcn.1001516c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp word [ecx + 2], bp
jne 0x100037fd
push ecx
call fcn.10014417
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.10014417
add esp, 4
xor eax, eax
jmp 0x1000386a
sub eax, ecx
sar eax, 1
jne 0x1000380c
call fcn.1001516c
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
jne 0x10003814
xor eax, eax
jmp 0x1000382f
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x10003820
sub eax, esi
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x48]
push ecx
call fcn.1000a0e0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x1000384c
push eax
call fcn.10014417
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.10014417
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10

Function at 0x10003880
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push eax
push 0x20
lea edx, [esp + 8]
push edx
push 0x1002952c
push 0x10028fd4
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp], 0xa
jne 0x100038cf
cmp word [esp + 2], 0
jne 0x100038cf
xor eax, eax
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10014422
add esp, 0x44
ret 4
lea eax, [esp]
push eax
call fcn.10014f34
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esi], eax
xor ecx, esp
mov dword [esi + 4], edx
mov eax, 1
call fcn.10014422
add esp, 0x44
ret 4
Function at 0x10003900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10024198
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x10075568]
mov edx, dword [eax + 0xc]
mov ecx, 0x10075568
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push 0x10029530
lea edi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.10008570
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov esi, dword [esp + 0x18]
add esp, 0xc
push eax
mov eax, dword [esp + 0x30]
push esi
push 0x10028fd4
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000399e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10

Function at 0x10003b80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov dword [esp + 4], 0
cmp dword [0x10076178], 0
jne 0x10003bcd
mov eax, 1
mov dword [0x10076178], eax
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0x10076180
lea ecx, [esp + 0xc]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
mov ecx, 0x10076180
call fcn.1000a1c0
mov eax, esi
add esp, 8
ret
Function at 0x10004170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10024c78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.10002250
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
push ecx
mov ecx, str.kxesc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.1000a1c0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x20]
call fcn.10003880
cmp eax, 1
mov eax, dword [esp + 0x18]
sete byte [esp + 0x13]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100041f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], bl
je 0x100042a8
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.kxescore
call fcn.1000a1c0
mov byte [esp + 0x30], 1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.10003900
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004251
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.kxescore
call fcn.1000a1c0
lea ebx, [esp + 0x18]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.100033b0
test eax, eax
jne 0x10004283
mov edx, ebx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10003080
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100042a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100042d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x100042f0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
push esi
push edi
xor edi, edi
xor eax, eax
mov cl, 0x5e
lea esp, [esp]
xor byte [eax + 0x1002f660], cl
inc eax
cmp eax, 0x22f48
jb 0x10004300
mov eax, dword [esp + 0x10]
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004357
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x22f48
push 0x1002f660
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10004350
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10004360
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
push esi
push edi
xor edi, edi
xor eax, eax
mov cl, 0x56
lea esp, [esp]
xor byte [eax + 0x100525a8], cl
inc eax
cmp eax, 0x22d48
jb 0x10004370
mov eax, dword [esp + 0x10]
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100043c7
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x22d48
push 0x100525a8
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100043c0
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x100043e0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
call fcn.10003f90
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10016010
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push str.kxesc
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000445a
lea ecx, [esp + 0x10]
push ecx
call fcn.10003d70
add esp, 4
mov esi, str.kxescore
call fcn.1000a930
call fcn.1000af00
mov esi, 0x100290d8
call fcn.1000a930
call fcn.1000af00
xor ebx, ebx
mov ecx, str.360cfzz.dll
call fcn.10006000
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10014422
mov esp, ebp
pop ebp
ret
Function at 0x10004730
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
lea ecx, [esp + 8]
call fcn.100044b0
push 0x208
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10016010
mov ecx, dword [esp + 0x14]
push ecx
push str._sSoftMgr_somextrainfo.ini
mov ecx, 0x104
lea ebx, [esp + 0x20]
call fcn.100099c0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x14
mov edx, ebx
push edx
push 0
push str.DisabledTime
push str.QQPCTray
call esi
test eax, eax
je 0x100047d2
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100047b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10014422
add esp, 0x210
ret
lea ecx, [esp + 0xc]
push ecx
push 0
push str.DisabledTime
push str.QQPCRTP
call esi
test eax, eax
je 0x100047ff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x100047aa
lea ecx, [esp + 0xc]
push ecx
push 0
push str.DisabledTime
push str.QQPCFixSvc
call esi
test eax, eax
mov eax, dword [esp + 8]
je 0x1000482f
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x100047aa
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000484b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10014422
add esp, 0x210
ret
Function at 0x10004870
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x218
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
xor ebx, ebx
mov word [esp + 0x1c], ax
call fcn.10016010
mov eax, dword [0x100769ac]
add esp, 0xc
push 0x104
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x10004970
push str.360boost.dll
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10004970
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004970
lea ecx, [esp + 0x10]
push ecx
call fcn.10009750
add esp, 4
test eax, eax
je 0x10004970
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10004970
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BoostOpenkey
push esi
call edi
push str.BoostQueryValueKey
push esi
mov dword [0x1007699c], eax
call edi
push str.BoostCloseKey
push esi
mov dword [0x100769a0], eax
call edi
push str.BoostSetValueKey
push esi
mov dword [0x100769a4], eax
call edi
mov dword [0x100769a8], eax
cmp dword [0x1007699c], ebx
je 0x10004970
cmp dword [0x100769a0], ebx
je 0x10004970
cmp dword [0x100769a4], ebx
je 0x10004970
test eax, eax
je 0x10004970
mov ebx, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10014422
add esp, 0x218
ret
Function at 0x10004a60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10024dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
call fcn.10006140
test eax, eax
je 0x10004c59
lea ecx, [esp + 0x1c]
call fcn.100044b0
xor eax, eax
xor esi, esi
mov dword [esp + 0x858], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10014fdb
add esp, 4
push 0x208
lea edx, [esp + 0x640]
push esi
push edx
call fcn.10016010
add esp, 0xc
call fcn.10014fed
push eax
push 0x10029520
mov ecx, 0x104
lea ebx, [esp + 0x644]
call fcn.100099c0
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
lea edi, [esp + 0x28]
lea esi, [esp + 0x18]
call fcn.1000bb80
push 0x208
lea eax, [esp + 0x440]
push 0
push eax
call fcn.10016010
add esp, 0x14
push 0x104
lea ecx, [esp + 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x208
lea edx, [esp + 0x28]
push 0
push edx
call fcn.10016010
add esp, 0xc
cmp dword [esp + 0x10], 6
lea ebx, [esp + 0x24]
jb 0x10004b81
movzx eax, word [esp + 0x434]
push eax
push str._C:UsersPublicAppDataLocalTemp
jmp 0x10004b8f
movzx ecx, word [esp + 0x434]
push ecx
push str._C:Documents_and_SettingsPublic_UserLocal_SettingsTemp
mov ecx, 0x104
call fcn.100099c0
add esp, 8
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x208
lea eax, [esp + 0x230]
push 0
push eax
call fcn.10016010
add esp, 0xc
lea ecx, [esp + 0x63c]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x10029888
mov ecx, 0x104
lea ebx, [esp + 0x238]
call fcn.100099c0
mov eax, ebx
add esp, 0xc
push eax
call fcn.100042f0
add esp, 4
test eax, eax
je 0x10004c28
call fcn.10004870
test eax, eax
je 0x10004c2e
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004c03
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea ebx, [esp + 0x230]
call fcn.10004990
add esp, 4
jmp 0x10004c2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x858], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004c59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.10014422
mov esp, ebp
pop ebp
ret
Function at 0x10004c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10024bab
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
call fcn.10006140
test eax, eax
je 0x10004e36
lea ecx, [esp + 0x20]
call fcn.100044b0
xor eax, eax
xor esi, esi
mov dword [esp + 0x860], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10014fdb
add esp, 4
push 0x208
lea edx, [esp + 0x440]
push esi
push edx
call fcn.10016010
add esp, 0xc
call fcn.10014fed
push eax
push 0x10029520
mov ecx, 0x104
lea ebx, [esp + 0x444]
call fcn.100099c0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea edi, [esp + 0x30]
lea esi, [esp + 0x2c]
call fcn.1000bb80
push 0x208
lea eax, [esp + 0x650]
push 0
push eax
call fcn.10016010
add esp, 0x14
push 0x104
lea ecx, [esp + 0x648]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x208
lea edx, [esp + 0x238]
push 0
push edx
call fcn.10016010
add esp, 0xc
lea eax, [esp + 0x234]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.10016010
add esp, 0xc
mov edx, ebx
push edx
lea eax, [esp + 0x238]
push eax
push str._s_s.exe
mov ecx, 0x104
lea ebx, [esp + 0x38]
call fcn.100099c0
mov ecx, ebx
add esp, 0xc
push ecx
call fcn.100042f0
add esp, 4
test eax, eax
je 0x10004e05
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004de5
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.10001020
jmp 0x10004e0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x860], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004e36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.10014422
mov esp, ebp
pop ebp
ret
Function at 0x10005e80
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push 0x208
lea eax, [esp + 8]
push 0
push eax
call fcn.10016010
push 0x100290d8
push str.SOFTWARE360Safe_softmgr_fo
push str._s_s
mov ecx, 0x104
lea ebx, [esp + 0x1c]
call fcn.100099c0
add esp, 0x18
mov ecx, ebx
push ecx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [esp + 0x20c]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10014422
add esp, 0x20c
ret