joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff2b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x40ff40
xor eax, eax
inc eax
jmp 0x40ff6f
push 0
lea edx, [ebp - 4]
push edx
sub eax, ecx
push eax
push ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40ff68
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp dword [ebp - 4], ecx
jne 0x40ff68
mov dword [esi + 4], eax
jmp 0x40ff3b
mov eax, dword [esi]
mov dword [esi + 4], eax
xor eax, eax
pop esi
leave
ret

Function at 0x410038
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
mov ecx, dword [ebp + 0x1bc]
mov eax, dword [ebp + 0x1b8]
push ebx
push esi
mov esi, dword [ebp + 0x1b4]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp + 0x1c0]
xor ebx, ebx
push edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ecx
cmp esi, ebx
je 0x4101b1
cmp eax, ebx
je 0x4101b1
cmp ecx, ebx
je 0x4101b1
push 0x208
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], 1
call fcn.0044c960
mov eax, dword [ebp + 0x1c4]
push esi
push str.SOFTWARE360SafeLiveUpupdatecfg
add eax, eax
push 0x46a7e4
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x60]
push 0x103
push eax
call fcn.0044cf85
add esp, 0x20
lea eax, [ebp - 0x64]
push eax
push 0x20219
push ebx
lea eax, [ebp - 0x60]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x41012b
cmp dword [ebp - 0x64], ebx
je 0x410123
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
push ebx
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call esi
push dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
call edi
cmp dword [ebp - 0x80], ebx
jne 0x41012b
mov eax, dword [ebp - 0x68]
jmp 0x4101b3
cmp byte [ebp + 0x1c8], bl
je 0x4101b1
lea eax, [ebp - 0x64]
push eax
push 0x20219
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4101b1
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push str.Path
push dword [ebp - 0x64]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 0x206
call esi
push dword [ebp - 0x64]
call edi
push 0xe
push str.updatecfg.ini
lea eax, [ebp - 0x60]
push 0x104
push eax
call fcn.0044fc6e
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x1c4]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x70]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4101b3
xor eax, eax
mov ecx, dword [ebp + 0x1a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cbcc
add ebp, 0x1ac
leave
ret
Function at 0x410265
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0044cbcc
leave
ret

Function at 0x4102a5
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x114
push esi
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x410365
push 0x3f
push eax
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x43]
push eax
call fcn.0044c960
add esp, 0xc
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x15c]
push eax
push str.CurrentVersion
push 0x46a870
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x160], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x410344
movsx eax, byte [ebp - 0x44]
sub eax, 0x30
mov dword [esi + 4], eax
lea eax, [ebp - 0x42]
push eax
mov dword [esi + 0x10], 2
call fcn.0044fd72
pop ecx
mov dword [esi + 8], eax
jmp 0x410365
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov dword [esi + 8], eax
xor eax, eax
cmp ecx, 4
seta al
mov dword [esi + 4], ecx
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, 6
ja 0x410375
jne 0x4103ca
cmp dword [esi + 8], 2
jb 0x4103ca
push 0x110
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.0044c960
add esp, 0xc
push 0x46a284
push str.ntdll.dll
mov dword [ebp - 0x158], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4103ca
lea ecx, [ebp - 0x158]
push ecx
call eax
test eax, eax
jne 0x4103ca
push edi
lea eax, [ebp - 0x158]
push eax
push esi
call fcn.0044cc20
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.0044cbcc
leave
ret

Function at 0x410435
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x41046f
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x410471
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044cbcc
add ebp, 0x98
leave
ret
Function at 0x410486
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x74], 5
jne 0x41052d
cmp dword [ebp - 0x70], 1
jb 0x41052d
push 0x103
lea eax, [ebp + 0x9d]
push 0
push eax
mov byte [ebp + 0x9c], 0
call fcn.0044c960
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x9c]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.CSDVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41052d
lea eax, [ebp + 0x9c]
push str.Service_Pack_2
push eax
call fcn.0044fe8b
pop ecx
pop ecx
test eax, eax
jl 0x41052d
xor eax, eax
inc eax
jmp 0x41052f
xor eax, eax
mov ecx, dword [ebp + 0x1a0]
xor ecx, ebp
call fcn.0044cbcc
add ebp, 0x1a4
leave
ret

Function at 0x410544
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x410581
cmp dword [ebp - 0x78], 2
jne 0x410581
xor eax, eax
inc eax
jmp 0x410583
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044cbcc
add ebp, 0x98
leave
ret

Function at 0x410611
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f94]
mov eax, 0x2014
call fcn.0044d8b0
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x1f90], eax
mov eax, dword [ebp + 0x1fa4]
push ebx
mov ebx, dword [ebp + 0x1fa0]
push esi
push edi
mov edi, dword [ebp + 0x1f9c]
mov esi, 0x1fff
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.0044c960
and dword [ebp - 0x7c], 0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4106b6
cmp eax, esi
ja 0x4106b6
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4106b6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x46a950
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4106b6
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x4106b8
xor eax, eax
mov ecx, dword [ebp + 0x1f90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cbcc
add ebp, 0x1f94
leave
ret
Function at 0x410768
Capabilities:
Shutdown system

Disassembly:
push ebp
lea ebp, [esp - 0xb4]
sub esp, 0x134
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0xb0], eax
push esi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
cmp dword [ebp - 0x54], 2
jne 0x4107eb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x68]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x70]
push eax
push 0x46a954
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x70]
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
push esi
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
push esi
push dword [ebp - 0x68]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x74], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push esi
push dword [ebp + 0xbc]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp + 0xb0]
xor ecx, ebp
pop esi
call fcn.0044cbcc
add ebp, 0xb4
leave
ret

Function at 0x41093f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x410982
cmp dword [ebp - 0x7c], 6
jne 0x410982
cmp dword [ebp - 0x78], 1
jne 0x410982
call fcn.004108d8
jmp 0x410984
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044cbcc
add ebp, 0x98
leave
ret

Function at 0x410999
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4109dc
cmp dword [ebp - 0x7c], 6
jne 0x4109dc
cmp dword [ebp - 0x78], 2
jne 0x4109dc
call fcn.004108d8
jmp 0x4109de
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044cbcc
add ebp, 0x98
leave
ret

Function at 0x410b6f
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044c960
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x410bbb
xor eax, eax
jmp 0x410bef
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410bb7
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00410611
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044cbcc
leave
ret
Function at 0x410d0d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.OpenallfaleStatics
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 0
setne al
leave
ret

Function at 0x410d4a
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1ac]
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.0044c960
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push str.UninstallString
push str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
mov edi, SysReAllocStringLen
push edi
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0x103
call esi
test eax, eax
jne 0x410e33
cmp ax, word [ebp - 0x70]
je 0x410e33
cmp dword [ebp - 0x78], eax
je 0x410de7
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x1a8]
push dword [ebp - 0x78]
call fcn.0044cfa3
add esp, 0xc
push str.......
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360se.exe
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410e33
cmp dword [ebp - 0x74], 0
je 0x410e2e
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x1b0]
push dword [ebp - 0x74]
call fcn.0044cfa3
add esp, 0xc
xor eax, eax
inc eax
jmp 0x410ea5
push 0x208
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.0044c960
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push str.DisplayIcon
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360Chrome
push edi
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0x103
call esi
test eax, eax
jne 0x410ea3
cmp ax, word [ebp - 0x70]
je 0x410ea3
cmp dword [ebp - 0x78], eax
je 0x410e91
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x1a8]
push dword [ebp - 0x78]
call fcn.0044cfa3
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410e13
xor eax, eax
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.0044cbcc
add ebp, 0x19c
leave
ret
Function at 0x41102c
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xba8]
sub esp, 0xc28
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0xba4], eax
push esi
push edi
mov edi, 0x208
xor esi, esi
push edi
lea eax, [ebp + 0x794]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.0044c960
add esp, 0xc
push str...Config_newui_themesdefault360RealPro12360RealPro12_theme.ui
push 0x4847fc
lea eax, [ebp + 0x794]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea eax, [ebp + 0x99c]
push esi
push eax
call fcn.0044c960
lea eax, [ebp + 0x794]
add esp, 0xc
test eax, eax
je 0x4111e1
lea eax, [ebp + 0x99c]
test eax, eax
je 0x4111e1
lea eax, [ebp + 0x794]
push 0x5c
push eax
call fcn.0044d0ab
pop ecx
pop ecx
cmp eax, esi
je 0x4110e8
push esi
push edi
lea ecx, [ebp + 0x99c]
push ecx
push esi
add eax, 2
push 0x46a834
push eax
call fcn.00410038
add esp, 0x18
test eax, eax
je 0x4110e8
cmp word [ebp + 0x99c], si
jne 0x4111e7
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
lea eax, [ebp + 0x794]
push eax
mov dword [ebp - 0x70], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
je 0x41124e
push ebx
push 2
push esi
push 0xffffff00
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, 0x800
push ebx
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x78], esi
call fcn.0044c960
add esp, 0xc
push esi
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebx
test eax, eax
je 0x41119f
mov eax, dword [ebp - 0x78]
cmp eax, 0x100
ja 0x41119f
shr eax, 1
push 0x46a7a0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040ff9e
add esp, 0xc
cmp eax, esi
je 0x411191
push edi
push esi
lea ecx, [ebp + 0x99c]
push ecx
push eax
call fcn.0040ffec
add esp, 0x10
test al, al
je 0x411191
mov dword [ebp - 0x70], 1
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x70], esi
jne 0x4111dc
lea eax, [ebp + 0x794]
push 0x5c
push eax
call fcn.0044d0ab
pop ecx
pop ecx
cmp eax, esi
je 0x4111dc
push 1
push edi
lea ecx, [ebp + 0x99c]
push ecx
push esi
add eax, 2
push 0x46a834
push eax
call fcn.00410038
add esp, 0x18
test eax, eax
je 0x4111dc
cmp word [ebp + 0x99c], si
jne 0x4111e7
mov eax, dword [ebp - 0x70]
jmp 0x4111e3
xor eax, eax
cmp eax, esi
je 0x41124e
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x99c]
push str._u._u._u._u
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x7c], esi
call fcn.0044ff6f
movzx eax, word [ebp - 0x74]
movzx ecx, word [ebp - 0x78]
movzx edx, word [ebp - 0x7c]
mov esi, dword [ebp + 0xbb4]
shl eax, 0x10
or eax, ecx
movzx ecx, word [ebp - 0x70]
shl ecx, 0x10
or ecx, edx
mov edx, dword [ebp + 0xbb0]
add esp, 0x18
cmp eax, edx
jl 0x41124e
jg 0x411247
cmp ecx, esi
jb 0x41124e
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp + 0xba4]
mov eax, dword [ebp - 0x80]
pop edi
xor ecx, ebp
pop esi
call fcn.0044cbcc
add ebp, 0xba8
leave
ret
Function at 0x411268
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xba8]
sub esp, 0xc28
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0xba4], eax
push esi
push edi
mov edi, 0x208
xor esi, esi
push edi
lea eax, [ebp + 0x794]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.0044c960
add esp, 0xc
push str...Config_newui_themesdefault_realpro12_theme.xml
push 0x4847fc
lea eax, [ebp + 0x794]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea eax, [ebp + 0x99c]
push esi
push eax
call fcn.0044c960
lea eax, [ebp + 0x794]
add esp, 0xc
test eax, eax
je 0x41141d
lea eax, [ebp + 0x99c]
test eax, eax
je 0x41141d
lea eax, [ebp + 0x794]
push 0x5c
push eax
call fcn.0044d0ab
pop ecx
pop ecx
cmp eax, esi
je 0x411324
push esi
push edi
lea ecx, [ebp + 0x99c]
push ecx
push esi
add eax, 2
push 0x46a834
push eax
call fcn.00410038
add esp, 0x18
test eax, eax
je 0x411324
cmp word [ebp + 0x99c], si
jne 0x411423
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
lea eax, [ebp + 0x794]
push eax
mov dword [ebp - 0x70], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
je 0x41148a
push ebx
push 2
push esi
push 0xffffff00
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, 0x800
push ebx
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x78], esi
call fcn.0044c960
add esp, 0xc
push esi
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebx
test eax, eax
je 0x4113db
mov eax, dword [ebp - 0x78]
cmp eax, 0x100
ja 0x4113db
shr eax, 1
push 0x46a7a0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040ff9e
add esp, 0xc
cmp eax, esi
je 0x4113cd
push edi
push esi
lea ecx, [ebp + 0x99c]
push ecx
push eax
call fcn.0040ffec
add esp, 0x10
test al, al
je 0x4113cd
mov dword [ebp - 0x70], 1
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x70], esi
jne 0x411418
lea eax, [ebp + 0x794]
push 0x5c
push eax
call fcn.0044d0ab
pop ecx
pop ecx
cmp eax, esi
je 0x411418
push 1
push edi
lea ecx, [ebp + 0x99c]
push ecx
push esi
add eax, 2
push 0x46a834
push eax
call fcn.00410038
add esp, 0x18
test eax, eax
je 0x411418
cmp word [ebp + 0x99c], si
jne 0x411423
mov eax, dword [ebp - 0x70]
jmp 0x41141f
xor eax, eax
cmp eax, esi
je 0x41148a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x99c]
push str._u._u._u._u
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x7c], esi
call fcn.0044ff6f
movzx eax, word [ebp - 0x74]
movzx ecx, word [ebp - 0x78]
movzx edx, word [ebp - 0x7c]
mov esi, dword [ebp + 0xbb4]
shl eax, 0x10
or eax, ecx
movzx ecx, word [ebp - 0x70]
shl ecx, 0x10
or ecx, edx
mov edx, dword [ebp + 0xbb0]
add esp, 0x18
cmp eax, edx
jl 0x41148a
jg 0x411483
cmp ecx, esi
jb 0x41148a
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp + 0xba4]
mov eax, dword [ebp - 0x80]
pop edi
xor ecx, ebp
pop esi
call fcn.0044cbcc
add ebp, 0xba8
leave
ret
Function at 0x4114a4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044c960
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str...Config_newui_themesdefault360RealPro12360RealPro12_theme.ui
mov ebx, 0x4847fc
push ebx
lea eax, [ebp - 0x20c]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x411531
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044c960
add esp, 0xc
push str...Config_newui_themesdefault_realpro12_theme.xml
push ebx
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call edi
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cbcc
leave
ret

Function at 0x411743
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
or dword [eax + 4], 0x1000
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x411a3a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00432b24
pop ecx
test eax, eax
je 0x411a97
push esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0044c960
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], 0x1400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x411a94
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
leave
ret

Function at 0x411a9a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x411b0f
push 0x46adb0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x411b0f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411b0f
push 5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00411a3a
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044cbcc
leave
ret