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, 0x4c28d6
call fcn.0043e682
lea eax, [ebp - 0x28]
push eax
mov esi, ecx
call fcn.0040c21e
xor edi, edi
mov ebx, 0x206
push ebx
lea eax, [ebp + 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp + 0x208], di
call fcn.0043db10
push dword [esi]
lea eax, [ebp + 0x208]
push 0x4ca390
push eax
call fcn.0043ec14
add esp, 0x18
lea eax, [ebp + 0x208]
push eax
push str.LastInstallTime
mov ecx, esi
call fcn.0040a5fe
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x40c5f7
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 0x40c67e
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x40c61c
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.0043db10
add esp, 0xc
test edi, edi
jne 0x40c64f
lea eax, [ebp + 0x208]
push eax
push 0x4ca34c
jmp 0x40c655
push edi
push 0x4ca390
lea eax, [ebp]
push eax
call fcn.0043ec14
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 8
jae 0x40c66d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
push str.FirstInstallTime
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
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.0043daf5
add ebp, 0x414
leave
ret

Function at 0x40ce46
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esi + 0x2f4]
push ecx
push eax
push esi
push 0x40ce37
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 0x40dd92
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x4ca4cc
mov esi, ecx
call ebp
test eax, eax
mov dword [esi], eax
je 0x40de10
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 0x4caafc
mov dword [esi + 0x10], eax
call ebp
test eax, eax
mov dword [esi + 4], eax
je 0x40de0e
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 0x40f33a
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, 0x4c2d88
call fcn.0043e682
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.0043db10
add esp, 0xc
call fcn.0040d21f
mov ecx, eax
call fcn.0040aae1
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 0x40f3be
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x38]
push eax
push 0x4ca3b0
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 0x40f425
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 0x40f431
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x38]
push 0x4ca34c
push eax
call fcn.0043ec14
lea eax, [ebp + 0x38]
push eax
push 0x4cafc4
call fcn.0041e185
push dword [ebp - 0x14]
call fcn.0043dcfa
add esp, 0x18
test eax, eax
mov ebx, 0x4cafc0
je 0x40f47a
lea eax, [ebp + 0x38]
push eax
push ebx
push dword [ebp - 0x14]
call fcn.0041f60a
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
neg edi
push dword [ebp - 0x10]
call fcn.0043dcfa
test eax, eax
pop ecx
je 0x40f49f
lea eax, [ebp + 0x38]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.0041f60a
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp edi, 0xffffffff
je 0x40f4f5
cmp esi, 0xffffffff
je 0x40f509
push str.Spreader_Error_
call fcn.0041e185
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.0043daf5
add ebp, 0x244
leave
ret 8
cmp esi, 0xffffffff
jne 0x40f515
push str.No_Spreader_Config_
call fcn.0041e185
xor esi, esi
inc esi
jmp 0x40f4b5
cmp edi, 1
jne 0x40f520
push str.Spreader_ContainSpreader_
jmp 0x40f4ff
test esi, esi
jne 0x40f520
push str.Spreader_No_ExcludeSpreader_
jmp 0x40f4ff
push esi
push edi
push str.Spreader_Filter__Contain:_d__Exclude:_d
call fcn.0041e185
add esp, 0xc
xor esi, esi
jmp 0x40f4b6
Function at 0x41468e
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 0x41474c
call fcn.0040d21f
mov ecx, eax
call fcn.0040a746
push 0x206
test eax, eax
push ebx
lea eax, [ebp - 0x7a]
mov word [ebp - 0x7c], bx
push eax
jne 0x41471c
call fcn.0043db10
push str.Clover
lea eax, [ebp - 0x7c]
push 0x4ca34c
push eax
call fcn.0043ec14
add esp, 0x18
jmp 0x41473d
call fcn.0043db10
push 2
push 3
push 3
push str.Clover
lea eax, [ebp - 0x7c]
push str._s_V_d._d._d
push eax
call fcn.0043ec14
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 0x41475b
call fcn.0041b768
mov ecx, dword [esi + 0x2f8]
cmp ecx, ebx
je 0x41476a
call fcn.00414c7d
mov ecx, dword [esi + 0x2fc]
cmp ecx, ebx
je 0x4147bc
call fcn.0041c801
mov eax, dword [esi + 0x2fc]
cmp eax, ebx
je 0x41478a
add eax, 0x4f4
jmp 0x41478c
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 [0x4e31cc]
lea ecx, [esi + 0x10]
call dword [0x4e3214]
mov ecx, dword [esi + 0x2fc]
push edi
call dword [0x4e3210]
mov ecx, dword [esi + 0x300]
cmp ecx, ebx
je 0x4147cb
call fcn.0041508d
mov ecx, dword [esi + 0x304]
cmp ecx, ebx
je 0x4147da
call fcn.0041b5bb
mov ecx, dword [esi + 0x308]
cmp ecx, ebx
je 0x4147e9
call fcn.0040d3a6
mov ecx, dword [esi + 0x30c]
cmp ecx, ebx
je 0x4147f8
call fcn.00409b67
mov ecx, esi
call fcn.0040e2b2
call fcn.0040d21f
mov ecx, eax
call fcn.0040a742
test eax, eax
je 0x41482b
lea eax, [esi + 0x370]
push eax
push ebx
push esi
push 0x414663
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.0043daf5
add ebp, 0x190
leave
ret 4
Function at 0x414d3b
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.0043db10
push esi
call fcn.0043dcfa
add esp, 0x10
cmp eax, 3
jl 0x414da9
push 3
lea eax, [ebp + 0x1b4]
push esi
push eax
call fcn.0044090a
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 0x414e56
fld dword [ebp - 0x5c]
call fcn.0043ddc0
cmp eax, 0x400
jle 0x414e35
fld dword [ebp - 0x5c]
push ecx
fmul qword [0x4cbb50]
push ecx
lea eax, [ebp - 0x54]
fstp dword [ebp - 0x58]
fld dword [ebp - 0x58]
fstp qword [esp]
push str._.2fGB
push eax
call fcn.0043ec14
add esp, 0x10
jmp 0x414e47
push eax
lea eax, [ebp - 0x54]
push str._dMB
push eax
call fcn.0043ec14
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.0043daf5
add ebp, 0x1c0
leave
ret 4
Function at 0x415362
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 0x4153b4
xor eax, eax
jmp 0x41548b
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp + 0x1a6]
push ebx
push eax
mov word [ebp + 0x1a4], bx
call fcn.0043db10
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x1a4]
push eax
mov dword [ebp - 0x6c], ebx
push ebx
jmp 0x41546c
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 0x41545e
push edi
lea eax, [ebp - 0x62]
push ebx
push eax
mov dword [ebp - 0x78], esi
mov word [ebp - 0x64], bx
call fcn.0043db10
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 0x415455
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push eax
call fcn.0043e9ae
test eax, eax
pop ecx
pop ecx
je 0x415455
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 0x4153e9
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.0043daf5
add ebp, 0x3b0
leave
ret 4
Function at 0x415ffa
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, 0x4c3766
call fcn.0043e682
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.0043db10
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 0x4cbe64
lea ecx, [ebp]
call fcn.00403470
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41608c
lea eax, [ebp + 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x4160cb
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.0043daf5
add ebp, 0x840
leave
ret 4
push esi
lea eax, [ebp + 0x226]
push edi
push eax
mov word [ebp + 0x224], di
call fcn.0043db10
push esi
lea eax, [ebp + 0x42e]
push edi
push eax
mov word [ebp + 0x42c], di
call fcn.0043db10
mov eax, dword [ebp + 4]
add esp, 0x18
cmp dword [ebp + 0x18], 8
jae 0x416104
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.0043dcde
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x42c]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.004156ba
push esi
lea eax, [ebp + 0x636]
push edi
push eax
mov word [ebp + 0x634], di
call fcn.0043db10
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.0043dcfa
test eax, eax
pop ecx
jne 0x416180
lea eax, [ebp + 0x42c]
push eax
lea eax, [ebp + 0x634]
push eax
call fcn.0043dcde
pop ecx
pop ecx
lea eax, [ebp + 0x634]
push eax
call ebx
xor esi, esi
test eax, eax
jne 0x4161a1
push edi
push 1
lea ecx, [ebp]
call fcn.004017a0
mov eax, esi
jmp 0x4160a6
inc esi
jmp 0x41618f
Function at 0x4161a4
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, 0x4c379e
call fcn.0043e682
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.0043db10
push edi
lea eax, [ebp + 0x56]
push esi
push eax
mov word [ebp + 0x54], si
call fcn.0043db10
add esp, 0x18
push ebx
lea ecx, [ebp + 0x38]
call fcn.004015d0
push esi
push 0x4cbf2c
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 0x416231
mov eax, dword [eax + 4]
jmp 0x416234
add eax, 4
push eax
mov edi, 0x4ca34c
lea eax, [ebp + 0x25c]
push edi
push eax
call fcn.0043ec14
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 0x416270
mov eax, dword [eax + 4]
jmp 0x416273
add eax, 4
push eax
lea eax, [ebp + 0x54]
push edi
push eax
call fcn.0043ec14
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.0043eb1e
mov ebx, eax
lea eax, [ebp + 0x25c]
push eax
call fcn.0043dcfa
test eax, eax
pop ecx
pop ecx
je 0x416308
cmp ebx, esi
jle 0x416308
lea eax, [ebp + 0x1c]
push eax
call fcn.0040d21f
mov ecx, eax
call fcn.0040c21e
push 0x4e3094
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004015d0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4162dc
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 0x416339
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.0043daf5
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 0x416314
Function at 0x416444
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, 0x4c3803
call fcn.0043e682
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.0043db10
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 0x4164ef
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015d0
push 0x4e3074
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00403470
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4164c5
lea eax, [ebp + 0x20]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.00415a3c
cmp eax, esi
push esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x1c]
push 1
je 0x4164e6
call fcn.004017a0
mov eax, dword [ebp - 0x14]
jmp 0x416548
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 0x416546
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.004015d0
xor edi, edi
inc edi
push 0x4e3074
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00403470
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x416528
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.00415a3c
push esi
lea ecx, [ebp]
push edi
mov ebx, eax
call fcn.004017a0
cmp ebx, esi
je 0x416546
mov eax, ebx
jmp 0x416548
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.0043daf5
add ebp, 0x244
leave
ret 4

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

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x418f3a
push 0x80004005
call fcn.00418946
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 0x418f3d
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 0x418f6c
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.004188b6
mov edi, eax
cmp edi, esi
je 0x418fd4
lea ecx, [ebp - 0x70]
call fcn.00418851
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043daf5
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x418fec
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00418f6c
cmp eax, esi
jne 0x41901f
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 0x418fdc
lea ecx, [ebp - 0x70]
call fcn.00418851
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00418851
mov eax, esi
jmp 0x418fba
Function at 0x419f16
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, 0x4c3c1b
call fcn.0043e6b5
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 0x419f8e
call fcn.00418da6
mov esi, eax
jmp 0x41a08f
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x419fab
call fcn.00418da6
jmp 0x41a084
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x18], eax
je 0x419fa1
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 0x41a012
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x419fde
lea ecx, [ebp]
call fcn.00418e7b
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.00418eca
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.0043daf5
add ebp, 0x408
leave
ret 0x10
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004193bb
mov dword [ebp - 4], 1
jmp 0x41a042
mov ebx, dword [ebp]
cmp ebx, esi
jne 0x41a050
mov esi, 0x8007000e
jmp 0x41a086
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 0x419fa1
mov ecx, dword [ebp]
push dword [ebp + 0x41c]
mov word [ecx + eax*2], si
push dword [ebp]
lea ecx, [ebp - 0x28]
call fcn.00419df5
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x419fe3
lea ecx, [ebp]
call fcn.00418e7b
jmp 0x419fe3