joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4476f3
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, 0x4b0e27
call fcn.004764c0
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 0x447761
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.0047549a
add ebp, 0x210
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x447770
xor eax, eax
jmp 0x44773e
lea ecx, [ebp - 0x10]
call fcn.00439852
and dword [ebp - 4], 0
push 0x1a
lea ecx, [ebp - 0x10]
call fcn.00439d1d
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], eax
mov ebx, 0x4bc8e0
mov edi, reloc.OLEAUT32.dll_SysReAllocString
test eax, eax
je 0x4477b2
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439ddc
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.00439862
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4477ef
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439ddc
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 0x44781b
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0043985b
mov eax, esi
jmp 0x44773e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44782a
xor esi, esi
jmp 0x447808
push 1
lea ecx, [ebp - 0x10]
call fcn.00439d1d
mov dword [ebp - 0x14], eax
test eax, eax
je 0x447850
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00439ddc
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 0x447808
Function at 0x447913
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 0x447a0d
push 0x66
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00475420
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 0x447a04
cmp dword [ebp - 0x70], edi
jbe 0x447a04
push ebx
mov esi, str.ver_
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00475769
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x447a03
push esi
call fcn.00475ebe
lea esi, [ebx + eax*2]
pop ecx
mov ecx, esi
lea edx, [ebp - 0x6c]
mov eax, esi
sub ecx, edx
jmp 0x4479c5
cmp word [eax], 0x22
je 0x4479d1
inc eax
inc eax
inc ecx
inc ecx
mov edx, ecx
and edx, 0xfffffffe
cmp edx, 0x64
jle 0x4479bb
jmp 0x447a03
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
push esi
mov word [eax], cx
lea edi, [ebx - 1]
call fcn.00475ebe
pop ecx
cmp edi, eax
jae 0x4479eb
mov eax, edi
jmp 0x4479f2
push esi
call fcn.00475ebe
pop ecx
push eax
push esi
push ebx
push dword [ebp - 0x74]
call fcn.00476737
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.0047549a
leave
ret
Function at 0x4493f8
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 0x4494c7
xor eax, eax
push 0xfe
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push edi
push eax
call fcn.00475420
xor eax, eax
push 0x7fe
mov word [ebp - 0x904], ax
lea eax, [ebp - 0x902]
push edi
push eax
call fcn.00475420
push esi
mov esi, 0x400
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.0047680a
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 0x4d5320
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.0047680a
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.0047680a
add esp, 0x18
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4494e6
inc edi
cmp edi, 0xa
jl 0x449470
push 0x4d3260
mov ecx, ebx
call fcn.004024e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047549a
leave
ret 8
lea eax, [ebp - 0x904]
push eax
jmp 0x4494cc
Function at 0x4497f8
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.004471fe
mov esi, eax
test esi, esi
jne 0x44983d
xor eax, eax
jmp 0x449945
test ebx, ebx
je 0x449836
test edi, edi
je 0x449836
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x449836
push ebx
call edi
test eax, eax
jne 0x44985f
inc eax
jmp 0x449945
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.00475420
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.00475420
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.004493b4
pop ecx
pop ecx
test eax, eax
jg 0x449925
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.00447866
cmp esi, ebx
je 0x4498fe
cmp dword [ebp - 0x70], ebx
jne 0x449902
cmp eax, ebx
je 0x449916
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.00404da7
jmp 0x449940
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_check_sign_failed__PE_file__and_Copy_back.
jmp 0x449934
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.00404da7
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.0047549a
add ebp, 0x398
leave
ret 8
Function at 0x44a063
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, 0x4b11ef
call fcn.004764c0
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 0x44a27a
cmp edi, ebx
je 0x44a27a
cmp word [eax], bx
je 0x44a27a
cmp word [edi], bx
je 0x44a27a
push edi
call fcn.00475ebe
mov esi, 0x104
cmp eax, esi
pop ecx
jge 0x44a27a
push dword [ebp - 0x10]
call fcn.00475ebe
cmp eax, esi
pop ecx
jge 0x44a27a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a0fa
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x44a129
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x44a129
mov ecx, dword [ebp - 0x18]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.004493f8
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.00402820
push 0x410
lea eax, [ebp + 0x464]
push ebx
push eax
call fcn.00475420
xor eax, eax
push 0x206
mov word [ebp + 0x874], ax
lea eax, [ebp + 0x876]
push ebx
push eax
call fcn.00475420
add esp, 0x18
push 0x4d34d8
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.0043a57a
cmp eax, ebx
je 0x44a26a
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp]
call fcn.0043a53d
lea ecx, [ebp]
test eax, eax
je 0x44a1c0
call fcn.0043a471
mov dword [ebp - 0x14], eax
jmp 0x44a261
lea eax, [ebp - 0x18]
push eax
call fcn.0043c78a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0043c66e
push 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0043a455
test eax, eax
je 0x44a211
lea ecx, [ebp]
call fcn.0043a471
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402820
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402820
jmp 0x44a261
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.00448508
add esp, 0x14
lea ecx, [ebp]
call fcn.0043a471
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.00402820
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00402820
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jne 0x44a1a4
lea ecx, [ebp]
call fcn.0043a498
lea ecx, [ebp]
call fcn.0043a498
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.0047549a
add ebp, 0xa80
leave
ret 8
Function at 0x44cf6c
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00476b40
push 0xffffffffffffffff
push 0x4b1630
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 0x44d0f9
cmp dword [ebp + 0x1018], 0
je 0x44cfd5
xor eax, eax
jmp 0x44d0fc
mov ebx, 0x800
push ebx
lea eax, [ebp]
push 0
push eax
call fcn.00475420
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.00475420
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 0x44d048
call fcn.0045f262
neg eax
sbb eax, eax
inc eax
je 0x44d062
cmp dword [esi + 8], ebx
je 0x44d048
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.0044c8ce
jmp 0x44cfce
cmp dword [esi + 0x220], ebx
je 0x44d121
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 0x44d121
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 0x44d0c6
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x22c]
je 0x44d121
push dword [ebp - 0x14]
push str._s_lengths_error
call fcn.00404da7
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.00404da7
add esp, 0xc
push 0xffffd8ef
mov ecx, esi
call fcn.0044cb68
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.0047549a
add ebp, 0x1004
leave
ret 0x14
lea ecx, [ebp - 0x24]
call fcn.00448233
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00402766
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402766
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00402766
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.0044c1d9
lea ecx, [ebp - 0x24]
call fcn.00448259
jmp 0x44cfce
Function at 0x44d4e0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0044d186
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.00460e99
mov ecx, edi
call fcn.0045f29b
mov ecx, eax
call fcn.004309e3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d519
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x10]
mov ecx, esi
call fcn.0044d2ef
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x44d52b
Capabilities:
Hide graphical window

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

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [eax], 1
call fcn.0045f262
test eax, eax
jne 0x44d895
push ebx
push edi
xor edi, edi
push edi
push edi
push 0xa9
call fcn.00402d6a
mov ecx, eax
call fcn.00402dfb
push edi
push edi
push esi
push 0x44d826
push edi
push edi
call fcn.00475fd9
mov ebx, eax
add esp, 0x18
cmp ebx, edi
je 0x44d88a
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 0x44d8a9
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 0x44f106
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 0x44f12e
xor eax, eax
inc eax
jmp 0x44f195
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d28bc
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 0x44f18e
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.00402058
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.0047549a
add ebp, 0x194
leave
ret
Function at 0x4506e7
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 0x450798
cmp dword [ebp + 0xc], edi
je 0x450798
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x450798
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x450798
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 0x450758
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d3260
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x450793
cmp ebx, edi
jle 0x45078a
cmp esi, edi
je 0x450784
push dword [esi + 4]
call fcn.00475ebe
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 0x450784
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x45075c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x45079a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45079f
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 0x45083f
cmp dword [ebp + 0xc], edi
je 0x45083f
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x45083f
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x45083f
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 0x450808
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4d3260
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x45083a
cmp ebx, edi
jle 0x450831
cmp esi, edi
je 0x45082b
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 0x45082b
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x45080c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x450841
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x450846
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.00475420
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 0x45087f
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x450889
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.00475420
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 0x4508d8
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 0x4508e0
ja 0x4508d8
test edx, edx
jbe 0x4508e0
test esi, esi
jne 0x4508e0
xor eax, eax
jmp 0x4508e3
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x450913
Capabilities:
Print debug messages

Disassembly:
push 0x2c
mov eax, 0x4b1954
call fcn.004764c0
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
jne 0x450937
push 0x57
pop eax
jmp 0x450a1e
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 0x450966
push str.GetSecurityInfo_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x450a02
push 0x20
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00475420
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.00479960
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 0x4509b5
push str.SetEntriesInAcl_Error
jmp 0x45095b
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 0x450a02
push 0x4f9e00
lea ecx, [ebp + 8]
call fcn.004027fb
push edi
lea eax, [ebp + 8]
push 0x4becd8
push eax
mov dword [ebp - 4], esi
call fcn.00403b2e
mov ebx, dword [ebp + 8]
push ebx
call fcn.00404da7
add esp, 0x10
lea ecx, [ebx - 0x10]
call fcn.00402820
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x450a12
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 0x10], esi
je 0x450a1c
push dword [ebp - 0x10]
call ebx
mov eax, edi
call fcn.00476598
ret 0x18