joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x453731
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
push ebx
push 0x1b58
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
jne 0x453767
push 0x544724
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
push 0x58
lea eax, [ebp - 0x85c]
push 0
push eax
call fcn.00503c50
lea eax, [ebp - 0x804]
mov dword [ebp - 0x85c], 0x58
push 0x53ad74
push eax
mov dword [ebp - 0x858], edi
mov dword [ebp - 0x850], str.All_files
call fcn.00401870
add esp, 0x14
mov dword [ebp - 0x83c], 0x200
lea eax, [ebp - 0x804]
mov dword [ebp - 0x828], 0x81004
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x820], 0
push 0x200
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x404]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4537f0
sub ecx, edx
mov dword [ebp - 0x844], 0
sar ecx, 1
lea eax, [ebp - 0x404]
cmove eax, dword [ebp - 0x830]
mov dword [ebp - 0x830], eax
mov eax, dword [esi + 0x433c]
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x453877
push dword [ebp - 0x840]
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
push esi
call fcn.00453a80
add esp, 8
test eax, eax
je 0x453877
push 0x54068c
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004ff105
mov esp, ebp
pop ebp
ret
Function at 0x453930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x453a66
lea eax, [ebp - 0x404]
push 0x53ad74
push eax
call fcn.00401870
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0x404]
push eax
push esi
call fcn.004696c0
add esp, 0x14
test eax, eax
je 0x4539a1
push 0x5447bc
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc08], 0
jne 0x453a26
push 0
push 5
lea eax, [ebp - 0xc04]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x453a26
push dword [esi + 0x1000]
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0xc04]
push eax
call fcn.00476b00
add esp, 0xc
test eax, eax
je 0x453a02
push 0x53d2fc
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc0c], 0
je 0x453a26
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0x404]
push 0x53a71c
push eax
call fcn.00401870
add esp, 0xc
push 0x1b58
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jne 0x453a58
push 0x5424c0
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x404]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004ff105
mov esp, ebp
pop ebp
ret
Function at 0x453a80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x453ab1
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
push ebx
push 0x1b58
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
jne 0x453ae7
push 0x53d268
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x404]
push 0x53ad74
push eax
call fcn.00401870
add esp, 8
lea eax, [ebp - 0x404]
push 0x200
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x404]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453b17
sub ecx, edx
sar ecx, 1
je 0x453cbb
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00476a90
add esp, 8
test eax, eax
je 0x453b69
push 0x53d384
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x408], 0
jne 0x453c02
lea edi, [esi + 0x1828]
push edi
push 0x75c3
push esi
call fcn.0041afd0
add esp, 0xc
test eax, eax
je 0x453bb2
push 0x53d554
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x404]
push eax
push edi
push str._s:_n____s
push esi
call fcn.00401870
push 0
push 0
push 0
push 0
push esi
push esi
call fcn.00416000
add esp, 0x28
test eax, eax
je 0x453cbb
push 0x53fa9c
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x404]
push eax
push esi
call fcn.00469aa0
add esp, 8
test eax, eax
je 0x453c39
push 0x544a2c
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.00453890
add esp, 8
test eax, eax
je 0x453c6a
push 0x53d564
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.00427e70
add esp, 8
test eax, eax
je 0x453ca1
push 0x53add8
push 0x54ae48
call fcn.0041afb0
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x453cbb
push 0
push 0
push 0x8065
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004ff105
mov esp, ebp
pop ebp
ret
Function at 0x45a520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45a55b
push 0
push dword [esi + 0x173cc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.0040d500
add esp, 4
test eax, eax
je 0x45a55b
push 0x574ecc
push str.dfxg_fxsounddfxgDlgFxsoundMinimize.cpp
call fcn.0041afb0
add esp, 8
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4620e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x462118
mov edx, dword [ebp + 0xc]
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4620f2
sub ecx, esi
sar ecx, 1
pop esi
je 0x462118
push 0xa
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop ebp
ret

Function at 0x462120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x180c
call fcn.004ff5c0
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x46224b
push 0
push 0x1a
lea eax, [ebp - 0x804]
mov dword [esi], 0
push eax
push 0
mov dword [ebp - 0x1808], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x46218d
push 0x53ad88
push str.dfxgdfxgRepairInstall.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push str._sSpotify_spotify.exe
push eax
call fcn.00401870
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1804]
push str._sSpotifydsound.dll
push eax
call fcn.00401870
lea eax, [ebp - 0x1808]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.00476a90
add esp, 0x20
test eax, eax
je 0x4621f8
push 0x540684
push str.dfxgdfxgRepairInstall.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1808], 0
je 0x462245
lea eax, [ebp - 0x180c]
push eax
lea eax, [ebp - 0x1804]
push eax
call fcn.00476a90
add esp, 8
test eax, eax
je 0x46223c
push 0x53ab7c
push str.dfxgdfxgRepairInstall.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x180c], 0
je 0x46224b
mov dword [esi], 1
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004ff105
mov esp, ebp
pop ebp
ret
Function at 0x473bf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
push edi
push 0
push 0
push eax
push 0x400
push ebx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push 0x54de3c
mov edi, eax
call esi
add edi, eax
lea eax, [edi*2 + 0x50]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 4]
mov edi, eax
push ebx
push str.Error_code__d:__s
push edi
call dword [sym.imp.KERNEL32.dll_LocalSize]
shr eax, 1
push eax
push edi
call fcn.00473b60
add esp, 0x14
push 0
push str.Error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x473c80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x140]
push 0x11c
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0
push eax
mov dword [esi], 0
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.00503c50
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x473cde
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x473ce8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x24], 9
mov eax, dword [ebp - 0x13c]
jne 0x473d1d
cmp eax, 6
jne 0x473d44
mov eax, dword [ebp - 0x138]
cmp eax, 2
jne 0x473d0a
or dword [esi], 0x40
jmp 0x473d49
cmp eax, 1
jne 0x473d14
or dword [esi], 0x10
jmp 0x473d49
test eax, eax
jne 0x473d49
or dword [esi], 4
jmp 0x473d49
cmp eax, 6
jne 0x473d44
mov eax, dword [ebp - 0x138]
cmp eax, 2
jne 0x473d31
or dword [esi], eax
jmp 0x473d49
cmp eax, 1
jne 0x473d3b
or dword [esi], 8
jmp 0x473d49
test eax, eax
jne 0x473d49
or dword [esi], 2
jmp 0x473d49
jae 0x473d49
or dword [esi], 1
cmp dword [ebp - 0xc], 0x24a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
ja 0x473d67
or dword [esi], 0x80
mov dword [ecx], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
or dword [esi], 0x100
mov dword [ecx], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x474670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], 0
cmp eax, 1
jne 0x4747d4
test edi, edi
jne 0x4746c0
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
test eax, eax
je 0x4746d5
push eax
call fcn.004ff65a
add esp, 4
mov dword [esi], 0
push 0x10000
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenW]
mov dword [esi + 4], eax
test eax, eax
jne 0x474791
push str.WAVE
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x474718
push 0x54e3dc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4747a7
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4747a7
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4747a7
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4747a7
push edi
call fcn.004ff651
push edi
push ebx
push eax
mov dword [esi + 0x90], eax
call fcn.00504960
push 0x48
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.00503c50
mov eax, dword [esi + 0x90]
add esp, 0x1c
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], 0x204d454d
mov dword [ebp - 0x38], edi
push 0x10000
push eax
push 0
call dword [sym.imp.WINMM.dll_mmioOpenW]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.004749a0
test eax, eax
jns 0x4747bf
push 0
push dword [esi + 4]
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00474b00
mov ecx, eax
test ecx, ecx
js 0x4747a7
mov eax, dword [esi + 0xc]
mov dword [esi + 0x30], eax
jmp 0x474807
push 0x11002
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenW]
mov dword [esi + 4], eax
test eax, eax
je 0x4747a7
push ebx
mov ecx, esi
call fcn.00474c40
test eax, eax
js 0x47479c
mov ecx, esi
call fcn.00474b00
mov ecx, eax
mov eax, 0x80004005
test ecx, ecx
js 0x474809
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff105
mov esp, ebp
pop ebp
ret 0xc
Function at 0x475250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x475271
push 0x53b464
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x475290
push 0x53c8a0
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, esi
mov dword [edi], 0
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4752a0
mov eax, dword [ebp + 8]
sub ecx, ebx
sar ecx, 1
lea ebx, [ecx*2 + 2]
cmp eax, 1
jne 0x4752c5
mov eax, SysReAllocString
jmp 0x4752e7
cmp eax, 2
jne 0x4752d1
mov eax, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x4752e7
cmp eax, 4
jne 0x4752dd
mov eax, SysReAllocString
jmp 0x4752e7
cmp eax, 3
jne 0x47533e
mov eax, SysStringLen
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0x53ad74
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x475335
push ebx
push esi
push 1
push eax
push 0x53ad74
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x475335
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x475335
mov dword [edi], 1
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x54571c
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x475360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x475381
push 0x53ad78
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4753a0
push 0x544724
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4753a6
mov eax, dword [ebp + 8]
sub ecx, edi
sar ecx, 1
lea edi, [ecx*2 + 2]
cmp eax, 1
jne 0x4753cb
mov eax, SysReAllocString
jmp 0x4753f1
cmp eax, 2
jne 0x4753d7
mov eax, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x4753f1
cmp eax, 4
jne 0x4753e3
mov eax, SysReAllocString
jmp 0x4753f1
cmp eax, 3
jne 0x47548a
mov eax, SysStringLen
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0x53ad74
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x47542d
push 0x575064
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push esi
push 1
push 0
push 0x53ad74
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x47545d
push 0x543f80
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x475482
push 0x53ada8
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x57505c
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4755a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esi], 0
test ecx, ecx
jne 0x4755c9
push 0x544a2c
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x4755e1
lea eax, [ebp + 0x10]
push eax
push 1
push 0
push ecx
push SysReAllocString
jmp 0x47561e
cmp eax, 2
jne 0x4755f6
lea eax, [ebp + 0x10]
push eax
push 1
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
jmp 0x47561e
cmp eax, 3
jne 0x47560b
lea eax, [ebp + 0x10]
push eax
push 1
push 0
push ecx
push SysStringLen
jmp 0x47561e
cmp eax, 4
jne 0x475672
lea eax, [ebp + 0x10]
push eax
push 1
push 0
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47566d
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push 0
push 0
push 0x53ad74
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47566d
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x475667
push 0x53d39c
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop esi
pop ebp
ret
mov dword [esi], 1
xor eax, eax
pop esi
pop ebp
ret
push 0x545690
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop esi
pop ebp
ret

Function at 0x475730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.default
push 0x53a71c
push esi
call fcn.00401870
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea eax, [ebp - 0x804]
push 0x53a71c
push eax
call fcn.00401870
lea eax, [ebp - 0x80c]
push eax
call fcn.00473da0
add esp, 0x1c
test eax, eax
je 0x4757a1
push 0x5402d0
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x80c], 0
mov ecx, 0x20119
mov eax, 0x20019
cmovne eax, ecx
lea ecx, [ebp - 0x808]
push ecx
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4757f6
push 0x53ae2c
push str.....UTIL_reg_regWithoutKeyname.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x810]
push eax
push esi
push 0
push 0
push str.RegisteredOwner
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47583f
push str.UnknownOwner
push esi
call fcn.00401870
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004ff105
mov esp, ebp
pop ebp
ret
Function at 0x476880
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe08
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi], 0
test eax, eax
jne 0x4768ca
push 0x54cc4c
push str.....UTILFILEFileGeneral.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0xa04]
push 0x53a71c
push eax
call fcn.00401870
lea eax, [ebp - 0xa04]
push eax
call fcn.00475f50
add esp, 0x10
test eax, eax
je 0x476911
push 0x53d7bc
push str.....UTILFILEFileGeneral.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xe08]
push eax
lea eax, [ebp - 0xa04]
push eax
call fcn.004769f0
add esp, 8
test eax, eax
je 0x47694d
push 0x53ec2c
push str.....UTILFILEFileGeneral.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xe08], 0
jne 0x4769c9
push 0
lea eax, [ebp - 0xa04]
mov dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
je 0x4769c9
test edi, edi
je 0x4769cf
push 0x400
lea eax, [ebp - 0xe04]
push eax
lea eax, [ebp - 0xa04]
push eax
call fcn.00485700
lea eax, [ebp - 0xe04]
push eax
lea eax, [ebp - 0x204]
push str.Unable_to_create_folder___s_
push eax
call fcn.00415bf0
mov eax, dword [edi]
lea ecx, [ebp - 0x204]
add esp, 0x18
push ecx
push 1
mov ecx, edi
call dword [eax + 8]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
mov dword [esi], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004ff105
mov esp, ebp
pop ebp
ret
Function at 0x477e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x45c
push 1
call fcn.0050c345
mov esi, eax
add esp, 8
test esi, esi
jne 0x477eb1
push 0x540cc8
push str.....UtilQntQntitor2.cpp
call fcn.0041afb0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x477ed1
push 0x547d3c
push str.....UtilQntQntitor2.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x404], 2
je 0x477ef2
push 0x540cd0
push str.....UtilQntQntitor2.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov dword [esi + 0x404], 2
mov eax, dword [edi + 0x40c]
mov dword [esi + 0x40c], eax
mov dword [esi + 0x410], 0
mov dword [esi + 0x414], 0
mov dword [esi + 0x448], 0
mov eax, dword [edi + 0x408]
mov dword [esi + 0x408], eax
push 4
push dword [edi + 0x408]
call fcn.0050c345
add esp, 8
mov dword [esi + 0x418], eax
test eax, eax
jne 0x477f69
push 0x549ca4
push str.....UtilQntQntitor2.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [edi + 0x408], ecx
jle 0x477fd2
nop word [eax + eax]
mov eax, dword [edi + 0x418]
movss xmm0, dword [0x53ad04]
movss xmm1, dword [eax + ecx*4]
mulss xmm1, dword [0x54b438]
mulss xmm1, dword [ebp + 0x14]
divss xmm0, xmm1
xorps xmm0, xmmword [0x54e980]
cvtss2sd xmm0, xmm0
call fcn.005174d0
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x418]
cvtsd2ss xmm0, xmm0
movss dword [eax + ecx*4], xmm0
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [edi + 0x408]
jl 0x477f80
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret