joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fb0
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0x454
mov eax, 0x44e0db
call fcn.0044d7cc
xor edi, edi
mov dword [ebp - 4], edi
lea esi, [ecx + 0x20]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._____Getting__
call fcn.00407936
mov edx, esi
mov ecx, eax
call fcn.00407ac7
mov edx, 0x46e820
mov ecx, eax
call fcn.00407936
mov ebx, 0x407adc
mov ecx, eax
push ebx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
push edi
push edi
push 1
push str.millennium.installer
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push edi
cmovae ecx, dword [ebp + 8]
push 0x80000000
push edi
push edi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [ebp - 0x460]
mov edi, eax
call fcn.0044ba31
push 1
push 0x46e7c0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00406380
push eax
lea ecx, [ebp - 0x448]
call fcn.0040588b
push esi
lea edx, [ebp - 0x448]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x42c]
call fcn.00406846
pop ecx
lea ecx, [ebp - 0x448]
call fcn.0040581d
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 5
call fcn.0040581d
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._____Touching__
call fcn.00407936
lea edx, [ebp - 0x42c]
mov ecx, eax
call fcn.00407ac7
mov edx, 0x46e820
mov ecx, eax
call fcn.00407936
push ebx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
pop ecx
cmovae eax, dword [ebp - 0x42c]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
jmp 0x40412b
cmp dword [ebp - 0x414], 0
jbe 0x404145
push 0
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call ebx
test eax, eax
jne 0x404105
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x42c]
call fcn.0040581d
lea ecx, [ebp + 8]
call fcn.0040581d
mov al, 1
call fcn.0044d77b
ret 0x18
Function at 0x404c39
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x404c5c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x404d1b
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x404c82
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x404c87
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x404ce7
jg 0x404c9c
test esi, esi
je 0x404ce7
test ecx, ecx
jl 0x404ce2
jg 0x404ca6
test eax, eax
je 0x404ce2
cmp edi, ecx
jg 0x404cb8
jl 0x404cb0
cmp esi, eax
jae 0x404cb8
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x404cea
mov ecx, dword [ebp + 8]
jmp 0x404cf4
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x404d0f
jg 0x404cf4
test esi, esi
je 0x404d0f
cmp dword [ebx + 0x4c], 0
je 0x404d0f
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x404d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
test esi, esi
jg 0x404d4a
jl 0x404d41
test ebx, ebx
jne 0x404d4a
xor eax, eax
xor edx, edx
jmp 0x404e06
cmp dword [ecx + 0x38], 0
je 0x404d5e
push esi
push ebx
push edx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x404e06
mov eax, dword [ecx + 0x1c]
push edi
mov edi, ebx
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x404d9e
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jbe 0x404d9e
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push dword [ebp - 0xc]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 8]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0x10]
cmp dword [ecx + 0x4c], 0
je 0x404dfc
call fcn.00405bc9
mov edx, dword [ebp - 4]
mov eax, edi
cmp edi, 0xfff
jbe 0x404de6
push dword [ecx + 0x4c]
push 0xfff
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, dword [ebp - 4]
mov ecx, 0xfff
add edx, eax
add esp, 0x10
sub edi, eax
mov dword [ebp - 4], edx
cmp eax, ecx
jne 0x404dfc
cmp edi, ecx
mov ecx, dword [ebp - 8]
ja 0x404db6
mov eax, edi
test eax, eax
je 0x404dfc
push dword [ecx + 0x4c]
push edi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x405081
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x4050a7
xor eax, eax
jmp 0x40516c
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4050d0
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x4050d0
dec dword [edx]
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
mov eax, ebx
jmp 0x40516c
cmp dword [esi + 0x4c], 0
je 0x40516a
mov ecx, esi
call fcn.00405bc9
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4050fe
movsx eax, bl
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
pop ecx
cmove ebx, edi
jmp 0x4050c9
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x405139
sub eax, 1
je 0x405139
dec eax
sub eax, 1
jne 0x40516a
movsx eax, byte [ebp - 0x25]
jmp 0x4050eb
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x40515d
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x40516a
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
cmovne edi, ebx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c7cf
leave
ret 4

Function at 0x405bec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x405c44
cmp byte [esi + 0x3d], bl
je 0x405c44
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x405c7e
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x405c55
sub eax, 1
je 0x405c58
dec eax
sub eax, 1
jne 0x405c7e
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c7cf
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405c76
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x405c7e
cmp byte [esi + 0x3d], bl
sete al
jmp 0x405c46
xor al, al
jmp 0x405c46
Function at 0x410b80
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44eabe
mov eax, dword fs:[0]
push eax
mov eax, 0x1fcc
call fcn.0044dc50
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1fb8], esi
xor ecx, ecx
mov dword [ebp - 0x1fd8], esi
mov dword [ebp - 0x1fbc], ecx
xor edx, edx
mov edi, esi
xor eax, eax
inc edx
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
mov byte [esi], cl
push ecx
push ecx
push ecx
push ecx
push str.millennium.patcher
mov dword [ebp - 0x1fbc], edx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp dword [ebp + 0x1c], 0x10
mov ebx, eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1fb8], ebx
cmovae eax, dword [ebp + 8]
xor ecx, ecx
push ecx
push 0x80000000
push ecx
push ecx
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x410c9e
test ebx, ebx
je 0x410c9e
and dword [ebp - 0x1fb4], 0
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x410c52
cmp dword [ebp - 0x1fb4], 0
je 0x410c6c
push dword [ebp - 0x1fb4]
lea eax, [ebp - 0x1fb0]
mov ecx, esi
push eax
call fcn.00406380
lea eax, [ebp - 0x1fb4]
push eax
push 0x1fa0
lea eax, [ebp - 0x1fb0]
push eax
push edi
call ebx
test eax, eax
jne 0x410c35
push dword [ebp - 0x1fb8]
push edi
call fcn.00410b5d
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.0040581d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c7cf
leave
ret
push str.error_making_request_to_remote_uri
lea ecx, [ebp - 0x1fd4]
call fcn.004058c4
lea eax, [ebp - 0x1fd4]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push str.__fail_
call fcn.004058c4
call fcn.00410ea7
lea ecx, [ebp - 0x1fd4]
mov byte [ebp - 4], 1
call fcn.0040581d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1fcc]
cmp eax, 0x2efd
jne 0x410cf3
push 0
jmp 0x410cf5
push 2
call fcn.00410b12
push 0x484034
lea eax, [ebp - 0x1fcc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x412479
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push 0x14
mov esi, ecx
mov ecx, 0x487210
push str.Millennium_Installer
call fcn.0040c5c2
xor eax, eax
mov dword [0x487228], 0x145
push eax
push eax
push eax
push 0x412505
push eax
push eax
mov dword [0x48722c], 0x7d
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi]
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [eax + 4], 0x412013
mov dword [eax + 0x24], eax
call fcn.0044af5e
add esp, 0x28
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b095
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x46f6f0]
inc edi
sub esi, 1
jne 0x41b0a3
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x41b0c3
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x41b127
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x41b0ef
cmp edi, 2
jb 0x41b0ef
cmp byte [esi], al
jne 0x41b0ef
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x46f6f0]
test edi, edi
jne 0x41b0d8
jmp 0x41b12e
cmp al, 0x23
jne 0x41b115
cmp byte [esi], al
jne 0x41b115
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x46f6f0]
mov al, byte [esi]
inc esi
test al, al
jne 0x41b107
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x41b2a4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x41b2c8
push 0x649
push str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x41b2d2
and dword [edi], 0
mov edx, 0x47bd40
mov ecx, esi
call fcn.0041b137
mov esi, eax
test esi, esi
je 0x41b33a
mov ecx, esi
call fcn.0041b248
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41b333
mov ecx, ebx
call fcn.0041cf2f
mov dword [ebp + 8], eax
test eax, eax
je 0x41b333
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, ebx
je 0x41b323
call fcn.0041b239
mov ecx, dword [ebp + 8]
call fcn.0041cf47
jmp 0x41b33a
call fcn.0041b239
test edi, edi
je 0x41b32e
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x41b33c
mov ecx, esi
call fcn.0041b239
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42ac0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x3038], 0
lea edi, [esi + 0x303c]
mov ecx, edi
je 0x42ac6a
push 0
call fcn.0043469f
push dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.0041b78d
mov edx, dword [edi]
mov ecx, 0x4aec64
push dword [esi + 0x3038]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x3044]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
jmp 0x42ac73
push dword [ebp + 8]
push ebx
call fcn.0041b78d
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42b33a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4aec68]
push esi
mov esi, ecx
push edi
and dword [eax + 0x2fec], 0
test esi, esi
je 0x42b389
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.0042b38d
mov edx, 0x47bd44
mov ecx, esi
mov edi, eax
call fcn.0041b137
mov esi, eax
test esi, esi
je 0x42b389
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, esi
call fcn.0041b239
pop edi
pop esi
leave
ret
Function at 0x43a9c6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a9e0
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.0041cf47
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.00419939
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x43a9fd
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.0041cf47
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x43aa1e
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.0041cf47
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x43aa33
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.0041cf47
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x43aa48
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.0041cf47
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0043ceac
Function at 0x44351c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.0041cfd1
mov edi, eax
xor ebx, ebx
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x34], ebx
jle 0x44354d
cmp dword [eax + 0x14], ebx
jne 0x443565
cmp dword [eax + 0x18], ebx
jne 0x443565
push 0x15e
push str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui_impl_win32.cpp
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x4aedd4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm1, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
cmp byte [0x487042], bl
je 0x4435ad
call fcn.004434e2
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x4aedd8]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x4aeddc]
call fcn.0044dd40
mov edx, dword [0x4aede4]
mov ecx, dword [0x4aede0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.0044dd40
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x4aedd8], eax
mov dword [0x4aeddc], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], bl
mov byte [edi + 0xfa], al
call fcn.00442fc8
cmp byte [edi + 0xaf], bl
je 0x44365e
or eax, 0xffffffff
jmp 0x443669
mov eax, dword [0x4aec68]
mov eax, dword [eax + 0x1f60]
cmp dword [0x487200], eax
je 0x44367b
mov dword [0x487200], eax
call fcn.00442f1c
call fcn.0044312b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c7cf
leave
ret
Function at 0x44ba31
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x118
mov eax, 0x4500f0
call fcn.0044d7cc
mov esi, ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x124], esi
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push str.SoftwareValveSteam
push 0x80000001
mov dword [ebp - 0x120], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44baf6
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x104
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push 2
push str.SteamPath
push ebx
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x44baea
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bad2
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.0040c5c2
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0044d77b
ret

Function at 0x44bafe
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 8
push 0x90
mov eax, 0x450132
call fcn.0044d893
push 0x44
pop esi
push esi
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x78], esi
lea edi, [ebp - 0x88]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0044ba31
push 0xc
xor esi, esi
lea ecx, [ebp - 0x2c]
push str._steam.exe
mov edx, eax
mov dword [ebp - 4], esi
call fcn.00407dd0
pop ecx
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.0040581d
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x2c]
call fcn.00407ac7
mov ecx, eax
call fcn.0044bdf9
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44bbb5
push dword [ebp - 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x84]
call esi
lea ecx, [ebp - 0x2c]
call fcn.0040581d
mov ecx, dword [ebp - 0x14]
call fcn.0044d871
ret