joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4400b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5959f0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x44026c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x440131
test edi, 0xffff0000
jne 0x440113
movzx eax, di
lea ecx, [ebp - 0x10]
push eax
call fcn.00426130
jmp 0x44013d
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x440120
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440120
sub ecx, edx
sar ecx, 1
jmp 0x440133
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.004263f0
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x440232
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x440232
cmp eax, 0xb7
je 0x440232
push eax
push str.410_tKFuncAux::CreateDeepDirectory_tCreateDirectory_failed__error_code:__lu
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
lea eax, [ebp - 0x10]
push eax
call fcn.00443130
mov esi, dword [ebp - 0x10]
add esp, 0x18
cmp dword [esi - 0xc], 0
jne 0x4401c9
push 0
push str.415_tKFuncAux::CreateDeepDirectory_tpath_is_empty_after_Remove_File_Spec__retCode:__d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x14
xor edi, edi
jmp 0x44023a
push esi
call fcn.004400b0
add esp, 4
push 0
test eax, eax
jne 0x4401f9
push esi
push str.423_tKFuncAux::CreateDeepDirectory_tCreate_Deep_Directory_failed__path:__ws__retCode:__d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x18
xor edi, edi
jmp 0x44023a
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x440235
cmp eax, 0xb7
je 0x440235
push eax
push str.431_tKFuncAux::CreateDeepDirectory_tCreateDirectory_failed__error_code:__lu
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x14
jmp 0x44023a
mov esi, dword [ebp - 0x10]
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x440259
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x440280
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597488
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4402c2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4402e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x44039f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [edi]
lea eax, [ebp + 8]
push str._s_d__x
push eax
call fcn.004289d0
add esp, 0x10
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp + 8]
test eax, eax
je 0x440334
mov edi, 1
jmp 0x44035a
cmp dword [ebp + 0xc], 0
je 0x440358
push esi
push dword [edi]
call fcn.0054bb13
add esp, 8
push 4
push 0
test eax, eax
jne 0x44038c
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x440398
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x440379
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x440358
mov edi, 1
jmp 0x44035a
push 0x80004005
call fcn.00425f50
int3
Function at 0x4407e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597520
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push str.SoftwarekingsoftOffice6.0Common
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x440963
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x44099f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
test eax, eax
je 0x44090a
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.hostprocname
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x44088a
cmp eax, 2
jne 0x44090a
lea ecx, [ebp - 0x14]
call fcn.00426010
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4409a9
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4408c0
push edx
lea ecx, [ebp - 0x14]
call fcn.00426250
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.hostprocname
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x44090a
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x4409a9
cmp eax, dword [esi - 8]
jg 0x4409a9
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x440947
lea edi, [esi - 0x10]
push edi
call fcn.00425f70
mov esi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov byte [ebp - 4], 0
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44093d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44098c
push eax
jmp 0x440986
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x440963
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
push str.hostprocname
push str.SoftwarekingsoftOffice6.0Common
push 0x80000002
push esi
call fcn.0045bfb0
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
je 0x44098c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
int3
Function at 0x442260
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597850
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x442389
push 0x5b0144
push str.GetWinSpecialFoldersFromReg
push str.Support
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00459c30
push str.True
push dword [ebp - 0x10]
call fcn.0054b581
mov edx, dword [ebp - 0x10]
add esp, 0x1c
test eax, eax
mov byte [ebp - 4], 0
mov ecx, 1
mov eax, esi
cmove edi, ecx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4422f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x442389
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov ecx, 2
mov eax, edi
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.0053d0bd
mov esi, eax
add esp, 4
test esi, esi
je 0x442330
push ebx
push 0
push esi
call fcn.00540d70
add esp, 0xc
jmp 0x442332
xor esi, esi
push 0xa
push 0xffffffffffffffff
push 0
push edi
push esi
push dword [ebp + 0xc]
call fcn.004423d0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x442368
push edi
push str.1107_tKFuncAux::GetSpecialFolders_t_KFuncAux::GetSpecialFolders__GetWinSpecialFoldersFromReg_Failed:_0x_08x.
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x14
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call fcn.00554266
push esi
call fcn.0053d0c6
xor ebx, ebx
add esp, 0x10
test edi, edi
sete bl
or esi, 0xffffffff
jmp 0x44239b
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4423ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4431e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597998
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], 0x400
call fcn.0053d0bd
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x800
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00540d70
add esp, 0x10
mov dword [ebp - 0x30], 0x400
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x44325b
mov eax, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
push esi
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, esi
cmp eax, 0xea
jne 0x4432f5
mov edx, 2
mov edi, edi
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
add eax, 0x800
mov dword [ebp - 0x2c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053d0bd
mov edi, eax
add esp, 4
mov eax, esi
mov esi, edi
mov dword [ebp - 0x34], esi
test eax, eax
je 0x4432b5
push eax
call fcn.0053d0c6
add esp, 4
mov eax, dword [ebp - 0x2c]
add eax, eax
push eax
push 0
push edi
call fcn.00540d70
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x30], eax
mov eax, ebx
jb 0x4432d6
mov eax, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
push edi
push 0
push 0
push eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 2
cmp eax, 0xea
je 0x443280
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [edi + 2]
mov word [ebp - 0x28], ax
lea esp, [esp]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x443310
sub edi, ecx
lea ecx, [ebp - 0x28]
sar edi, 1
push edi
push esi
call fcn.00439df0
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae edi, dword [ebp - 0x28]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x443407
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x3c]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x443387
test edi, 0xffff0000
jne 0x443371
movzx eax, di
mov ecx, ebx
push eax
call fcn.00426130
jmp 0x443392
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443376
sub ecx, edx
sar ecx, 1
jmp 0x443389
xor ecx, ecx
push ecx
push edi
mov ecx, ebx
call fcn.004263f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4433c8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4433be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443411
push edx
push ecx
call fcn.0053d0af
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4433e9
push esi
call fcn.0053d0c6
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
call fcn.0054b0c3
int3
Function at 0x4439f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsWindows_Error_ReportingRuntimeExceptionHelperModules
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x443a3d
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x443a3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x457f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x457f76
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x457f76
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x457f76
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x457f76
mov ecx, dword [ebp + 0x10]
push ebx
push eax
lea eax, [ebx + 1]
push eax
call fcn.004481b0
push eax
call fcn.00541450
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push ebx
call fcn.004514c0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x457f80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598d10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4580e7
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4580fd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
push dword [esi]
push str._s_d._s
push eax
call fcn.004289d0
mov esi, dword [ebp - 0x10]
add esp, 0x14
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
cmp edi, 0xffffffff
je 0x4580bd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x4580b6
push 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push ebx
lea ecx, [ebx + 0xa]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004481b0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp + 8], eax
test eax, eax
je 0x45809a
cmp dword [ebp + 0x10], ebx
jne 0x45809a
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.004514c0
mov byte [ebp - 4], 2
test edi, edi
je 0x458079
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.00425b40
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
jl 0x458107
mov ebx, dword [ebp + 8]
mov dword [ecx - 0xc], 0
mov eax, dword [eax]
mov byte [eax], 0
jmp 0x4580b8
xor ebx, ebx
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 3
test edi, edi
je 0x4580c8
push edi
call eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4580e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
int3
Function at 0x459c30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x104
push eax
push edi
push ebx
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x459d31
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x220]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x459cec
movzx eax, ax
mov ecx, ebx
push eax
call fcn.00426130
jmp 0x459d13
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459cf5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004263f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x45b080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598ff8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x45b0c5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push dword [0x6299d4]
lea eax, [ebp - 0x10]
push eax
call fcn.004430a0
add esp, 0xc
push dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0
call ebx
push str..new
lea eax, [ebp + 8]
push edi
push eax
call fcn.00425c00
add esp, 0xc
push dword [eax]
call ebx
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b11c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..old
lea eax, [ebp + 8]
push edi
push eax
call fcn.00425c00
add esp, 0xc
push dword [eax]
call ebx
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b14c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45b16b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bab0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5990a8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
test eax, eax
jne 0x45bb72
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x45bb84
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
lea eax, [ebp + 0xc]
push str._s_d__x
push eax
call fcn.004289d0
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.0054bb13
add esp, 0x18
mov dword [edi], eax
test eax, eax
jne 0x45bb48
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [edi], eax
test eax, eax
jne 0x45bb53
jmp 0x45bb4e
mov dword [edi], 0
mov eax, dword [ebp + 0x10]
inc dword [eax]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45bb72
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3

Function at 0x45bed0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599168
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45bf9b
push dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
push esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
je 0x45bf7d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Registry_delete_value_failed
push str.14_t_RegLog_t_ws:__x___ws___ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekregaux.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x20
test esi, esi
je 0x45bf88
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret