joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c574
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, 0x4c2930
call fcn.0043e6f2
push str.goto_WriteLastInstallTime
mov esi, ecx
call fcn.004205cc
pop ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0040c21e
mov eax, dword [ebp - 0x24]
xor edi, edi
cmp dword [ebp - 0x10], 8
mov dword [ebp - 4], edi
jae 0x40c5c1
lea eax, [ebp - 0x24]
push eax
push str.goto_WriteLastInstallTime_GetUseVestigeFile___s_r_n
call fcn.004205cc
mov ebx, 0x206
push ebx
lea eax, [ebp + 0x20a]
push edi
push eax
mov word [ebp + 0x208], di
call fcn.0043db80
push dword [esi]
lea eax, [ebp + 0x208]
push 0x4ca3e0
push eax
call fcn.0043ec84
add esp, 0x20
lea eax, [ebp + 0x208]
push eax
push str.LastInstallTime
mov ecx, esi
call fcn.0040a5d9
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x40c61b
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 0x40c6a4
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x40c640
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.0043db80
add esp, 0xc
test edi, edi
jne 0x40c673
lea eax, [ebp + 0x208]
push eax
push 0x4ca39c
jmp 0x40c679
push edi
push 0x4ca3e0
lea eax, [ebp]
push eax
call fcn.0043ec84
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 8
jae 0x40c691
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
push str.FirstInstallTime
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40c6af
push str.goto_WriteLastInstallTime_not_write_to_local_file
call fcn.004205cc
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401770
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.0043db65
add ebp, 0x414
leave
ret

Function at 0x40ce77
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esi + 0x2f4]
push ecx
push eax
push esi
push 0x40ce68
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 0x40ddc2
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 0x40de40
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 0x40de3e
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 0x40f3a1
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, 0x4c2db5
call fcn.0043e6f2
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.0043db80
add esp, 0xc
call fcn.0040d24f
mov ecx, eax
call fcn.0040aaed
push eax
lea ecx, [ebp]
call fcn.004015a0
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 0x40f425
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.004015a0
mov eax, dword [ebp + 0x30]
cmp eax, 6
mov byte [ebp - 4], 1
jbe 0x40f48c
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.00401ce0
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401770
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x40f498
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x38]
push 0x4ca39c
push eax
call fcn.0043ec84
lea eax, [ebp + 0x38]
push eax
push 0x4cb0ac
call fcn.004205cc
push dword [ebp - 0x14]
call fcn.0043dd6a
add esp, 0x18
test eax, eax
mov ebx, 0x4cb0a8
je 0x40f4e1
lea eax, [ebp + 0x38]
push eax
push ebx
push dword [ebp - 0x14]
call fcn.0041f423
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
neg edi
push dword [ebp - 0x10]
call fcn.0043dd6a
test eax, eax
pop ecx
je 0x40f506
lea eax, [ebp + 0x38]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.0041f423
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp edi, 0xffffffff
je 0x40f55c
cmp esi, 0xffffffff
je 0x40f570
push str.Spreader_Error_
call fcn.004205cc
xor esi, esi
pop ecx
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401770
push 0
push 1
lea ecx, [ebp]
call fcn.00401770
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.0043db65
add ebp, 0x244
leave
ret 8
cmp esi, 0xffffffff
jne 0x40f57c
push str.No_Spreader_Config_
call fcn.004205cc
xor esi, esi
inc esi
jmp 0x40f51c
cmp edi, 1
jne 0x40f587
push str.Spreader_ContainSpreader_
jmp 0x40f566
test esi, esi
jne 0x40f587
push str.Spreader_No_ExcludeSpreader_
jmp 0x40f566
push esi
push edi
push str.Spreader_Filter__Contain:_d__Exclude:_d
call fcn.004205cc
add esp, 0xc
xor esi, esi
jmp 0x40f51d
Function at 0x4149b4
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 0x414a72
call fcn.0040d24f
mov ecx, eax
call fcn.0040a72b
push 0x206
test eax, eax
push ebx
lea eax, [ebp - 0x7a]
mov word [ebp - 0x7c], bx
push eax
jne 0x414a42
call fcn.0043db80
push 0x4ca020
lea eax, [ebp - 0x7c]
push 0x4ca39c
push eax
call fcn.0043ec84
add esp, 0x18
jmp 0x414a63
call fcn.0043db80
push 6
push 4
push 3
push 0x4ca020
lea eax, [ebp - 0x7c]
push str._s_V_d._d._d
push eax
call fcn.0043ec84
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 0x414a81
call fcn.0041b76f
mov ecx, dword [esi + 0x2f8]
cmp ecx, ebx
je 0x414a90
call fcn.00414fa3
mov ecx, dword [esi + 0x2fc]
cmp ecx, ebx
je 0x414ae2
call fcn.0041c809
mov eax, dword [esi + 0x2fc]
cmp eax, ebx
je 0x414ab0
add eax, 0x4f4
jmp 0x414ab2
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 [0x4e330c]
lea ecx, [esi + 0x10]
call dword [0x4e3354]
mov ecx, dword [esi + 0x2fc]
push edi
call dword [0x4e3350]
mov ecx, dword [esi + 0x300]
cmp ecx, ebx
je 0x414af1
call fcn.004153b3
mov ecx, dword [esi + 0x304]
cmp ecx, ebx
je 0x414b00
call fcn.0041b5c2
mov ecx, dword [esi + 0x308]
cmp ecx, ebx
je 0x414b0f
call fcn.0040d3d6
mov ecx, dword [esi + 0x30c]
cmp ecx, ebx
je 0x414b1e
call fcn.00409b43
mov ecx, esi
call fcn.0040e3da
call fcn.0040d24f
mov ecx, eax
call fcn.0040a727
test eax, eax
je 0x414b51
lea eax, [esi + 0x370]
push eax
push ebx
push esi
push 0x414989
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.0043db65
add ebp, 0x190
leave
ret 4
Function at 0x415061
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.0043db80
push esi
call fcn.0043dd6a
add esp, 0x10
cmp eax, 3
jl 0x4150cf
push 3
lea eax, [ebp + 0x1b4]
push esi
push eax
call fcn.0044097a
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 0x41517c
fld dword [ebp - 0x5c]
call fcn.0043de30
cmp eax, 0x400
jle 0x41515b
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.0043ec84
add esp, 0x10
jmp 0x41516d
push eax
lea eax, [ebp - 0x54]
push str._dMB
push eax
call fcn.0043ec84
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.0043db65
add ebp, 0x1c0
leave
ret 4
Function at 0x415688
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 0x4156da
xor eax, eax
jmp 0x4157b1
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp + 0x1a6]
push ebx
push eax
mov word [ebp + 0x1a4], bx
call fcn.0043db80
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x1a4]
push eax
mov dword [ebp - 0x6c], ebx
push ebx
jmp 0x415792
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 0x415784
push edi
lea eax, [ebp - 0x62]
push ebx
push eax
mov dword [ebp - 0x78], esi
mov word [ebp - 0x64], bx
call fcn.0043db80
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 0x41577b
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push eax
call fcn.0043ea1e
test eax, eax
pop ecx
pop ecx
je 0x41577b
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 0x41570f
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.0043db65
add ebp, 0x3b0
leave
ret 4
Function at 0x416320
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, 0x4c378d
call fcn.0043e6f2
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.0043db80
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.004015a0
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 0x4163b2
lea eax, [ebp + 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x4163f1
push edi
push 1
lea ecx, [ebp]
call fcn.00401770
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.0043db65
add ebp, 0x840
leave
ret 4
push esi
lea eax, [ebp + 0x226]
push edi
push eax
mov word [ebp + 0x224], di
call fcn.0043db80
push esi
lea eax, [ebp + 0x42e]
push edi
push eax
mov word [ebp + 0x42c], di
call fcn.0043db80
mov eax, dword [ebp + 4]
add esp, 0x18
cmp dword [ebp + 0x18], 8
jae 0x41642a
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.0043dd4e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x42c]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.004159e0
push esi
lea eax, [ebp + 0x636]
push edi
push eax
mov word [ebp + 0x634], di
call fcn.0043db80
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.0043dd6a
test eax, eax
pop ecx
jne 0x4164a6
lea eax, [ebp + 0x42c]
push eax
lea eax, [ebp + 0x634]
push eax
call fcn.0043dd4e
pop ecx
pop ecx
lea eax, [ebp + 0x634]
push eax
call ebx
xor esi, esi
test eax, eax
jne 0x4164c7
push edi
push 1
lea ecx, [ebp]
call fcn.00401770
mov eax, esi
jmp 0x4163cc
inc esi
jmp 0x4164b5
Function at 0x4164ca
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, 0x4c37c5
call fcn.0043e6f2
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.0043db80
push edi
lea eax, [ebp + 0x56]
push esi
push eax
mov word [ebp + 0x54], si
call fcn.0043db80
add esp, 0x18
push ebx
lea ecx, [ebp + 0x38]
call fcn.004015a0
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 0x416557
mov eax, dword [eax + 4]
jmp 0x41655a
add eax, 4
push eax
mov edi, 0x4ca39c
lea eax, [ebp + 0x25c]
push edi
push eax
call fcn.0043ec84
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401770
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 0x416596
mov eax, dword [eax + 4]
jmp 0x416599
add eax, 4
push eax
lea eax, [ebp + 0x54]
push edi
push eax
call fcn.0043ec84
add esp, 0xc
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x28]
call fcn.00401770
lea eax, [ebp + 0x54]
push eax
call fcn.0043eb8e
mov ebx, eax
lea eax, [ebp + 0x25c]
push eax
call fcn.0043dd6a
test eax, eax
pop ecx
pop ecx
je 0x41662e
cmp ebx, esi
jle 0x41662e
lea eax, [ebp + 0x1c]
push eax
call fcn.0040d24f
mov ecx, eax
call fcn.0040c21e
push 0x4e31d4
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004015a0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x416602
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 0x41665f
call fcn.00401770
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.00401770
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.00401770
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.0043db65
add ebp, 0x468
leave
ret 4
call fcn.00401770
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.00401770
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.00401770
mov eax, edi
jmp 0x41663a
Function at 0x41676a
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, 0x4c382a
call fcn.0043e6f2
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.0043db80
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 0x416815
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015a0
push 0x4e31b4
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00403470
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4167eb
lea eax, [ebp + 0x20]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.00415d62
cmp eax, esi
push esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x1c]
push 1
je 0x41680c
call fcn.00401770
mov eax, dword [ebp - 0x14]
jmp 0x41686e
or dword [ebp - 4], 0xffffffff
call fcn.00401770
push esi
push 0x10
lea eax, [ebp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x41686c
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.004015a0
xor edi, edi
inc edi
push 0x4e31b4
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00403470
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41684e
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.00415d62
push esi
lea ecx, [ebp]
push edi
mov ebx, eax
call fcn.00401770
cmp ebx, esi
je 0x41686c
mov eax, ebx
jmp 0x41686e
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.0043db65
add ebp, 0x244
leave
ret 4

Function at 0x418b83
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 0x419190
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x4191a6
push 0x80004005
call fcn.00418bb2
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 0x4191a9
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 0x4191d8
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.00418b22
mov edi, eax
cmp edi, esi
je 0x419240
lea ecx, [ebp - 0x70]
call fcn.00418abd
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043db65
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x419258
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004191d8
cmp eax, esi
jne 0x41928b
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 0x419248
lea ecx, [ebp - 0x70]
call fcn.00418abd
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00418abd
mov eax, esi
jmp 0x419226
Function at 0x41a184
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, 0x4c3c42
call fcn.0043e725
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 0x41a1fc
call fcn.00419012
mov esi, eax
jmp 0x41a2fd
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x41a219
call fcn.00419012
jmp 0x41a2f2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x18], eax
je 0x41a20f
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 0x41a280
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41a24c
lea ecx, [ebp]
call fcn.004190e7
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.00419136
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.0043db65
add ebp, 0x408
leave
ret 0x10
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00419629
mov dword [ebp - 4], 1
jmp 0x41a2b0
mov ebx, dword [ebp]
cmp ebx, esi
jne 0x41a2be
mov esi, 0x8007000e
jmp 0x41a2f4
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 0x41a20f
mov ecx, dword [ebp]
push dword [ebp + 0x41c]
mov word [ecx + eax*2], si
push dword [ebp]
lea ecx, [ebp - 0x28]
call fcn.0041a063
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41a251
lea ecx, [ebp]
call fcn.004190e7
jmp 0x41a251