joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433ee3
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.004230d0
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.004a20a0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004b824f
push 0x800
lea eax, [ebp - 0x1028]
push esi
push eax
call fcn.004a20a0
push 0x5f6a80
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.00433ea7
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004a20a0
add esp, 0x40
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
call fcn.004a20a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0fdd
pop ecx
test eax, eax
je 0x434142
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004a2268
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x434142
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0fdd
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.004b824f
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.00433ea7
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.0042efc7
push esi
call fcn.004b0f39
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.004b7d12
add esp, 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test edi, edi
je 0x434142
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [edi]
mov eax, dword [edi + 0x10]
push dword [edi + 4]
inc eax
push dword [edi + 8]
push dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00433ec5
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x5fb22c
push eax
cmovne esi, ebx
call fcn.004b13f8
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x434142
test esi, esi
jne 0x4340e8
push edi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.004b727f
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.004b0fdd
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.004b727f
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.004b727f
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.004b727f
push edi
call fcn.004b149c
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422909
mov esp, ebp
pop ebp
ret
Function at 0x434219
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004b0fdd
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00422a8d
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004b0fbb
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x434293
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x43428a
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434280
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x434291
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x43425d
jmp 0x434293
xor edi, edi
push esi
call fcn.00422a96
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4342a3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.004347b3
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0fdd
add esp, 0x14
test eax, eax
je 0x43435b
lea eax, [ebp - 0x20c]
push 0x5f8ed4
push eax
call fcn.004b6eca
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004b6eca
lea eax, [ebp - 0x20c]
push 0x5f8ed4
push eax
call fcn.004b6eca
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434334
lea eax, [ebp - 0x20c]
push eax
call fcn.00434219
pop ecx
cmp word [ebp - 0x20c], si
je 0x43434c
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0fdd
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00408a70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422909
mov esp, ebp
pop ebp
ret

Function at 0x434494
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x67ea84]
test al, al
jne 0x43452d
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a20a0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x434524
lea eax, [ebp - 0x20c]
push eax
call fcn.004afb79
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004a3b0b
pop ecx
pop ecx
test eax, eax
jne 0x43451c
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004a3b0b
pop ecx
pop ecx
test eax, eax
je 0x434524
mov byte [0x67ea84], bl
jmp 0x43452a
mov bl, byte [0x67ea84]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422909
mov esp, ebp
pop ebp
ret
Function at 0x43453b
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x5e5464
call fcn.00423157
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.004a20a0
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004a20a0
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a20a0
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004a20a0
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a20a0
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004a20a0
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.004347b3
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004b0fbb
lea eax, [ebp - 0x218]
push eax
call fcn.004b0fdd
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004a2268
add esp, 0x24
test eax, eax
jne 0x43463f
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.004342a3
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.004298b1
push esi
push 1
jmp 0x4347a0
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004b0fbb
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.004b6eca
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.004b0fbb
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004b6eca
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.004b0fbb
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004b6eca
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x43477d
cmp dword [ebp - 0xc5c], 0
je 0x43477d
test ecx, ecx
je 0x43477d
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.00407b20
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43474d
lea eax, [ebp - 0x420]
push eax
call fcn.00434219
pop ecx
cmp word [ebp - 0x420], 0
jne 0x43475b
xor eax, eax
jmp 0x434768
lea eax, [ebp - 0x420]
push eax
call fcn.004b0fdd
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00408a70
jmp 0x43478c
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.004342a3
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.004298b1
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.0040e6e0
mov eax, edi
call fcn.00423112
ret
Function at 0x434826
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x83c
mov eax, 0x5e5497
call fcn.00423157
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x848], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x1c]
push eax
call fcn.0040a9f0
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 4], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
call esi
test eax, eax
je 0x4348b7
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.004298b1
push 0
jmp 0x4349f4
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x4348e4
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4348a2
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x434917
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x4348a2
lea eax, [ebp - 0x830]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x434969
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.004298b1
jmp 0x4349f3
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004a20a0
add esp, 0xc
mov dword [ebp - 0x840], 0x400
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x844]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x82c]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004b0fdd
pop ecx
mov ecx, edi
test eax, eax
je 0x434958
lea eax, [ebp - 0x810]
push eax
call fcn.0040a9f0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0040e6e0
mov eax, edi
call fcn.00423112
ret
Function at 0x434a09
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x5e54ca
call fcn.00423157
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x844], esi
call fcn.0040a9f0
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], esi
push eax
push 0x20119
push esi
push str.SoftWare
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x434a94
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.004298b1
push 0
jmp 0x434b83
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x434abd
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x434a7f
lea eax, [ebp - 0x82c]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x434b04
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.004298b1
jmp 0x434b82
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004a20a0
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004b0fdd
pop ecx
mov ecx, edi
test eax, eax
je 0x434af6
lea eax, [ebp - 0x810]
push eax
call fcn.0040a9f0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0040e6e0
mov eax, edi
call fcn.00423112
ret
Function at 0x434b98
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x5e54fd
call fcn.00423157
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0040a9f0
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x434c1c
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.004298b1
push 0
jmp 0x434d1a
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x434c50
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x434c07
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x434c8b
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x434c07
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004a20a0
add esp, 0xc
mov dword [ebp - 0x838], 0x400
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004b0fdd
pop ecx
mov ecx, edi
test eax, eax
jne 0x434d0d
lea eax, [ebp - 0x828]
push eax
call fcn.004298b1
jmp 0x434d19
lea eax, [ebp - 0x810]
push eax
call fcn.0040a9f0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0040e6e0
mov eax, edi
call fcn.00423112
ret
Function at 0x434d2f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434dec
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x434d8d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x434deb
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x434db3
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x434de9
push dword [ebp + 0x14]
call fcn.004b0fdd
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434df2
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x5e5547
call fcn.00423157
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.004a20a0
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x5f68b8
mov ecx, esi
call fcn.0040a9f0
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x434ee9
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434ee2
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x434f1b
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x434fe7
cmp eax, 1
jne 0x434f11
mov edi, str.WindowsXP
jmp 0x434fd7
mov edi, str.WindowsServer2003
jmp 0x434fd7
cmp eax, 6
jne 0x434fe7
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x434fc4
sub eax, 1
je 0x434fbd
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x434fed
cmp edi, 0x1ebb
jne 0x434f59
mov edi, str.Windows8
jmp 0x434fd7
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x434f52
cmp edi, 0x1f13
je 0x434f52
cmp dword [ebp - 0x340], 0xa
jne 0x434f91
cmp dword [ebp - 0x344], 0
jne 0x434fed
push str.Windows10
call fcn.004b0fdd
pop ecx
push eax
push str.Windows10
jmp 0x434fb4
cmp dword [ebp - 0x340], 6
jne 0x434fed
cmp dword [ebp - 0x344], 3
jne 0x434fed
push str.Windows8.1
call fcn.004b0fdd
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.00408a70
jmp 0x434fed
mov edi, str.Windows7
jmp 0x434fd7
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x434fd7
mov edi, str.WindowsServer2008
push edi
call fcn.004b0fdd
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00408a70
mov edi, dword [ebp - 0x338]
push 0x5f68b8
mov ecx, esi
call fcn.00429777
test eax, eax
jne 0x43505b
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004a20a0
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00407b20
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x43503f
mov eax, ebx
jmp 0x43504c
lea eax, [ebp - 0x218]
push eax
call fcn.004b0fdd
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00408a70
cmp dword [ebp + 0xc], 0
je 0x435089
cmp word [ebp - 0x320], 0
je 0x43507a
lea eax, [ebp - 0x320]
push eax
call fcn.004b0fdd
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.0040e930
mov eax, esi
call fcn.00423112
ret
Function at 0x4351a3
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004a20a0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x435206
cmp dword [ebp - 0x118], 2
jg 0x435206
xor eax, eax
inc eax
jmp 0x435208
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422909
mov esp, ebp
pop ebp
ret

Function at 0x43c441
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx + 8]
jmp 0x43c465
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push ebx
call fcn.0043c365
test eax, eax
jne 0x43c58b
test esi, esi
jne 0x43c44e
push 0x5f68b8
push dword [ebx]
call fcn.004b0f7b
pop ecx
pop ecx
test eax, eax
je 0x43c589
mov ecx, dword [0x67eb4c]
test ecx, ecx
je 0x43c492
call fcn.0044202c
mov esi, eax
jmp 0x43c494
xor esi, esi
push edi
push 0x2801
call fcn.004ac74e
mov edi, eax
mov dword [esp], 0x5002
call fcn.004ac74e
push dword [ebx]
mov ebx, eax
mov dword [ebp + 8], eax
push str.GetSkin__s__Failed_
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00407ae0
add esp, 0x18
mov dword [ebp + 8], eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp + 8]
cmp eax, 0x2800
jge 0x43c4ff
xor edx, edx
push edx
push edx
push ecx
push edi
push eax
push ebx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
mov byte [eax + edi], 0
push ebx
call fcn.004ac749
pop ecx
test esi, esi
je 0x43c53e
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x43c53e
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SSkinPoolMgr::GetSkin
push 0x9d
push str.src_res.mgrSSkinPool.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x43c581
push 0x2801
call fcn.004ac74e
push 0x9d
push str.src_res.mgrSSkinPool.cpp
push str.SOUI::SSkinPoolMgr::GetSkin
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00407aa0
add esp, 0x24
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ac749
pop ecx
push edi
call fcn.004ac749
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8