joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446fea
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
mov ebx, dword [ebp + 0x1ac]
push esi
mov esi, dword [ebp + 0x1a4]
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1a8]
xor edi, edi
mov dword [ebp - 0x7c], eax
cmp esi, edi
je 0x447122
cmp eax, edi
je 0x447122
cmp ebx, edi
je 0x447122
xor eax, eax
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00474a10
add esp, 0xc
push dword [ebp - 0x78]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x80], eax
push str.SOFTWARE360SafeLiveUpUpdateCfg_
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push edi
lea eax, [ebp - 0x78]
push eax
push edi
push 2
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4470a6
cmp dword [ebp - 0x78], edi
je 0x44711d
push esi
call fcn.004754ae
pop ecx
add eax, eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push edi
push str.pver
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x7c]
call fcn.004754ae
pop ecx
add eax, eax
push eax
push dword [ebp - 0x7c]
push 1
push edi
push str.pmd5
push dword [ebp - 0x78]
call esi
push ebx
call fcn.004754ae
pop ecx
add eax, eax
push eax
push ebx
push 1
push edi
push str.ppath
push dword [ebp - 0x78]
call esi
push ebx
call fcn.004754ae
pop ecx
add eax, eax
push eax
push str.TRUE
push 1
push edi
push str.PendingSign
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x447124
xor eax, eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
add ebp, 0x198
leave
ret
Function at 0x44713c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, 0xffffffff
je 0x4471fc
cmp ebx, esi
je 0x4471fc
push edi
push esi
push 0x80
push 4
push esi
push 1
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4471fb
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x4f6a74], esi
jne 0x4471a4
push dword [0x4eb224]
call fcn.0047438e
pop ecx
mov dword [0x4f6a74], eax
cmp eax, esi
je 0x4471f4
mov dword [ebp + 8], esi
mov dword [ebp - 8], esi
push esi
lea eax, [ebp + 8]
push eax
push dword [0x4eb224]
push dword [0x4f6a74]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4471cb
cmp dword [ebp + 8], esi
je 0x4471e6
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [0x4f6a74]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4471aa
jmp 0x4471f4
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x447294
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov edi, dword [esp + 0xc]
push edi
call esi
test eax, eax
je 0x4472ac
xor eax, eax
inc eax
jmp 0x4472d0
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4472a7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4472ce
push edi
call esi
test eax, eax
jne 0x4472a7
xor eax, eax
pop edi
pop esi
ret

Function at 0x4473b6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x447421
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x447416
push str.360tray.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x447430
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4473f3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00474a8a
leave
ret
mov eax, dword [ebp - 0x228]
mov dword [edi], eax
mov eax, dword [ebp - 0x218]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x447423
Function at 0x44744c
Capabilities:
Get session user name
Move file

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14
mov eax, 0x4b03a7
call fcn.00475a5f
push dword [ebp + 0x220]
mov ecx, dword [ebp + 0x21c]
mov eax, dword [ebp + 0x218]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4474ba
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x210
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4474c9
xor eax, eax
jmp 0x447497
lea ecx, [ebp - 0x10]
call fcn.0043952d
and dword [ebp - 4], 0
push 0x1a
lea ecx, [ebp - 0x10]
call fcn.004399f8
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], eax
mov ebx, 0x4bc4d0
mov edi, reloc.OLEAUT32.dll_SysReAllocString
test eax, eax
je 0x44750b
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439ab7
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x20], 0x105
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0043953d
mov dword [ebp - 0x14], eax
test eax, eax
je 0x447548
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439ab7
push dword [ebp - 0x14]
call esi
push dword [ebp + 0x220]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x447574
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00439536
mov eax, esi
jmp 0x447497
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x447583
xor esi, esi
jmp 0x447561
push 1
lea ecx, [ebp - 0x10]
call fcn.004399f8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4475a9
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439ab7
push dword [ebp - 0x14]
call esi
push dword [ebp + 0x220]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
jmp 0x447561
Function at 0x44766c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push closesocket
push eax
mov dword [ebp - 0x74], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x78], esi
cmp esi, 0xffffffff
je 0x447766
push 0x66
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00474a10
add esp, 0xc
push 2
push edi
push 0xffffffffffffff9c
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x70]
push eax
push 0x64
lea eax, [ebp - 0x6c]
push eax
push esi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44775d
cmp dword [ebp - 0x70], edi
jbe 0x44775d
push ebx
mov esi, str.ver_
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00474d59
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x44775c
push esi
call fcn.004754ae
lea esi, [ebx + eax*2]
pop ecx
mov ecx, esi
lea edx, [ebp - 0x6c]
mov eax, esi
sub ecx, edx
jmp 0x44771e
cmp word [eax], 0x22
je 0x44772a
inc eax
inc eax
inc ecx
inc ecx
mov edx, ecx
and edx, 0xfffffffe
cmp edx, 0x64
jle 0x447714
jmp 0x44775c
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
push esi
mov word [eax], cx
lea edi, [ebx - 1]
call fcn.004754ae
pop ecx
cmp edi, eax
jae 0x447744
mov eax, edi
jmp 0x44774b
push esi
call fcn.004754ae
pop ecx
push eax
push esi
push ebx
push dword [ebp - 0x74]
call fcn.00475cd6
xor edi, edi
add esp, 0x10
inc edi
pop ebx
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00474a8a
leave
ret
Function at 0x4491b5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x908
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x908], edi
cmp esi, edi
je 0x449284
xor eax, eax
push 0xfe
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push edi
push eax
call fcn.00474a10
xor eax, eax
push 0x7fe
mov word [ebp - 0x904], ax
lea eax, [ebp - 0x902]
push edi
push eax
call fcn.00474a10
push esi
mov esi, 0x400
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.00475da9
add esp, 0x24
call fcn.00401295
mov ecx, dword [eax]
push 0x80
lea edx, [ebp - 0x104]
push edx
push eax
call dword [ecx + 0x34]
push 0x4d4f88
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.00475da9
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.00475da9
add esp, 0x18
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4492a3
inc edi
cmp edi, 0xa
jl 0x44922d
push 0x4d2ec0
mov ecx, ebx
call fcn.00402675
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00474a8a
leave
ret 8
lea eax, [ebp - 0x904]
push eax
jmp 0x449289
Function at 0x4495b5
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x394], eax
push ebx
mov ebx, dword [ebp + 0x3a4]
push esi
push edi
mov edi, dword [ebp + 0x3a0]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
call fcn.00446f57
mov esi, eax
test esi, esi
jne 0x4495fa
xor eax, eax
jmp 0x449702
test ebx, ebx
je 0x4495f3
test edi, edi
je 0x4495f3
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x4495f3
push ebx
call edi
test eax, eax
jne 0x44961c
inc eax
jmp 0x449702
and dword [ebp - 0x78], 0
xor eax, eax
mov ebx, 0x1fe
push ebx
push eax
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push eax
call fcn.00474a10
mov eax, dword [esi]
add esp, 0xc
mov edi, pe_nt_image_headers32
push edi
lea ecx, [ebp + 0x194]
push ecx
push dword [ebp - 0x74]
push esi
call dword [eax + 0x64]
xor eax, eax
push ebx
mov word [ebp - 0x6c], ax
xor ebx, ebx
lea eax, [ebp - 0x6a]
push ebx
push eax
call fcn.00474a10
mov eax, dword [esi]
add esp, 0xc
push edi
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x70]
push esi
call dword [eax + 0x64]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00449171
pop ecx
pop ecx
test eax, eax
jg 0x4496e2
mov edi, dword [ebp - 0x74]
mov eax, dword [esi]
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push edi
push esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], ebx
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x80]
push edi
mov esi, eax
call fcn.004475bf
cmp esi, ebx
je 0x4496bb
cmp dword [ebp - 0x70], ebx
jne 0x4496bf
cmp eax, ebx
je 0x4496d3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_version_is_lower_or_equal_than_local_and_check_sign_successfully__DO_NOT_Copy_back__PE_file.
call fcn.00404dac
jmp 0x4496fd
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_check_sign_failed__PE_file__and_Copy_back.
jmp 0x4496f1
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_version_is_higher_than_local__PE_file__and_Copy_back..
call fcn.00404dac
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x394]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
add ebp, 0x398
leave
ret 8
Function at 0x449e20
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push ebp
sub esp, 0xa7c
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0xa7c], eax
push 0x10
mov eax, 0x4b077a
call fcn.00475a5f
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xa88]
mov edi, dword [ebp + 0xa8c]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], edi
cmp eax, ebx
je 0x44a037
cmp edi, ebx
je 0x44a037
cmp word [eax], bx
je 0x44a037
cmp word [edi], bx
je 0x44a037
push edi
call fcn.004754ae
mov esi, 0x104
cmp eax, esi
pop ecx
jge 0x44a037
push dword [ebp - 0x10]
call fcn.004754ae
cmp eax, esi
pop ecx
jge 0x44a037
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x449eb7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x449ee6
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x449ee6
mov ecx, dword [ebp - 0x18]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.004491b5
push 3
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
push 0x410
lea eax, [ebp + 0x464]
push ebx
push eax
call fcn.00474a10
xor eax, eax
push 0x206
mov word [ebp + 0x874], ax
lea eax, [ebp + 0x876]
push ebx
push eax
call fcn.00474a10
add esp, 0x18
push 0x4d3138
push dword [ebp - 0x10]
lea eax, [ebp + 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x460], ebx
lea eax, [ebp + 0x464]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.0043a164
cmp eax, ebx
je 0x44a027
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp]
call fcn.0043a127
lea ecx, [ebp]
test eax, eax
je 0x449f7d
call fcn.0043a05b
mov dword [ebp - 0x14], eax
jmp 0x44a01e
lea eax, [ebp - 0x18]
push eax
call fcn.0043c447
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0043c32b
push 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0043a03f
test eax, eax
je 0x449fce
lea ecx, [ebp]
call fcn.0043a05b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.004029d4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004029d4
jmp 0x44a01e
push edi
lea eax, [ebp + 0x874]
push eax
call esi
push dword [ebp - 0x10]
lea eax, [ebp + 0x874]
push eax
call esi
mov edi, dword [ebp - 0x18]
push ebx
push ebx
push ebx
lea eax, [ebp + 0x874]
push eax
push edi
call fcn.004482a6
add esp, 0x14
lea ecx, [ebp]
call fcn.0043a05b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.004029d4
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004029d4
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jne 0x449f61
lea ecx, [ebp]
call fcn.0043a082
lea ecx, [ebp]
call fcn.0043a082
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa7c]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0xa80
leave
ret 8
Function at 0x44cd29
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004760e0
push 0xffffffffffffffff
push 0x4b0b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x1014]
mov eax, dword [ebp + 0x101c]
mov esi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
test edi, edi
je 0x44ceb6
cmp dword [ebp + 0x1018], 0
je 0x44cd92
xor eax, eax
jmp 0x44ceb9
mov ebx, 0x800
push ebx
lea eax, [ebp]
push 0
push eax
call fcn.00474a10
mov eax, dword [esi + 0xc]
add esp, 0xc
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp]
push eax
call edi
push ebx
xor ebx, ebx
lea eax, [ebp + 0x800]
push ebx
push eax
call fcn.00474a10
mov eax, dword [esi + 0x10]
add esp, 0xc
push dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x800]
push eax
call edi
mov ecx, dword [0x4f6a6c]
cmp ecx, ebx
je 0x44ce05
call fcn.0045e3d5
neg eax
sbb eax, eax
inc eax
je 0x44ce1f
cmp dword [esi + 8], ebx
je 0x44ce05
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [esi + 0x18]
push edx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
mov ecx, esi
call fcn.0044c68b
jmp 0x44cd8b
cmp dword [esi + 0x220], ebx
je 0x44cede
push ebx
push ebx
push 4
push ebx
push 7
push closesocket
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x44cede
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [esi + 0x228]
jne 0x44ce83
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x22c]
je 0x44cede
push dword [ebp - 0x14]
push str._s_lengths_error
call fcn.00404dac
pop ecx
pop ecx
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
push str.move_file__s____s__check_filesize_error_
call fcn.00404dac
add esp, 0xc
push 0xffffd8ef
mov ecx, esi
call fcn.0044c925
push 2
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x1004
leave
ret 0x14
lea ecx, [ebp - 0x24]
call fcn.00447fd1
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004028fb
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.004028fb
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004028fb
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x2dc]
call fcn.0044bf96
lea ecx, [ebp - 0x24]
call fcn.00447ff7
jmp 0x44cd8b
Function at 0x44d275
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0044cf43
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0045ffdc
mov ecx, edi
call fcn.0045e40e
mov ecx, eax
call fcn.00430a62
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d2ae
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x10]
mov ecx, esi
call fcn.0044d084
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x44d2c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x44d335
and dword [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 0x32
add dword [ebp - 0x10], 0x32
sub eax, dword [ebp - 0x10]
pop edi
js 0x44d317
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
js 0x44d317
push 0
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x44d335
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
leave
ret 4

Function at 0x44d64f
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [eax], 1
call fcn.0045e3d5
test eax, eax
jne 0x44d6ac
push ebx
push edi
xor edi, edi
push edi
push edi
push 0xa9
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
push edi
push edi
push esi
push 0x44d63d
push edi
push edi
call fcn.004755c9
mov ebx, eax
add esp, 0x18
cmp ebx, edi
je 0x44d6a1
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
jmp 0x44d6c0
push 0
push dword [esp + 0x10]
push 0x1817
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
pop esi
ret 0x10
Function at 0x44eea8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x44eed0
xor eax, eax
inc eax
jmp 0x44ef37
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d251c
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44ef30
push str.Utils360MedalWall.dll
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call fcn.0040220c
mov dword [esi], eax
xor eax, eax
cmp dword [esi], eax
setne al
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.00474a8a
add ebp, 0x194
leave
ret
Function at 0x450506
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4505b7
cmp dword [ebp + 0xc], edi
je 0x4505b7
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x4505b7
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x4505b7
lea eax, [ebp + 8]
push eax
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x450577
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d2ec0
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x4505b2
cmp ebx, edi
jle 0x4505a9
cmp esi, edi
je 0x4505a3
push dword [esi + 4]
call fcn.004754ae
pop ecx
add eax, eax
push eax
push dword [esi + 4]
push 1
push edi
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4505a3
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x45057b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x4505b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4505be
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x45065e
cmp dword [ebp + 0xc], edi
je 0x45065e
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x45065e
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x45065e
lea eax, [ebp + 8]
push eax
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x450627
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d2ec0
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x450659
cmp ebx, edi
jle 0x450650
cmp esi, edi
je 0x45064a
push 4
lea eax, [esi + 4]
push eax
push 4
push edi
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x45064a
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x45062b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x450660
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret