joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aed7
Capabilities:
Create directory

Disassembly:
push 0xec
mov eax, 0x477015
call fcn.00448ddd
mov edi, edx
mov esi, ecx
and dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmovae eax, dword [ebp + 8]
push esi
push eax
call ebx
test eax, eax
je 0x42afc1
cmp dword [0x4ac0bc], 0
jg 0x42af9c
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x50], esp
xor ebx, ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404b39
push ecx
push ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.00403ead
mov edx, str.Created__
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00406a2a
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 3
call fcn.00405461
mov esi, eax
mov edx, str.__directory
mov ecx, esi
call fcn.00406a2a
push esi
push str.FileUtils::_anonymous_namespace::createDir
push 0x1ce
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_FileUtils.cpp
push ebx
mov ecx, 0x4ac0bc
call fcn.00402d4b
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], bl
call fcn.00402bf1
test edi, edi
je 0x42afd9
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0042aa4f
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004138d2
lea ecx, [ebp - 0x28]
call fcn.004049c7
jmp 0x42afd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x42afe7
lea ecx, [ebp + 8]
call fcn.0042a811
test al, al
je 0x42afe7
lea ecx, [ebp + 8]
call fcn.004049c7
call fcn.00448d87
ret
push 0x1d7
push str.FileUtils::_anonymous_namespace::createDir
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00402dde
push eax
push str.System_error
push edi
push ebx
push 0x48fbb8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.00403e50
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00402b9d
mov byte [ebp - 4], 6
push str.CreateDirectory_
mov ecx, eax
call fcn.0040544d
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x1c]
call fcn.00435e5f
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.0041e178
lea eax, [ebp - 0x4c]
mov dword [esp], 0x4a5da4
push eax
call fcn.0044c197
int3
Function at 0x4390ad
Capabilities:
Check mutex on windows

Disassembly:
push 0xa4
mov eax, 0x47976c
call fcn.00448da9
mov edi, ecx
push str.Global_MSIExecute
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x43915f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x439158
cmp dword [0x4ac0bc], 1
jg 0x439158
push ecx
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00403ead
mov edx, str.finish_waiting_for_mutex:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00406a2a
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb0]
call fcn.0040581e
lea eax, [ebp - 0xb0]
mov ecx, 0x4ac0bc
push eax
push str.msi::waitForInstallationCompletion
push 0x1c8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_MsiUtils.cpp
push 1
call fcn.00402d4b
lea ecx, [ebp - 0xb0]
call fcn.00402bf1
mov eax, dword [ebp - 0x10]
cmp eax, 0x102
je 0x439161
mov bl, 1
push esi
mov dword [ebp - 4], 3
call fcn.00436a38
pop ecx
mov al, bl
call fcn.00448d72
ret

Function at 0x43c856
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x47a2a0
call fcn.00448da9
mov eax, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
mov edx, 0x494578
mov ecx, eax
call fcn.0043f5e8
mov esi, eax
mov ecx, esi
call fcn.0043d9a5
pop ecx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push 0x100001
mov ecx, eax
call fcn.00425854
push esi
mov ebx, 0x100000
push ebx
push 1
push dword [ebp - 0x28]
call fcn.00457e47
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp eax, ebx
ja 0x43c931
push esi
call fcn.0045c423
pop ecx
test eax, eax
je 0x43c8d6
push 0x133
jmp 0x43c936
push esi
call fcn.0045c3f7
pop ecx
test eax, eax
jne 0x43c8e8
push 0x13b
jmp 0x43c936
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
call fcn.0043c822
mov ecx, dword [ebp - 0x10]
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebx + ecx]
cmp ebx, eax
je 0x43c916
push ecx
push ebx
mov ecx, edi
call fcn.00404a3c
lea ecx, [ebp - 0x28]
call fcn.0040c03a
test esi, esi
je 0x43c929
push esi
call fcn.00456f3d
pop ecx
mov eax, edi
call fcn.00448d72
ret
push 0xc8
lea ecx, [ebp - 0x38]
call fcn.0041241e
push 0x4a5ce4
lea eax, [ebp - 0x38]
push eax
call fcn.0044c197
int3
Function at 0x44278c
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, ecx
push edi
mov edi, dword [esp + 0x24]
mov ebp, SysReAllocString
test edi, edi
jl 0x44280f
jg 0x4427b8
test esi, esi
je 0x44280f
test edi, edi
jg 0x4427b8
jl 0x4427b4
cmp esi, ebp
jae 0x4427b8
mov eax, esi
jmp 0x4427ba
mov eax, ebp
and dword [esp + 0x20], 0
cmp dword [esp + 0x18], 0xffffffff
je 0x442800
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push ebx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4427ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x44280a
jmp 0x442800
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4427fb
add ebx, eax
cdq
sub esi, eax
sbb edi, edx
jmp 0x4427a0
cmp eax, 0xffffffff
jne 0x44280a
call fcn.00451cc1
cmp dword [eax], 4
je 0x4427a0
or eax, 0xffffffff
jmp 0x442811
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401070
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
push eax
mov edi, ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x401123
mov eax, dword [edi + 0x108]
test eax, eax
je 0x4010a5
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [edi + 0x108], eax
test eax, eax
je 0x401123
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x401123
mov eax, dword [edi + 0x108]
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
push edx
push str.VarFileInfoTranslation
push eax
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401123
mov eax, dword [esp + 0xc]
xor edx, edx
add edi, 4
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
push str.StringFileInfo_04x_04x
push 0x104
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4

Function at 0x401180
Capabilities:
Create http request

Disassembly:
push ecx
push edi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x4011de
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
push ebx
push ebp
push eax
push edi
call fcn.004011f0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4011cf
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 3
mov dword [esp + 0x10], eax
jl 0x4011ab
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret
Function at 0x4011f0
Capabilities:
Check for time delay via gettickcount
Check http status code
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x408c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [str.Accept:___r_n_r_n]
mov ecx, dword [0x40c070]
mov edx, dword [0x40c074]
push ebx
push ebp
push esi
mov dword [esp + 0x20], eax
mov eax, dword [0x40c078]
push edi
push 0x4000
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
setne byte [esp + 0x1c]
push edi
lea ecx, [esp + 0x28]
push 0x84000100
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 4
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x48], ebx
je 0x401357
mov edx, dword [esp + 0x4c]
push 0x40c068
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x401357
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x20000013
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x40134d
mov eax, dword [esp + 0x14]
cmp eax, 0xc8
jb 0x4013aa
cmp eax, 0x12c
jae 0x4013aa
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
lea edx, [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
push edx
push 0x4000
push esi
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40134d
mov eax, dword [esp + 0x10]
push ebp
test eax, eax
je 0x401369
push eax
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
mov eax, dword [esp + 0x20]
add esp, 0x10
add edi, eax
call ebx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
sub eax, edx
cmp eax, ecx
ja 0x40134d
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push ecx
push 0x4000
push esi
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x401307
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov al, byte [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
test al, al
je 0x4013cd
jmp 0x4013c4
call dword [sym.imp.MSVCRT.dll_fflush]
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov al, byte [esp + 0x24]
add esp, 8
test al, al
mov dword [esp + 0x3c], 0xffffffff
je 0x401392
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov al, byte [esp + 0x20]
add esp, 4
test al, al
mov dword [esp + 0x3c], 0xffffffff
je 0x4013cd
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4017f0
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x20c
push ebp
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x114]
push eax
call fcn.00401a00
add esp, 8
test eax, eax
jne 0x40184c
pop edi
pop ebp
add esp, 0x20c
ret
push esi
lea esi, [esp + 0x114]
lea ecx, [esp + 0x10]
mov edx, 0x104
lea eax, [esp + 0x10]
sub esi, ecx
mov cl, byte [esi + eax]
test cl, cl
je 0x401872
mov byte [eax], cl
inc eax
dec edx
jne 0x401863
jmp 0x401876
test edx, edx
jne 0x401877
dec eax
lea edx, [esp + 0xc]
mov byte [eax], 0
push edx
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.00402090
test eax, eax
jl 0x4018ad
mov eax, dword [esp + 0xc]
mov ecx, 0x104
sub ecx, eax
push str.SuperKiller_
lea edx, [esp + eax + 0x14]
push ecx
push edx
call fcn.00402040
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x4018ca
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, 0x104
lea eax, [esp + 0x10]
mov cl, byte [esi + eax]
test cl, cl
je 0x4018e2
mov byte [eax], cl
inc eax
dec edx
jne 0x4018d3
jmp 0x4018e6
test edx, edx
jne 0x4018e7
dec eax
push 1
lea edx, [esp + 0x14]
push 1
push edx
mov ecx, ebp
mov byte [eax], 0
call fcn.00401af0
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x401911
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, 0x104
lea eax, [esp + 0x10]
mov cl, byte [esi + eax]
test cl, cl
je 0x401929
mov byte [eax], cl
inc eax
dec edx
jne 0x40191a
jmp 0x40192d
test edx, edx
jne 0x40192e
dec eax
push 1
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, ebp
mov byte [eax], 0
call fcn.00401af0
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x401958
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, 0x104
lea eax, [esp + 0x10]
mov cl, byte [esi + eax]
test cl, cl
je 0x401970
mov byte [eax], cl
inc eax
dec edx
jne 0x401961
jmp 0x401974
test edx, edx
jne 0x401975
dec eax
push 1
lea edx, [esp + 0x14]
push 3
push edx
mov ecx, ebp
mov byte [eax], 0
call fcn.00401af0
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x40199f
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, 0x104
lea eax, [esp + 0x10]
mov cl, byte [esi + eax]
test cl, cl
je 0x4019b7
mov byte [eax], cl
inc eax
dec edx
jne 0x4019a8
jmp 0x4019bb
test edx, edx
jne 0x4019bc
dec eax
push 1
lea edx, [esp + 0x14]
push 4
push edx
mov ecx, ebp
mov byte [eax], 0
call fcn.00401af0
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
pop esi
jne 0x4019e7
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
mov eax, 1
pop ebp
add esp, 0x20c
ret
Function at 0x401c30
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
sub esp, 0x158
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], 0
push str.QIHOOFIXTOOL
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push 0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401c91
push 0x1000
push 0x4104c8
push 0x4104b0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x5c]
push 0x104
push eax
mov ecx, esi
call fcn.00401d00
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [esp + 0x18]
mov dword [esp + 8], ecx
push edx
mov dword [esp + 0x10], ecx
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0x44
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x30], ecx
push ecx
lea ecx, [esp + 0x7c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
test eax, eax
jne 0x401cf3
add esp, 0x158
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402260
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x104
push esi
push edi
push str.GetUploadIniPath_FunC_r_n
call fcn.00402760
mov ecx, dword [esp + 0x118]
mov esi, dword [esp + 0x114]
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
push 0x3048
lea ecx, [esp + 0x10]
push str.fixtool
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push esi
call fcn.00402760
push 0x4105dc
call fcn.00402760
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4022fb
call fcn.00402760
push str.INI_File_Already_Existing___r_n
call fcn.00402760
add esp, 4
mov eax, 1
pop edi
pop esi
add esp, 0x104
ret 8
push 0x493e0
push esi
push str.http:__update.360safe.com_safe_fixtool.ini
call fcn.00401180
add esp, 0xc
neg eax
sbb eax, eax
xor edx, edx
and eax, 2
pop edi
dec eax
pop esi
cmp eax, 1
sete dl
mov eax, edx
add esp, 0x104
ret 8
Function at 0x402330
Capabilities:
Get common file path
Move file
Read .ini file
Terminate process

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21d]
mov byte [esp + 0x21c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x321]
mov byte [esp + 0x320], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.DoUpdate_FunC_r_n
stosb byte es:[edi], al
call fcn.00402760
add esp, 4
lea eax, [esp + 0x118]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x118]
lea ecx, [esp + 0x14]
mov esi, 0x104
lea eax, [esp + 0x14]
sub edx, ecx
mov cl, byte [edx + eax]
cmp cl, bl
je 0x4023e6
mov byte [eax], cl
inc eax
dec esi
jne 0x4023d7
jmp 0x4023ea
cmp esi, ebx
jne 0x4023eb
dec eax
mov byte [eax], bl
mov ecx, 0x104
lea eax, [esp + 0x14]
cmp byte [eax], bl
je 0x402400
inc eax
dec ecx
jne 0x4023f6
jmp 0x402443
cmp ecx, ebx
je 0x402443
lea edx, [esp + 0x10]
test edx, edx
je 0x402415
mov eax, 0x104
sub eax, ecx
jmp 0x402419
mov eax, dword [esp + 0x10]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x14]
je 0x402443
mov esi, str..old
sub esi, eax
mov cl, byte [esi + eax]
cmp cl, bl
je 0x40243c
mov byte [eax], cl
inc eax
dec edx
jne 0x40242d
jmp 0x402440
cmp edx, ebx
jne 0x402441
dec eax
mov byte [eax], bl
lea eax, [esp + 0x14]
push 1
lea ecx, [esp + 0x11c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x40247c
push str.MoveFileEx_ERROR_r_n
call fcn.00402760
add esp, 4
call fcn.00402760
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x414
ret
lea edx, [esp + 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x320]
lea ecx, [esp + 0x21c]
push eax
push 0x3048
push str.fixtool
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [esp + 0x320]
lea eax, [esp + 0x21c]
push edx
push 0x104
push eax
push ebx
push 0x4106c0
push str.TrackSuperKiller
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x118]
push 0x493e0
lea edx, [esp + 0x220]
push ecx
push edx
call fcn.00401180
add esp, 0xc
test eax, eax
jne 0x4024fd
push str.InternetDownloadFile_TrackSuperKiller_ERROR___r_n
jmp 0x40252e
push str.InternetDownloadFile_TrackSuperKiller_Successful___r_n
call fcn.00402760
add esp, 4
mov ecx, ebp
call fcn.004026e0
test eax, eax
je 0x402529
push str.StartAnotherInstance_Successful___r_n
call fcn.00402760
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.StartAnotherInstance_ERROR___r_n
call fcn.00402760
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret
Function at 0x402550
Capabilities:
Check if file exists
Delete file
Get common file path
Read .ini file
Terminate process

Disassembly:
sub esp, 0x208
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x110]
push ecx
push 0x3048
push str.fixtool
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
je 0x40260e
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40260e
push 0x1004
push 0x410754
push 0x410730
push eax
call edi
cmp eax, 6
jne 0x402603
call fcn.004020d0
jmp 0x40260e
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
lea edx, [esp + 0xc]
push 0x104
push edx
mov ecx, esi
call fcn.00402260
test eax, eax
jne 0x402630
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x208
ret
lea eax, [esp + 0xc]
push eax
push 0
push str.update
push str.TrackSuperKiller
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x110]
push ecx
push 0x104
push edx
push 0
push 0x410724
push str.TrackSuperKiller
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x110]
push str.4.3.0.1004
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jle 0x4026be
push 0x1024
push 0x410754
push 0x410700
push 0
call edi
cmp eax, 7
jne 0x4026ca
test esi, esi
je 0x4026be
push 0x1000
push 0x410754
push 0x4106f0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x208
ret
cmp eax, 6
jne 0x4026be
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x208
ret

Function at 0x4026e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x5c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [esp + 0x14]
mov dword [esp + 4], ecx
push edx
mov dword [esp + 0xc], ecx
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0x44
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x2c], ecx
push ecx
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
add esp, 0x158
ret
Function at 0x4027b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x130
push ebx
push esi
mov esi, dword [esp + 0x140]
push edi
mov ebx, dword [esp + 0x140]
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
push 1
push esi
push ebx
mov dword [esp + 0x20], 0xffffffff
call fcn.00408830
mov edx, dword [esp + 0x20]
add esp, 0x14
mov edi, eax
push edx
push str.index_d_n
call fcn.00402760
add esp, 8
test edi, edi
jne 0x4028a0
push str.____FindZipItem_returned_OK
call fcn.00402760
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0xc]
push 2
push edi
push esi
push eax
push ebx
call fcn.00408880
add esp, 0x14
test eax, eax
jne 0x402887
push str.____UnzipItem_returned_OK
call fcn.00402760
push 4
push esi
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0xc
test eax, eax
jne 0x40286e
push str.____Target_file_created_OK
call fcn.00402760
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x130
ret
push str.____UnzipItem_failed_to_create_target_file
call fcn.00402760
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x130
ret
push str.____UnzipItem_returned_failed
call fcn.00402760
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x130
ret
push str.____FindZipItem_returned_failed
call fcn.00402760
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x130
ret