joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447032
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, 0x4b0c5e
call fcn.004764b0
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 0x4470a0
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.0047548a
add ebp, 0x210
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4470af
xor eax, eax
jmp 0x44707d
lea ecx, [ebp - 0x10]
call fcn.004397dd
and dword [ebp - 4], 0
push 0x1a
lea ecx, [ebp - 0x10]
call fcn.00439ca8
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], eax
mov ebx, 0x4bc8b8
mov edi, reloc.OLEAUT32.dll_SysReAllocString
test eax, eax
je 0x4470f1
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439d67
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.004397ed
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44712e
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439d67
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 0x44715a
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004397e6
mov eax, esi
jmp 0x44707d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x447169
xor esi, esi
jmp 0x447147
push 1
lea ecx, [ebp - 0x10]
call fcn.00439ca8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44718f
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439d67
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 0x447147
Function at 0x447252
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 SysReAllocStringLen
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 0x44734c
push 0x66
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00475410
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 0x447343
cmp dword [ebp - 0x70], edi
jbe 0x447343
push ebx
mov esi, str.ver_
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00475759
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x447342
push esi
call fcn.00475eae
lea esi, [ebx + eax*2]
pop ecx
mov ecx, esi
lea edx, [ebp - 0x6c]
mov eax, esi
sub ecx, edx
jmp 0x447304
cmp word [eax], 0x22
je 0x447310
inc eax
inc eax
inc ecx
inc ecx
mov edx, ecx
and edx, 0xfffffffe
cmp edx, 0x64
jle 0x4472fa
jmp 0x447342
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
push esi
mov word [eax], cx
lea edi, [ebx - 1]
call fcn.00475eae
pop ecx
cmp edi, eax
jae 0x44732a
mov eax, edi
jmp 0x447331
push esi
call fcn.00475eae
pop ecx
push eax
push esi
push ebx
push dword [ebp - 0x74]
call fcn.00476727
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.0047548a
leave
ret
Function at 0x448e34
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 0x448f03
xor eax, eax
push 0xfe
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push edi
push eax
call fcn.00475410
xor eax, eax
push 0x7fe
mov word [ebp - 0x904], ax
lea eax, [ebp - 0x902]
push edi
push eax
call fcn.00475410
push esi
mov esi, 0x400
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.004767fa
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 0x4d5318
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.004767fa
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.004767fa
add esp, 0x18
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x448f22
inc edi
cmp edi, 0xa
jl 0x448eac
push 0x4d3230
mov ecx, ebx
call fcn.0040260e
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047548a
leave
ret 8
lea eax, [ebp - 0x904]
push eax
jmp 0x448f08
Function at 0x449234
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.00446b3d
mov esi, eax
test esi, esi
jne 0x449279
xor eax, eax
jmp 0x449381
test ebx, ebx
je 0x449272
test edi, edi
je 0x449272
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x449272
push ebx
call edi
test eax, eax
jne 0x44929b
inc eax
jmp 0x449381
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.00475410
mov eax, dword [esi]
add esp, 0xc
mov edi, 0x100
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.00475410
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.00448df0
pop ecx
pop ecx
test eax, eax
jg 0x449361
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.004471a5
cmp esi, ebx
je 0x44933a
cmp dword [ebp - 0x70], ebx
jne 0x44933e
cmp eax, ebx
je 0x449352
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.00404d2e
jmp 0x44937c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_check_sign_failed__PE_file__and_Copy_back.
jmp 0x449370
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.00404d2e
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.0047548a
add ebp, 0x398
leave
ret 8
Function at 0x449a9f
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, 0x4b102c
call fcn.004764b0
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 0x449cb6
cmp edi, ebx
je 0x449cb6
cmp word [eax], bx
je 0x449cb6
cmp word [edi], bx
je 0x449cb6
push edi
call fcn.00475eae
mov esi, 0x104
cmp eax, esi
pop ecx
jge 0x449cb6
push dword [ebp - 0x10]
call fcn.00475eae
cmp eax, esi
pop ecx
jge 0x449cb6
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x449b36
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x449b65
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x449b65
mov ecx, dword [ebp - 0x18]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00448e34
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.00402963
push 0x410
lea eax, [ebp + 0x464]
push ebx
push eax
call fcn.00475410
xor eax, eax
push 0x206
mov word [ebp + 0x874], ax
lea eax, [ebp + 0x876]
push ebx
push eax
call fcn.00475410
add esp, 0x18
push 0x4d34a8
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.0043a414
cmp eax, ebx
je 0x449ca6
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp]
call fcn.0043a3d7
lea ecx, [ebp]
test eax, eax
je 0x449bfc
call fcn.0043a30b
mov dword [ebp - 0x14], eax
jmp 0x449c9d
lea eax, [ebp - 0x18]
push eax
call fcn.0043c71e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0043c602
push 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0043a2ef
test eax, eax
je 0x449c4d
lea ecx, [ebp]
call fcn.0043a30b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402963
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402963
jmp 0x449c9d
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.00447f44
add esp, 0x14
lea ecx, [ebp]
call fcn.0043a30b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402963
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00402963
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jne 0x449be0
lea ecx, [ebp]
call fcn.0043a332
lea ecx, [ebp]
call fcn.0043a332
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.0047548a
add ebp, 0xa80
leave
ret 8
Function at 0x44c9a8
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00476b30
push 0xffffffffffffffff
push 0x4b1435
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 0x44cb35
cmp dword [ebp + 0x1018], 0
je 0x44ca11
xor eax, eax
jmp 0x44cb38
mov ebx, 0x800
push ebx
lea eax, [ebp]
push 0
push eax
call fcn.00475410
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.00475410
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 [0x4f7b88]
cmp ecx, ebx
je 0x44ca84
call fcn.0045e717
neg eax
sbb eax, eax
inc eax
je 0x44ca9e
cmp dword [esi + 8], ebx
je 0x44ca84
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.0044c30a
jmp 0x44ca0a
cmp dword [esi + 0x220], ebx
je 0x44cb5d
push ebx
push ebx
push 4
push ebx
push 7
push SysReAllocStringLen
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x44cb5d
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 0x44cb02
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x22c]
je 0x44cb5d
push dword [ebp - 0x14]
push str._s_lengths_error
call fcn.00404d2e
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.00404d2e
add esp, 0xc
push 0xffffd8ef
mov ecx, esi
call fcn.0044c5a4
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.0047548a
add ebp, 0x1004
leave
ret 0x14
lea ecx, [ebp - 0x24]
call fcn.00454128
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00402894
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402894
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00402894
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
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.0044bc15
lea ecx, [ebp - 0x24]
call fcn.00447c1c
jmp 0x44ca0a
Function at 0x44cef4
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0044cbc2
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0046036a
mov ecx, edi
call fcn.0045e750
mov ecx, eax
call fcn.00430a3d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44cf2d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x10]
mov ecx, esi
call fcn.0044cd03
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x44cf3f
Capabilities:
Hide graphical window

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

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [eax], 1
call fcn.0045e717
test eax, eax
jne 0x44d2ae
push ebx
push edi
xor edi, edi
push edi
push edi
push 0xa9
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push edi
push edi
push esi
push 0x44d23f
push edi
push edi
call fcn.00475fc9
mov ebx, eax
add esp, 0x18
cmp ebx, edi
je 0x44d2a3
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 0x44d2c2
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 0x44eb11
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 0x44eb39
xor eax, eax
inc eax
jmp 0x44eba0
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d288c
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 0x44eb99
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.0047548a
add ebp, 0x194
leave
ret
Function at 0x4500f7
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 0x4501a8
cmp dword [ebp + 0xc], edi
je 0x4501a8
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x4501a8
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x4501a8
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 0x450168
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d3230
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x4501a3
cmp ebx, edi
jle 0x45019a
cmp esi, edi
je 0x450194
push dword [esi + 4]
call fcn.00475eae
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 0x450194
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x45016c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x4501aa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4501af
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 0x45024f
cmp dword [ebp + 0xc], edi
je 0x45024f
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x45024f
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x45024f
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 0x450218
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d3230
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x45024a
cmp ebx, edi
jle 0x450241
cmp esi, edi
je 0x45023b
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 0x45023b
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x45021c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x450251
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x450256
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00475410
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45028f
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x450299
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
push esi
push 4
pop ecx
cmp ecx, eax
mov ecx, dword [ebp + 8]
push 0x40
mov dword [ecx], eax
lea eax, [ebp - 0x64]
sbb esi, esi
push 0
push eax
inc esi
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4502e8
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
mov dword [eax + 4], ecx
cmp ecx, 1
jb 0x4502f0
ja 0x4502e8
test edx, edx
jbe 0x4502f0
test esi, esi
jne 0x4502f0
xor eax, eax
jmp 0x4502f3
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x450323
Capabilities:
Print debug messages

Disassembly:
push 0x2c
mov eax, 0x4b1759
call fcn.004764b0
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
jne 0x450347
push 0x57
pop eax
jmp 0x45042e
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
mov edi, eax
cmp edi, esi
je 0x450376
push str.GetSecurityInfo_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x450412
push 0x20
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00475410
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
push 0x14
push dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00479950
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov edi, eax
cmp edi, esi
je 0x4503c5
push str.SetEntriesInAcl_Error
jmp 0x45036b
push esi
push dword [ebp - 0x10]
push esi
push esi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov edi, eax
cmp edi, esi
je 0x450412
push 0x4f9e00
lea ecx, [ebp + 8]
call fcn.0040293e
push edi
lea eax, [ebp + 8]
push 0x4becb0
push eax
mov dword [ebp - 4], esi
call fcn.00403b17
mov ebx, dword [ebp + 8]
push ebx
call fcn.00404d2e
add esp, 0x10
lea ecx, [ebx - 0x10]
call fcn.00402963
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x450422
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 0x10], esi
je 0x45042c
push dword [ebp - 0x10]
call ebx
mov eax, edi
call fcn.00476588
ret 0x18