joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c567
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x4c28f3
call fcn.0043e6b2
push str.goto_WriteLastInstallTime
mov esi, ecx
call fcn.00420658
pop ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0040c211
mov eax, dword [ebp - 0x24]
xor edi, edi
cmp dword [ebp - 0x10], 8
mov dword [ebp - 4], edi
jae 0x40c5b4
lea eax, [ebp - 0x24]
push eax
push str.goto_WriteLastInstallTime_GetUseVestigeFile___s_r_n
call fcn.00420658
mov ebx, 0x206
push ebx
lea eax, [ebp + 0x20a]
push edi
push eax
mov word [ebp + 0x208], di
call fcn.0043db40
push dword [esi]
lea eax, [ebp + 0x208]
push 0x4ca3e0
push eax
call fcn.0043ec44
add esp, 0x20
lea eax, [ebp + 0x208]
push eax
push str.LastInstallTime
mov ecx, esi
call fcn.0040a5fd
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x40c60e
lea eax, [ebp - 0x24]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.FirstInstallTime
mov esi, str.Setting
push esi
call edi
test eax, eax
jne 0x40c697
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x40c633
lea eax, [ebp - 0x24]
push eax
push 0
push str.InstallTime
push esi
call edi
and word [ebp], 0
push ebx
mov edi, eax
lea eax, [ebp + 2]
push 0
push eax
call fcn.0043db40
add esp, 0xc
test edi, edi
jne 0x40c666
lea eax, [ebp + 0x208]
push eax
push 0x4ca39c
jmp 0x40c66c
push edi
push 0x4ca3e0
lea eax, [ebp]
push eax
call fcn.0043ec44
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 8
jae 0x40c684
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
push str.FirstInstallTime
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40c6a2
push str.goto_WriteLastInstallTime_not_write_to_local_file
call fcn.00420658
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004017a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0043db25
add ebp, 0x414
leave
ret

Function at 0x40ce6a
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esi + 0x2f4]
push ecx
push eax
push esi
push 0x40ce5b
push eax
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2f0], eax
pop esi
ret
Function at 0x40de2b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x4ca5b8
mov esi, ecx
call ebp
test eax, eax
mov dword [esi], eax
je 0x40dea9
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push 0x4cabe4
mov dword [esi + 0x10], eax
call ebp
test eax, eax
mov dword [esi + 4], eax
je 0x40dea7
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x40f507
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x24
mov eax, 0x4c2da5
call fcn.0043e6b2
mov eax, dword [ebp + 0x24c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x250]
xor ebx, ebx
push 0x206
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x3a]
push ebx
or esi, 0xffffffff
push eax
mov edi, esi
mov word [ebp + 0x38], bx
call fcn.0043db40
add esp, 0xc
call fcn.0040d288
mov ecx, eax
call fcn.0040aae0
push eax
lea ecx, [ebp]
call fcn.004015d0
push str.CloverInfo.ini
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.00403470
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40f58b
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x38]
push eax
push 0x4ca49c
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015d0
mov eax, dword [ebp + 0x30]
cmp eax, 6
mov byte [ebp - 4], 1
jbe 0x40f5f2
add eax, 0xfffffffa
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00403430
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.00401d10
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004017a0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x40f5fe
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x38]
push 0x4ca39c
push eax
call fcn.0043ec44
lea eax, [ebp + 0x38]
push eax
push 0x4cb0ac
call fcn.00420658
push dword [ebp - 0x14]
call fcn.0043dd2a
add esp, 0x18
test eax, eax
mov ebx, 0x4cb0a8
je 0x40f647
lea eax, [ebp + 0x38]
push eax
push ebx
push dword [ebp - 0x14]
call fcn.0041f4af
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
neg edi
push dword [ebp - 0x10]
call fcn.0043dd2a
test eax, eax
pop ecx
je 0x40f66c
lea eax, [ebp + 0x38]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.0041f4af
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp edi, 0xffffffff
je 0x40f6c2
cmp esi, 0xffffffff
je 0x40f6d6
push str.Spreader_Error_
call fcn.00420658
xor esi, esi
pop ecx
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a0
push 0
push 1
lea ecx, [ebp]
call fcn.004017a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0043db25
add ebp, 0x244
leave
ret 8
cmp esi, 0xffffffff
jne 0x40f6e2
push str.No_Spreader_Config_
call fcn.00420658
xor esi, esi
inc esi
jmp 0x40f682
cmp edi, 1
jne 0x40f6ed
push str.Spreader_ContainSpreader_
jmp 0x40f6cc
test esi, esi
jne 0x40f6ed
push str.Spreader_No_ExcludeSpreader_
jmp 0x40f6cc
push esi
push edi
push str.Spreader_Filter__Contain:_d__Exclude:_d
call fcn.00420658
add esp, 0xc
xor esi, esi
jmp 0x40f683
Function at 0x414a81
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.setup_Clover.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ebx, [esi + 0x2c]
push str.mainframe_title
mov ecx, ebx
call edi
push str.backgroundfirst
mov ecx, ebx
mov dword [esi + 0x2f0], eax
call edi
push str.welcomebar_background
mov ecx, ebx
mov dword [esi + 0x34c], eax
call edi
push str.finishbar_background
mov ecx, ebx
mov dword [esi + 0x350], eax
call edi
xor ebx, ebx
cmp dword [esi + 0x2f0], ebx
mov dword [esi + 0x354], eax
je 0x414b3e
call fcn.0040d288
mov ecx, eax
call fcn.0040a745
push 0x206
test eax, eax
push ebx
lea eax, [ebp - 0x7a]
mov word [ebp - 0x7c], bx
push eax
jne 0x414b0f
call fcn.0043db40
push str.Clover
lea eax, [ebp - 0x7c]
push 0x4ca39c
push eax
call fcn.0043ec44
add esp, 0x18
jmp 0x414b2f
call fcn.0043db40
push ebx
push 4
push 3
push str.Clover
lea eax, [ebp - 0x7c]
push str._s_V_d._d._d
push eax
call fcn.0043ec44
add esp, 0x24
mov ecx, dword [esi + 0x2f0]
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x2f4]
cmp ecx, ebx
je 0x414b4d
call fcn.0041b7dc
mov ecx, dword [esi + 0x2f8]
cmp ecx, ebx
je 0x414b5c
call fcn.0041506f
mov ecx, dword [esi + 0x2fc]
cmp ecx, ebx
je 0x414bae
call fcn.0041c895
mov eax, dword [esi + 0x2fc]
cmp eax, ebx
je 0x414b7c
add eax, 0x4f4
jmp 0x414b7e
xor eax, eax
push eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0xffffffffffffffff
mov edi, str.WelcomeBar
push edi
call dword [0x4e32cc]
lea ecx, [esi + 0x10]
call dword [0x4e3314]
mov ecx, dword [esi + 0x2fc]
push edi
call dword [0x4e3310]
mov ecx, dword [esi + 0x300]
cmp ecx, ebx
je 0x414bbd
call fcn.0041547f
mov ecx, dword [esi + 0x304]
cmp ecx, ebx
je 0x414bcc
call fcn.0041b62f
mov ecx, dword [esi + 0x308]
cmp ecx, ebx
je 0x414bdb
call fcn.0040d43f
mov ecx, dword [esi + 0x30c]
cmp ecx, ebx
je 0x414bea
call fcn.00409b67
mov ecx, esi
call fcn.0040e3b8
call fcn.0040d288
mov ecx, eax
call fcn.0040a741
test eax, eax
je 0x414c1d
lea eax, [esi + 0x370]
push eax
push ebx
push esi
push 0x414a56
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x36c], eax
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043db25
add ebp, 0x190
leave
ret 4
Function at 0x41512d
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x240
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c8]
push edi
xor ebx, ebx
xor eax, eax
mov word [ebp + 0x1b4], bx
lea edi, [ebp + 0x1b6]
stosd dword es:[edi], eax
push 0x206
stosw word es:[edi], ax
lea eax, [ebp - 0x52]
push ebx
push eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x54], bx
call fcn.0043db40
push esi
call fcn.0043dd2a
add esp, 0x10
cmp eax, 3
jl 0x41519b
push 3
lea eax, [ebp + 0x1b4]
push esi
push eax
call fcn.0044093a
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x5c], 0x80000000
and eax, 0x7fffffff
cmp dword [esi + 0x660], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ebx
fild qword [ebp - 0x70]
fild qword [ebp - 0x60]
fchs
faddp st(1)
fstp dword [ebp - 0x5c]
je 0x415248
fld dword [ebp - 0x5c]
call fcn.0043ddf0
cmp eax, 0x400
jle 0x415227
fld dword [ebp - 0x5c]
push ecx
fmul qword [0x4cbc38]
push ecx
lea eax, [ebp - 0x54]
fstp dword [ebp - 0x58]
fld dword [ebp - 0x58]
fstp qword [esp]
push str._.2fGB
push eax
call fcn.0043ec44
add esp, 0x10
jmp 0x415239
push eax
lea eax, [ebp - 0x54]
push str._dMB
push eax
call fcn.0043ec44
add esp, 0xc
mov ecx, dword [esi + 0x660]
mov eax, dword [ecx]
lea edx, [ebp - 0x54]
push edx
call dword [eax + 0x2c]
mov ecx, dword [ebp + 0x1bc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043db25
add ebp, 0x1c0
leave
ret 4
Function at 0x415754
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
mov eax, dword [ebp + 0x3b8]
push ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x68]
push eax
xor ebx, ebx
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4157a6
xor eax, eax
jmp 0x41587d
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp + 0x1a6]
push ebx
push eax
mov word [ebp + 0x1a4], bx
call fcn.0043db40
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x1a4]
push eax
mov dword [ebp - 0x6c], ebx
push ebx
jmp 0x41585e
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415850
push edi
lea eax, [ebp - 0x62]
push ebx
push eax
mov dword [ebp - 0x78], esi
mov word [ebp - 0x64], bx
call fcn.0043db40
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.DisplayName
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415847
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push eax
call fcn.0043e9de
test eax, eax
pop ecx
pop ecx
je 0x415847
mov dword [ebp - 0x74], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x6c]
push esi
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4157db
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
mov ecx, dword [ebp + 0x3ac]
xor ecx, ebp
pop ebx
call fcn.0043db25
add ebp, 0x3b0
leave
ret 4
Function at 0x4163cc
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x83c
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x83c], eax
push 4
mov eax, 0x4c37a6
call fcn.0043e6b2
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0x848]
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x1e]
push edi
push eax
mov word [ebp + 0x1c], di
call fcn.0043db40
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp + 0x1c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.004015d0
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00403470
push ebx
lea ecx, [ebp]
call fcn.00403470
push 0x4cbf4c
lea ecx, [ebp]
call fcn.00403470
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41645e
lea eax, [ebp + 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x41649d
push edi
push 1
lea ecx, [ebp]
call fcn.004017a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x83c]
xor ecx, ebp
call fcn.0043db25
add ebp, 0x840
leave
ret 4
push esi
lea eax, [ebp + 0x226]
push edi
push eax
mov word [ebp + 0x224], di
call fcn.0043db40
push esi
lea eax, [ebp + 0x42e]
push edi
push eax
mov word [ebp + 0x42c], di
call fcn.0043db40
mov eax, dword [ebp + 4]
add esp, 0x18
cmp dword [ebp + 0x18], 8
jae 0x4164d6
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.0043dd0e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x42c]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.00415aac
push esi
lea eax, [ebp + 0x636]
push edi
push eax
mov word [ebp + 0x634], di
call fcn.0043db40
add esp, 0xc
push 0x104
lea eax, [ebp + 0x634]
push eax
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp + 0x634]
push eax
call fcn.0043dd2a
test eax, eax
pop ecx
jne 0x416552
lea eax, [ebp + 0x42c]
push eax
lea eax, [ebp + 0x634]
push eax
call fcn.0043dd0e
pop ecx
pop ecx
lea eax, [ebp + 0x634]
push eax
call ebx
xor esi, esi
test eax, eax
jne 0x416573
push edi
push 1
lea ecx, [ebp]
call fcn.004017a0
mov eax, esi
jmp 0x416478
inc esi
jmp 0x416561
Function at 0x416576
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x1c
mov eax, 0x4c37de
call fcn.0043e6b2
mov ebx, dword [ebp + 0x470]
mov edi, 0x206
xor esi, esi
push edi
lea eax, [ebp + 0x25e]
push esi
push eax
mov word [ebp + 0x25c], si
call fcn.0043db40
push edi
lea eax, [ebp + 0x56]
push esi
push eax
mov word [ebp + 0x54], si
call fcn.0043db40
add esp, 0x18
push ebx
lea ecx, [ebp + 0x38]
call fcn.004015d0
push esi
push 0x4cc014
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], esi
call fcn.00403db0
mov ebx, eax
push ebx
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x38]
call fcn.00403430
cmp dword [eax + 0x18], 8
jb 0x416603
mov eax, dword [eax + 4]
jmp 0x416606
add eax, 4
push eax
mov edi, 0x4ca39c
lea eax, [ebp + 0x25c]
push edi
push eax
call fcn.0043ec44
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004017a0
push 0xffffffffffffffff
inc ebx
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x38]
call fcn.00403430
cmp dword [eax + 0x18], 8
jb 0x416642
mov eax, dword [eax + 4]
jmp 0x416645
add eax, 4
push eax
lea eax, [ebp + 0x54]
push edi
push eax
call fcn.0043ec44
add esp, 0xc
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x28]
call fcn.004017a0
lea eax, [ebp + 0x54]
push eax
call fcn.0043eb4e
mov ebx, eax
lea eax, [ebp + 0x25c]
push eax
call fcn.0043dd2a
test eax, eax
pop ecx
pop ecx
je 0x4166da
cmp ebx, esi
jle 0x4166da
lea eax, [ebp + 0x1c]
push eax
call fcn.0040d288
mov ecx, eax
call fcn.0040c211
push 0x4e3194
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004015d0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4166ae
lea eax, [ebp + 0x20]
push eax
push esi
lea eax, [ebp + 0x25c]
push eax
push str.UpdateRecord
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
push esi
lea ecx, [ebp]
push edi
jge 0x41670b
call fcn.004017a0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.004017a0
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.004017a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.0043db25
add ebp, 0x468
leave
ret 4
call fcn.004017a0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.004017a0
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.004017a0
mov eax, edi
jmp 0x4166e6
Function at 0x416816
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 8
mov eax, 0x4c3843
call fcn.0043e6b2
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0x24c]
xor esi, esi
push 0x206
lea eax, [ebp + 0x3a]
push esi
push eax
mov word [ebp + 0x38], si
call fcn.0043db40
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push esi
push 0x19
lea eax, [ebp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x4168c1
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015d0
push 0x4e3174
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00403470
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x416897
lea eax, [ebp + 0x20]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.00415e0e
cmp eax, esi
push esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x1c]
push 1
je 0x4168b8
call fcn.004017a0
mov eax, dword [ebp - 0x14]
jmp 0x41691a
or dword [ebp - 4], 0xffffffff
call fcn.004017a0
push esi
push 0x10
lea eax, [ebp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x416918
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.004015d0
xor edi, edi
inc edi
push 0x4e3174
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00403470
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x4168fa
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.00415e0e
push esi
lea ecx, [ebp]
push edi
mov ebx, eax
call fcn.004017a0
cmp ebx, esi
je 0x416918
mov eax, ebx
jmp 0x41691a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0043db25
add ebp, 0x244
leave
ret 4

Function at 0x418bbd
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4191ca
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x4191e0
push 0x80004005
call fcn.00418bec
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4191e3
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x419212
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.00418b5c
mov edi, eax
cmp edi, esi
je 0x41927a
lea ecx, [ebp - 0x70]
call fcn.00418af7
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043db25
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x419292
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00419212
cmp eax, esi
jne 0x4192c5
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x419282
lea ecx, [ebp - 0x70]
call fcn.00418af7
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00418af7
mov eax, esi
jmp 0x419260
Function at 0x41a1bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x20
mov eax, 0x4c3c38
call fcn.0043e6e5
mov edi, ecx
mov eax, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x410]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x18], eax
call dword [0x50b880]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov dword [ebp], esi
push 2
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x1c], ebx
jne 0x41a234
call fcn.0041904c
mov esi, eax
jmp 0x41a335
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x41a251
call fcn.0041904c
jmp 0x41a32a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x18], eax
je 0x41a247
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp - 0x14], edi
jae 0x41a2b8
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41a284
lea ecx, [ebp]
call fcn.00419121
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.00419170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0043db25
add ebp, 0x408
leave
ret 0x10
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00419661
mov dword [ebp - 4], 1
jmp 0x41a2e8
mov ebx, dword [ebp]
cmp ebx, esi
jne 0x41a2f6
mov esi, 0x8007000e
jmp 0x41a32c
call dword [0x50b880]
push edi
push ebx
push edi
push dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x41a247
mov ecx, dword [ebp]
push dword [ebp + 0x41c]
mov word [ecx + eax*2], si
push dword [ebp]
lea ecx, [ebp - 0x28]
call fcn.0041a09b
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41a289
lea ecx, [ebp]
call fcn.00419121
jmp 0x41a289