joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437ea0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [ebp + 8]
xor esi, esi
push 0x208
call fcn.004dfb05
add esp, 4
mov edi, eax
mov eax, edi
add eax, esi
je 0x437f83
mov word [eax], 0
add esi, 2
cmp esi, 0x208
jne 0x437ebd
mov dword [ebp - 0x14], ebx
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
dec eax
cmp eax, 0x102
ja 0x437f49
cmp ebx, 4
jbe 0x437f26
mov ecx, ebx
or ecx, 3
lea eax, [ecx*2 + 2]
inc ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.004dfb05
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
or edx, 0x80000000
mov dword [ecx + 8], edx
mov dword [ecx + 4], ebx
mov ecx, eax
jmp 0x437f2c
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xb], bl
mov dword [ebp - 0x10], ecx
mov eax, ebx
add eax, ebx
push eax
push edi
push ecx
call fcn.004e3510
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov word [eax + ebx*2], 0
jmp 0x437f5a
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movsd qword [eax], xmm0
mov dword [eax + 8], 0
test edi, edi
mov ebx, dword [ebp - 0x14]
je 0x437f79
test esi, esi
je 0x437f70
add esi, 0xfffffffe
mov eax, edi
add eax, esi
jne 0x437f61
jmp 0x437f92
push edi
call fcn.004dfb35
add esp, 4
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x521354
call fcn.0044d640
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x437f88
Function at 0x438230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4382cd
mov ebx, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi], eax
test eax, eax
je 0x4382cd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x548b80]
bt edx, ecx
jae 0x43829a
push eax
call fcn.004a02a0
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, edx
shr eax, 0xe
mov ecx, edx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x548b80]
bt ecx, eax
jae 0x4382d9
push edx
call fcn.004a0180
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [esi + 4], edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 8], eax
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x550b80], 1
jmp 0x4382bf
Function at 0x438db0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [0x540010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xb], 0
jns 0x438dcf
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x5229a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor ebx, ebx
cmp eax, 0xffffffff
je 0x438e3e
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
movzx eax, byte [edi + 0xb]
mov ecx, edi
test al, al
jns 0x438e15
mov eax, dword [edi + 4]
mov ecx, dword [edi]
lea edx, [ebp - 0x14]
push ebx
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x438e3a
mov eax, dword [ebp - 0x14]
movzx ecx, byte [edi + 0xb]
test cl, cl
jns 0x438e35
mov ecx, dword [edi + 4]
cmp eax, ecx
sete bl
test esi, esi
je 0x438e45
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x438e60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x540010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xb], 0
jns 0x438e7f
mov eax, dword [eax]
mov edi, dword [ebp + 8]
sub esp, 0x1c
movaps xmm0, xmmword [0x524290]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x438f95
xor esi, esi
push esi
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
test eax, eax
je 0x438fcd
js 0x438fd4
invalid
Function at 0x438ff0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movzx ebx, byte [edx + 0xb]
mov ecx, ebx
test bl, bl
jns 0x43900c
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x439086
xor esi, esi
push 0x208
mov edi, edx
call fcn.004dfb05
mov ecx, edi
add esp, 4
mov edi, eax
mov eax, edi
add eax, esi
je 0x439150
add esi, 2
mov word [eax], 0
cmp esi, 0x208
jne 0x439025
test bl, bl
jns 0x439045
mov ecx, dword [ecx]
push edi
push 0
push 0x524374
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x439070
lea eax, [edi + esi]
mov dword [ebp - 0x14], eax
xor eax, eax
cmp word [edi + eax], 0
je 0x439099
add eax, 2
cmp esi, eax
jne 0x439060
jmp 0x43909e
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movsd qword [eax], xmm0
mov dword [eax + 8], 0
jmp 0x439129
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
jmp 0x439148
add eax, edi
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
sub edx, edi
mov ebx, edx
sar ebx, 1
cmp ebx, 0x7ffffff8
jae 0x439166
cmp ebx, 4
jbe 0x4390f8
mov eax, ebx
or eax, 3
lea ecx, [eax*2 + 2]
inc eax
mov dword [ebp - 0x1c], eax
push ecx
mov dword [ebp - 0x10], edx
call fcn.004dfb05
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
or eax, 0x80000000
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ebx, dword [ebp - 0x18]
jmp 0x439100
mov eax, dword [ebp + 8]
mov byte [eax + 0xb], bl
mov ebx, eax
cmp edi, dword [ebp - 0x14]
je 0x439124
add edx, 0xfffffffe
and edx, 0xfffffffe
mov dword [ebp - 0x10], edx
lea eax, [edx + 2]
push eax
push edi
push ebx
call fcn.004e3510
add esp, 0xc
mov eax, dword [ebp - 0x10]
add ebx, eax
add ebx, 2
mov word [ebx], 0
test edi, edi
je 0x439145
test esi, esi
je 0x43913c
add esi, 0xfffffffe
mov eax, edi
add eax, esi
jne 0x43912d
jmp 0x43915f
push edi
call fcn.004dfb35
add esp, 4
mov eax, dword [ebp + 8]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x521354
call fcn.0044d640
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x439155
mov ecx, dword [ebp + 8]
call fcn.004147a0
int3

Function at 0x439240
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [ecx + 0xb], 0
js 0x43926a
mov eax, esi
je 0x439267
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esi + 0xb], 0
jns 0x439267
push dword [esi]
call fcn.004dfb35
add esp, 4
pop esi
pop ebp
ret
cmp dword [esi + 4], 0
je 0x43925d
mov eax, dword [esi]
jmp 0x439250
Function at 0x43a730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
mov byte [edi + 0xb], 4
cmp edi, str.stat
ja 0x43a760
lea eax, [ebp - 0x18]
cmp eax, str.stat
ja 0x43a85c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0x74617473
mov byte [ebp - 0x18], 0
mov ecx, esi
push dword [ebp + 0xc]
push edi
call fcn.0041da10
mov bh, al
cmp byte [ebp - 0x11], 0
jns 0x43a78c
push dword [ebp - 0x1c]
call fcn.004dfb35
add esp, 4
mov bl, 1
test bh, bh
jne 0x43a80e
xorps xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x28]
mov byte [eax + 0xb], 9
cmp eax, str.statpromo
ja 0x43a7be
lea ecx, [ebp - 0x1f]
cmp ecx, str.statpromo
ja 0x43a85c
mov dword [ebp - 0x24], 0x6d6f7270
mov dword [ebp - 0x28], 0x74617473
mov word [ebp - 0x20], 0x6f
mov ecx, esi
push edi
push eax
call fcn.0041d940
mov ebx, eax
cmp byte [ebp - 0x1d], 0
jns 0x43a7ee
push dword [ebp - 0x28]
call fcn.004dfb35
add esp, 4
mov ecx, dword [ebp + 0xc]
test bl, bl
jne 0x43a822
test ecx, ecx
je 0x43a7fd
xor eax, eax
mov byte [ecx], al
cmp byte [ebp - 0x11], 0
jns 0x43a80e
push dword [ebp - 0x1c]
call fcn.004dfb35
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
test ecx, ecx
je 0x43a7fd
movzx eax, byte [ebp - 0x11]
test al, al
cmovs eax, dword [ebp - 0x18]
cmovs edi, dword [ebp - 0x1c]
test eax, eax
js 0x43a855
je 0x43a83e
test edi, edi
je 0x43a84e
cmp eax, 4
jne 0x43a7f9
cmp dword [edi], 0x65757274
sete al
jmp 0x43a7fb
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x43a861
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x43a861
push str....._third_partylibc_srcinclude__stringchar_traits.h:245:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
push 0x521354
call fcn.0044d640
int3
Function at 0x43a9c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ecx, dword [ebp + 8]
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x43a9e3
call fcn.00419ac0
test al, al
jne 0x43a9f9
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x43aa61
lea eax, [ebp - 0x28]
mov byte [eax + 0xb], 9
cmp eax, str.darktheme
ja 0x43aa2c
lea edx, [ebp - 0x1f]
cmp edx, str.darktheme
ja 0x43ab0f
mov dword [ebp - 0x24], 0x6d656874
mov dword [ebp - 0x28], 0x6b726164
mov word [ebp - 0x20], 0x65
lea esi, [ebp - 0x1c]
push esi
push eax
call fcn.0041d940
mov ebx, eax
cmp byte [ebp - 0x1d], 0
jns 0x43aa5d
push dword [ebp - 0x28]
call fcn.004dfb35
add esp, 4
test bl, bl
jne 0x43aad6
xor edi, edi
dec edi
lea esi, [ebp - 0x28]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
call fcn.0047b630
mov dword [ebp - 0x2c], edi
mov ecx, esi
push 0x201
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push 0x80000001
call fcn.0047b710
test eax, eax
je 0x43aab8
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.0047b780
mov al, byte [ebp - 0x11]
test al, al
jns 0x43a9e5
push dword [ebp - 0x1c]
call fcn.004dfb35
add esp, 4
jmp 0x43a9e5
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push eax
push str.AppsUseLightTheme
call fcn.0047b880
test eax, eax
jne 0x43aa93
cmp dword [ebp - 0x2c], 0
sete bl
jmp 0x43aa95
movzx eax, byte [ebp - 0x11]
test al, al
mov ecx, eax
cmovs ecx, dword [ebp - 0x18]
cmovs esi, dword [ebp - 0x1c]
test ecx, ecx
js 0x43ab01
je 0x43aaf0
test esi, esi
je 0x43ab08
cmp ecx, 1
je 0x43aaf9
xor ebx, ebx
jmp 0x43aaa0
cmp byte [esi], 0x31
sete bl
jmp 0x43aaa0
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x43ab14
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x43ab14
push str....._third_partylibc_srcinclude__stringchar_traits.h:245:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
push 0x521354
call fcn.0044d640
int3
Function at 0x43afa0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [ebp + 8]
mov ecx, dword [0x540010]
xor ecx, ebp
mov dword [esp + 0x6c], ecx
test eax, eax
je 0x43afdc
push eax
push 0x43b040
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x6c]
xor ecx, ebp
call fcn.004e0685
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 4]
push eax
push edi
call fcn.0050e3e0
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push edi
push 0x47b
push str.BringProcessWindowToTop
push 1
call fcn.00455540
lea ecx, [esp + 0x4c]
push 0x524580
push str.Failed_to_bring_process_window_to_top:_wrong_process_id
call fcn.004147c0
mov ecx, esi
call fcn.00455590
cmp byte [edi + 0xb], 0
jns 0x43afca
push dword [esp + 4]
call fcn.004dfb35
add esp, 4
jmp 0x43afca
Function at 0x4412e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ecx + 0xe0]
test eax, eax
je 0x441309
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x441309
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret
Function at 0x4482c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x540010]
xor ecx, ebp
mov esi, 0x7fffffff
cmp eax, 0x7fffffff
cmovb esi, eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xffffffff
push 0
push eax
push esi
push ebx
push edi
call ecx
test eax, eax
je 0x44834c
mov esi, ebx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x44832e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x448347
mov ebx, esi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4482f6
cmp ebx, 0xffffffff
je 0x44835e
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
jmp 0x448333
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x448333
int3

Function at 0x448600
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [ecx + 8]
inc eax
cmp eax, 2
jae 0x44867f
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
push dword [ebp + 8]
call fcn.00448370
add esp, 4
mov edi, eax
cmp dword [esi + 8], eax
je 0x448665
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 8]
inc eax
cmp eax, 2
jb 0x44864b
call fcn.00492150
push dword [esi + 8]
call fcn.0047b600
add esp, 4
mov dword [esi + 8], 0
mov eax, edi
inc eax
cmp eax, 2
jb 0x44865b
mov dword [esi + 8], edi
call fcn.00492150
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 8]
lea eax, [edi + 1]
cmp eax, 2
jb 0x448670
mov dword [esi + 0x14], edi
test eax, 0xfffffffe
setne al
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
Function at 0x44cc00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov ebx, dword [ebp + 8]
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x44cc23
mov eax, dword [ebx]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x44ccd2
mov edi, eax
push eax
call fcn.004dfb63
add esp, 4
mov esi, eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x44cc4a
mov eax, dword [ebx]
push esi
push edi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44cd1f
xor eax, eax
dec eax
lea ecx, [ebp - 0xc4]
mov dword [ecx], eax
lea edx, [ebp - 0xc8]
mov dword [edx], eax
push edx
push ecx
push 0x5253a0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne bl
je 0x44ccd6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc4]
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm1
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
movups xmm1, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm1
movups xmmword [eax], xmm0
mov ecx, dword [eax + 0x18]
and dword [eax + 0x1c], ecx
test esi, esi
je 0x44ccbb
push esi
call fcn.004dfb6c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x44ccbb
push 1
call fcn.004dd070
add esp, 4
test al, al
je 0x44ccae
call fcn.004908d0
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 1
push 0x2e
push str.module_version.cc
call fcn.00490a90
lea eax, [ebp - 0xb0]
push 0xd
push str.VerQueryValue
push eax
call fcn.00416cf0
add esp, 0xc
mov ecx, edi
call fcn.00490b40
jmp 0x44ccae
push 1
call fcn.004dd070
add esp, 4
test al, al
je 0x44cdd5
call fcn.004908d0
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x23
push str.module_version.cc
call fcn.00490a90
lea eax, [ebp - 0xb0]
push 0x14
push str.GetFileVersionInfo:
push eax
call fcn.00416cf0
add esp, 0xc
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x44cd6e
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
test ecx, ecx
js 0x44cde3
mov dword [ebp - 0xcc], eax
je 0x44cd7e
test ebx, ebx
je 0x44cddc
lea edi, [ebp - 0xc4]
push ecx
push ebx
push edi
call fcn.004db310
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x44cda3
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
push eax
push edi
push dword [ebp - 0xcc]
call fcn.00416cf0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x44cdca
push dword [ebp - 0xc4]
call fcn.004dfb35
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00490b40
xor ebx, ebx
jmp 0x44ccae
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x44cde8
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x521354
call fcn.0044d640
int3
Function at 0x47ad80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x545990]
mov ecx, dword [0x543ad4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x47adcd
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, 0x54598c
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x545990
call fcn.004dfba7
add esp, 4
cmp dword [0x545990], 0xffffffff
jne 0x47adb3
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.004e3a90
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.004dfb05
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x5459c0]
mov ecx, dword [0x543ad4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x47ae76
mov ecx, esi
push ebx
push 0x54599c
push edi
call fcn.0047af80
mov dword [0x54598c], esi
push 0x545990
call fcn.004dfc1d
add esp, 4
jmp 0x47adb3
push 0x5459c0
call fcn.004dfba7
add esp, 4
cmp dword [0x5459c0], 0xffffffff
jne 0x47ae50
xorps xmm0, xmm0
movups xmmword [0x5459ac], xmm0
movups xmmword [0x54599c], xmm0
mov dword [0x5459bc], 0
push 0x54599c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x5459c0
call fcn.004dfc1d
add esp, 4
jmp 0x47ae50

Function at 0x47aee0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5459c0]
mov ecx, dword [0x543ad4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x47af11
movzx eax, word [0x54599c]
cmp eax, 9
jne 0x47af5c
xor eax, eax
inc eax
pop ebp
ret
push 0x5459c0
call fcn.004dfba7
add esp, 4
cmp dword [0x5459c0], 0xffffffff
jne 0x47af00
xorps xmm0, xmm0
movups xmmword [0x5459ac], xmm0
movups xmmword [0x54599c], xmm0
mov dword [0x5459bc], 0
push 0x54599c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x5459c0
call fcn.004dfc1d
add esp, 4
jmp 0x47af00
test eax, eax
je 0x47af0f
cmp eax, 6
jne 0x47af6c
mov eax, 2
jmp 0x47af0f
cmp eax, 0xc
jne 0x47af78
mov eax, 3
jmp 0x47af0f
mov eax, 4
jmp 0x47af0f
Function at 0x47b880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x47b8d5
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x47b8bf
cmp dword [ebp - 0x18], 4
jne 0x47b8bf
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
jmp 0x47b8bf

Function at 0x47b900
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.004e0fd0
mov esi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.004e3a90
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x47b979
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x47b99b
mov edi, 0x3f4
cmp eax, 1
jne 0x47b960
push ebx
call fcn.00478d00
xor edi, edi
jmp 0x47b960
lea esi, [ebp - 0x1010]
push 0x800
push 0xff
push esi
call fcn.004e3a90
add esp, 0xc
push 0x400
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x47b960
mov ecx, dword [ebp + 0xc]
push esi
jmp 0x47b992

Function at 0x47b9e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x540010]
xor edx, ebp
mov dword [ebp - 8], edx
mov edx, 4
lea esi, [ebp + 0xc]
push edx
push esi
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e0685
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8