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

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f3bd0]
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 0x447721
cmp eax, edi
je 0x447721
cmp ebx, edi
je 0x447721
xor eax, eax
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00475570
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 0x4476a5
cmp dword [ebp - 0x78], edi
je 0x44771c
push esi
call fcn.0047600e
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.0047600e
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.0047600e
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.0047600e
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 0x447723
xor eax, eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
add ebp, 0x198
leave
ret
Function at 0x44773b
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 0x4477fb
cmp ebx, esi
je 0x4477fb
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 0x4477fa
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x4f7ba8], esi
jne 0x4477a3
push dword [0x4ec21c]
call fcn.00474e94
pop ecx
mov dword [0x4f7ba8], eax
cmp eax, esi
je 0x4477f3
mov dword [ebp + 8], esi
mov dword [ebp - 8], esi
push esi
lea eax, [ebp + 8]
push eax
push dword [0x4ec21c]
push dword [0x4f7ba8]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4477ca
cmp dword [ebp + 8], esi
je 0x4477e5
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [0x4f7ba8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4477a9
jmp 0x4477f3
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 0x447893
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 0x4478ab
xor eax, eax
inc eax
jmp 0x4478cf
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4478a6
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4478cd
push edi
call esi
test eax, eax
jne 0x4478a6
xor eax, eax
pop edi
pop esi
ret

Function at 0x4479b5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f3bd0]
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 0x447a20
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x447a15
push str.360tray.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x447a2f
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4479f2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004755ea
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 0x447a22
Function at 0x447a4b
Capabilities:
Get session user name
Move file

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14
mov eax, 0x4b0e35
call fcn.00476610
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 0x447ab9
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.004755ea
add ebp, 0x210
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x447ac8
xor eax, eax
jmp 0x447a96
lea ecx, [ebp - 0x10]
call fcn.00439577
and dword [ebp - 4], 0
push 0x1a
lea ecx, [ebp - 0x10]
call fcn.00439a42
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], eax
mov ebx, str.SYSTEMCurrentControlSetControlSession_Manager
mov edi, reloc.OLEAUT32.dll_SysReAllocString
test eax, eax
je 0x447b0a
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439b01
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.00439587
mov dword [ebp - 0x14], eax
test eax, eax
je 0x447b47
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439b01
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 0x447b73
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00439580
mov eax, esi
jmp 0x447a96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x447b82
xor esi, esi
jmp 0x447b60
push 1
lea ecx, [ebp - 0x10]
call fcn.00439a42
mov dword [ebp - 0x14], eax
test eax, eax
je 0x447ba8
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439b01
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 0x447b60
Function at 0x447c6b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4f3bd0]
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 0x447d65
push 0x66
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00475570
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 0x447d5c
cmp dword [ebp - 0x70], edi
jbe 0x447d5c
push ebx
mov esi, str.ver_
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.004758b9
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x447d5b
push esi
call fcn.0047600e
lea esi, [ebx + eax*2]
pop ecx
mov ecx, esi
lea edx, [ebp - 0x6c]
mov eax, esi
sub ecx, edx
jmp 0x447d1d
cmp word [eax], 0x22
je 0x447d29
inc eax
inc eax
inc ecx
inc ecx
mov edx, ecx
and edx, 0xfffffffe
cmp edx, 0x64
jle 0x447d13
jmp 0x447d5b
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
push esi
mov word [eax], cx
lea edi, [ebx - 1]
call fcn.0047600e
pop ecx
cmp edi, eax
jae 0x447d43
mov eax, edi
jmp 0x447d4a
push esi
call fcn.0047600e
pop ecx
push eax
push esi
push ebx
push dword [ebp - 0x74]
call fcn.00476887
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.004755ea
leave
ret
Function at 0x4497de
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x908
mov eax, dword [0x4f3bd0]
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 0x4498ad
xor eax, eax
push 0xfe
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push edi
push eax
call fcn.00475570
xor eax, eax
push 0x7fe
mov word [ebp - 0x904], ax
lea eax, [ebp - 0x902]
push edi
push eax
call fcn.00475570
push esi
mov esi, 0x400
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.0047695a
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 0x4d6060
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.0047695a
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.0047695a
add esp, 0x18
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4498cc
inc edi
cmp edi, 0xa
jl 0x449856
push 0x4d3fa0
mov ecx, ebx
call fcn.00402530
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004755ea
leave
ret 8
lea eax, [ebp - 0x904]
push eax
jmp 0x4498b2
Function at 0x449bde
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4f3bd0]
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.00447556
mov esi, eax
test esi, esi
jne 0x449c23
xor eax, eax
jmp 0x449d2b
test ebx, ebx
je 0x449c1c
test edi, edi
je 0x449c1c
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x449c1c
push ebx
call edi
test eax, eax
jne 0x449c45
inc eax
jmp 0x449d2b
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.00475570
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.00475570
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.0044979a
pop ecx
pop ecx
test eax, eax
jg 0x449d0b
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.00447bbe
cmp esi, ebx
je 0x449ce4
cmp dword [ebp - 0x70], ebx
jne 0x449ce8
cmp eax, ebx
je 0x449cfc
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.00404d91
jmp 0x449d26
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_check_sign_failed__PE_file__and_Copy_back.
jmp 0x449d1a
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.00404d91
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.004755ea
add ebp, 0x398
leave
ret 8
Function at 0x44a449
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push ebp
sub esp, 0xa7c
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xa7c], eax
push 0x10
mov eax, 0x4b11fd
call fcn.00476610
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 0x44a660
cmp edi, ebx
je 0x44a660
cmp word [eax], bx
je 0x44a660
cmp word [edi], bx
je 0x44a660
push edi
call fcn.0047600e
mov esi, 0x104
cmp eax, esi
pop ecx
jge 0x44a660
push dword [ebp - 0x10]
call fcn.0047600e
cmp eax, esi
pop ecx
jge 0x44a660
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a4e0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x44a50f
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x44a50f
mov ecx, dword [ebp - 0x18]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.004497de
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.00402870
push 0x410
lea eax, [ebp + 0x464]
push ebx
push eax
call fcn.00475570
xor eax, eax
push 0x206
mov word [ebp + 0x874], ax
lea eax, [ebp + 0x876]
push ebx
push eax
call fcn.00475570
add esp, 0x18
push 0x4d4218
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.0043a29f
cmp eax, ebx
je 0x44a650
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp]
call fcn.0043a262
lea ecx, [ebp]
test eax, eax
je 0x44a5a6
call fcn.0043a196
mov dword [ebp - 0x14], eax
jmp 0x44a647
lea eax, [ebp - 0x18]
push eax
call fcn.0043c57a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0043c45e
push 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0043a17a
test eax, eax
je 0x44a5f7
lea ecx, [ebp]
call fcn.0043a196
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402870
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402870
jmp 0x44a647
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.004488af
add esp, 0x14
lea ecx, [ebp]
call fcn.0043a196
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402870
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00402870
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jne 0x44a58a
lea ecx, [ebp]
call fcn.0043a1bd
lea ecx, [ebp]
call fcn.0043a1bd
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.004755ea
add ebp, 0xa80
leave
ret 8
Function at 0x44d352
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00476c90
push 0xffffffffffffffff
push 0x4b1661
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4f3bd0]
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 0x44d4df
cmp dword [ebp + 0x1018], 0
je 0x44d3bb
xor eax, eax
jmp 0x44d4e2
mov ebx, 0x800
push ebx
lea eax, [ebp]
push 0
push eax
call fcn.00475570
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.00475570
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 [0x4f7ba0]
cmp ecx, ebx
je 0x44d42e
call fcn.0045f3cd
neg eax
sbb eax, eax
inc eax
je 0x44d448
cmp dword [esi + 8], ebx
je 0x44d42e
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.0044ccb4
jmp 0x44d3b4
cmp dword [esi + 0x220], ebx
je 0x44d507
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 0x44d507
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 0x44d4ac
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x22c]
je 0x44d507
push dword [ebp - 0x14]
push str._s_lengths_error
call fcn.00404d91
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.00404d91
add esp, 0xc
push 0xffffd8ef
mov ecx, esi
call fcn.0044cf4e
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.004755ea
add ebp, 0x1004
leave
ret 0x14
lea ecx, [ebp - 0x24]
call fcn.0043179f
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004027b6
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.004027b6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004027b6
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.0044c5bf
lea ecx, [ebp - 0x24]
call fcn.004317c5
jmp 0x44d3b4
Function at 0x44d8be
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0044d56c
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0046113b
mov ecx, edi
call fcn.0045f406
mov ecx, eax
call fcn.004308e3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d8f7
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x10]
mov ecx, esi
call fcn.0044d6cd
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x44d909
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x44d97e
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 0x44d960
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
js 0x44d960
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 0x44d97e
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 0x44dc1b
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [eax], 1
call fcn.0045f3cd
test eax, eax
jne 0x44dc78
push ebx
push edi
xor edi, edi
push edi
push edi
push 0xa9
call fcn.00402d9c
mov ecx, eax
call fcn.00402e2d
push edi
push edi
push esi
push 0x44dc09
push edi
push edi
call fcn.00476129
mov ebx, eax
add esp, 0x18
cmp ebx, edi
je 0x44dc6d
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 0x44dc8c
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 0x44f48e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x44f4b6
xor eax, eax
inc eax
jmp 0x44f51d
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d35fc
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 0x44f516
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.004020a8
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.004755ea
add ebp, 0x194
leave
ret
Function at 0x450aee
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 0x450b9f
cmp dword [ebp + 0xc], edi
je 0x450b9f
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x450b9f
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x450b9f
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 0x450b5f
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d3fa0
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x450b9a
cmp ebx, edi
jle 0x450b91
cmp esi, edi
je 0x450b8b
push dword [esi + 4]
call fcn.0047600e
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 0x450b8b
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x450b63
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x450ba1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x450ba6
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 0x450c46
cmp dword [ebp + 0xc], edi
je 0x450c46
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x450c46
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x450c46
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 0x450c0f
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d3fa0
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x450c41
cmp ebx, edi
jle 0x450c38
cmp esi, edi
je 0x450c32
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 0x450c32
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x450c13
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x450c48
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret