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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5393dc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call fcn.00403840
mov dword [ebp - 4], 0
push str.EntClientFH.DAT
lea eax, [ebp - 0x14]
push eax
call fcn.0041acc0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 7
je 0x456e28
cmp dword [ebp + 8], 9
jne 0x456e3f
mov ecx, dword [ebp + 8]
push ecx
push 0x542fc8
lea edx, [ebp - 0x10]
push edx
call fcn.00409170
add esp, 0xc
jmp 0x456e5c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._d_s_s
lea eax, [ebp - 0x10]
push eax
call fcn.00409170
add esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
push str.FixRecord
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
push str.TrustRecord
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x456ee0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53940f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push str.EntClientFH.DAT
lea eax, [ebp - 0x14]
push eax
call fcn.0041acc0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x34
call fcn.00459980
test eax, eax
jbe 0x456f3e
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x456f5c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x34
call fcn.00459980
cmp dword [ebp - 0x18], eax
jge 0x4570c2
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x34
call fcn.004599a0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xac8]
mov edx, dword [ebp - 0x20]
add ecx, dword [edx + 0xacc]
test ecx, ecx
jg 0x456f9a
jmp 0x456f53
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xac0], 0x10
jne 0x456fa8
jmp 0x456f53
lea ecx, [ebp - 0x1c]
call fcn.00403840
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0xac0], 7
je 0x456fcc
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xac0], 9
jne 0x456fe9
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xac0]
push ecx
push 0x545b44
lea edx, [ebp - 0x1c]
push edx
call fcn.00409170
add esp, 0xc
jmp 0x457017
mov eax, dword [ebp - 0x20]
add eax, 0xad0
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xcd0
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xac0]
push eax
push str._u_s_s
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00409170
add esp, 0x14
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xac8], 0
jle 0x457064
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xac8]
push ecx
push 0x542fc8
lea edx, [ebp - 0x10]
push edx
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
push str.FixRecord
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xacc], 0
jle 0x4570b1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xacc]
push edx
push 0x542fc8
lea eax, [ebp - 0x10]
push eax
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
push str.TrustRecord
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
jmp 0x456f53
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x457100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53944a
mov eax, dword fs:[0]
push eax
mov eax, 0x2020
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x202c], ecx
push str.EntClientFixHistory.dat
lea eax, [ebp - 0x1c]
push eax
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402010
movzx ecx, al
test ecx, ecx
je 0x457170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
jmp 0x4572e3
lea ecx, [ebp - 0x10]
call fcn.00403840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403840
mov byte [ebp - 4], 2
push str.FixHistory
lea ecx, [ebp - 0x18]
call fcn.00401e30
mov byte [ebp - 4], 3
xor edx, edx
mov word [ebp - 0x2024], dx
push 0x1ffe
push 0
lea eax, [ebp - 0x2022]
push eax
call fcn.004b0ac0
add esp, 0xc
mov dword [ebp - 0x2028], 0
jmp 0x4571d3
mov ecx, dword [ebp - 0x2028]
add ecx, 1
mov dword [ebp - 0x2028], ecx
mov edx, dword [ebp - 0x2028]
push edx
push 0x5442f0
lea eax, [ebp - 0x10]
push eax
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
push 0x2000
lea ecx, [ebp - 0x2024]
push ecx
push 0x540868
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x18]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x457223
jmp 0x457267
lea edx, [ebp - 0x2024]
push edx
call fcn.004b0eb7
add esp, 4
test eax, eax
ja 0x457238
jmp 0x457267
lea eax, [ebp - 0x2024]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ed0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x202c]
add ecx, 0x148
call fcn.00458e70
mov dword [eax], 1
jmp 0x4571c4
mov ecx, dword [ebp - 0x202c]
add ecx, 0x148
call fcn.0045a410
push eax
push 0x542fc8
lea edx, [ebp - 0x14]
push edx
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push str.Count
lea ecx, [ebp - 0x18]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret
Function at 0x457880
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2818
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2814], 0x400
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.004b0ac0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x2810], dx
push 0x1ffe
push 0
lea eax, [ebp - 0x280e]
push eax
call fcn.004b0ac0
add esp, 0xc
mov dword [ebp - 0x810], 0x400
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x80c]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4579c7
push 0x5c
lea ecx, [ebp - 0x808]
push ecx
call fcn.004036e0
add esp, 8
mov dword [ebp - 0x2818], eax
mov edx, dword [ebp - 0x2818]
add edx, 2
mov dword [ebp - 0x2818], edx
xor eax, eax
mov ecx, dword [ebp - 0x2818]
mov word [ecx], ax
push 0x1000
lea edx, [ebp - 0x2810]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4579c7
push str.SoftMgr_somkernl.dll
push 0x2000
lea ecx, [ebp - 0x2810]
push ecx
call fcn.00469710
lea edx, [ebp - 0x2810]
push edx
call fcn.00401c70
add esp, 4
test eax, eax
jne 0x457996
mov eax, 0x80004005
jmp 0x4579e1
lea eax, [ebp - 0x2810]
push eax
call fcn.00401c90
mov dword [0x58fb3c], eax
cmp dword [0x58fb3c], 0
je 0x4579c7
push str.SomPlugin
mov ecx, dword [0x58fb3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x58f88c], eax
cmp dword [0x58f88c], 0
jne 0x4579d7
mov eax, 0x80004005
jmp 0x4579e1
push 0
push 0xffffffffffffffff
call dword [0x58f88c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret

Function at 0x458c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x458c19
xor ecx, ecx
jne 0x458c19
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x458c52
call fcn.004295a0
jmp 0x458c68
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x458c66
push 0x26
call fcn.004092d0
add esp, 4
jmp 0x458c68
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x461e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5399c8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x5463cc
lea eax, [ebp - 0x2c]
push eax
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461f05
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov eax, dword [ebp - 0x68]
jmp 0x46201a
lea ecx, [ebp - 0x28]
call fcn.00462c30
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0043e290
push eax
call fcn.004640d0
add esp, 0xc
jmp 0x461f48
mov dword [ebp - 4], 1
jmp 0x461f74
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 0
jmp 0x461f8d
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x28]
call fcn.00462d00
cmp dword [ebp - 0x30], eax
jae 0x461ff5
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.00462d20
push eax
lea ecx, [ebp - 0x64]
call fcn.004626b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.00402010
movzx ecx, al
test ecx, ecx
je 0x461fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004627e0
jmp 0x461f84
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
call fcn.00462a40
mov ecx, eax
call fcn.00462850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004627e0
jmp 0x461f84
mov dword [ebp - 0x70], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00462ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov eax, dword [ebp - 0x70]
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 0x4626b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539a3d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00401e10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00401e10
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00401e10
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00401e10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00401e10
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00401e10
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00401e10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp + 8]
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00401e10
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x46e5d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x24
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.0046e580
test eax, eax
je 0x46e625
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x46e61e
mov eax, dword [ebp - 0x10]
jmp 0x46e628
lea edx, [ebp - 0x24]
push edx
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x46eda0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0x400c7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
and ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x400c7
jne 0x46ee57
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46edf9
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x10], 0
jbe 0x46edf9
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x46ee4d
mov ecx, dword [ebp - 0x10]
call fcn.0046b6a0
push 0x2710
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46ee34
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
jmp 0x46ee57
mov ecx, dword [ebp - 0x10]
call fcn.0046b520
jmp 0x46ee59
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x46f430
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8818
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x8810], ax
push 0x7ffe
push 0
lea ecx, [ebp - 0x880e]
push ecx
call fcn.004b0ac0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x80c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043e290
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x8818], eax
cmp dword [ebp - 0x8818], 0
je 0x46f4b5
cmp dword [ebp - 0x8818], 0x7fff
jbe 0x46f4bc
xor eax, eax
jmp 0x46f53e
lea edx, [ebp - 0x8810]
push edx
mov eax, dword [ebp - 0x8818]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0043e290
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x46f4e2
xor eax, eax
jmp 0x46f53e
mov dword [ebp - 0x8814], 0
mov dword [ebp - 0x810], 0
lea ecx, [ebp - 0x8814]
push ecx
lea edx, [ebp - 0x810]
push edx
push 0x5408ec
lea eax, [ebp - 0x8810]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x46f51d
xor eax, eax
jmp 0x46f53e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x810]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x810]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret
Function at 0x477d30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
push str.360leakrepair_onfixing_mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x477d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x477d69
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x479730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ab98
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x479770
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x47977c
mov al, 1
jmp 0x47991f
mov dword [ebp - 0x10], 8
call fcn.00452350
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00452350
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00415690
add esp, 8
movzx eax, al
test eax, eax
je 0x4797bf
xor al, al
jmp 0x47991f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004793e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00479420
mov ecx, eax
call fcn.00479a00
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0049eee0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00479420
mov ecx, eax
call fcn.00479a00
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00479b60
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x47983a
cmp dword [ebp - 0x6c], 1
je 0x479841
cmp dword [ebp - 0x6c], 3
je 0x4798db
jmp 0x4798f3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00479420
mov ecx, eax
call fcn.00479a00
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4798a4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00479420
mov ecx, eax
call fcn.00479a00
push eax
call fcn.004b6334
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4798a4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004062d0
mov al, byte [ebp - 0x61]
jmp 0x47991f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x4798c7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004062d0
mov al, byte [ebp - 0x62]
jmp 0x47991f
cmp dword [ebp - 0x38], 0
jne 0x4798d9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004123a0
jmp 0x47990b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004062d0
mov al, byte [ebp - 0x63]
jmp 0x47991f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004062d0
mov al, byte [ebp - 0x64]
jmp 0x47991f
jmp 0x4797d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret
Function at 0x47b0f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, dword [ebp + 0x18]
and eax, 1
jne 0x47b124
push 9
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0047be80
add esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov byte [ebp - 9], 0x3c
lea ecx, [ebp - 9]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0xa], 0x21
lea edx, [ebp - 0xa]
push edx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0xb], 0x5b
lea eax, [ebp - 0xb]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0xc], 0x43
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0xd], 0x44
lea edx, [ebp - 0xd]
push edx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0xe], 0x41
lea eax, [ebp - 0xe]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0xf], 0x54
lea ecx, [ebp - 0xf]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0x10], 0x41
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0x11], 0x5b
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00465da0
mov esi, eax
mov ecx, dword [ebp + 0x14]
call fcn.004666d0
add esi, eax
push esi
mov ecx, dword [ebp + 0x14]
call fcn.00465da0
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0047bee0
add esp, 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov byte [ebp - 0x1d], 0x5d
lea eax, [ebp - 0x1d]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0x1e], 0x5d
lea ecx, [ebp - 0x1e]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov byte [ebp - 0x1f], 0x3e
lea edx, [ebp - 0x1f]
push edx
lea ecx, [ebp + 0xc]
call fcn.00405080
mov ecx, eax
call fcn.0047ac40
lea ecx, [ebp + 0xc]
call fcn.00405080
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret