joyce8/EMBER2024-capa huggingface dataset:
Function at 0x71041780
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x70
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3e], 0x5c005c
mov dword [ebp - 0x3a], 0x5c002e
mov dword [ebp - 0x36], 0x3a0041
mov dword [ebp - 0x48], 0x20000000
mov dword [ebp - 0x44], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
movzx eax, word [esi]
sub esp, 0x10
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x3e]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x71041877
mov esi, eax
lea eax, [ebp - 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x700a0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
sub esp, 0x20
test eax, eax
jne 0x71041888
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x7104186b

Function at 0x710418a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x212]
sub esp, 0x234
mov dword [esp + 0x1c], 0x105
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
sub esp, 0x20
test eax, eax
jne 0x71041910
mov dword [esp], str.NTFS
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x71041920
Capabilities:
Get disk information

Disassembly:
push ebp
mov edx, eax
mov ecx, 0x82
xor eax, eax
mov ebp, esp
push edi
lea edi, [ebp - 0x210]
sub esp, 0x234
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x212], 0
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x212]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x105
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
sub esp, 0x20
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edi, dword [ebp - 4]
leave
ret
Function at 0x71041cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x24]
sub esp, 0x4c
mov dword [ebp - 0x24], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x71041de8
lea eax, [ebp - 0x1c]
lea edi, [ebp - 0x20]
mov dword [esp + 4], ebx
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x24]
sub esp, 0x18
test eax, eax
jne 0x71041d59
cmp dword [ebp - 0x1c], 1
je 0x71041d80
mov dword [ebp - 0x2c], 0
test edx, edx
je 0x71041d70
mov dword [esp], edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], edx
add eax, 2
mov dword [ebp - 0x30], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x34]
test eax, eax
mov dword [ebp - 0x2c], eax
mov ecx, eax
je 0x71041de8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [ebp - 0x30], ecx
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sub esp, 0x18
test eax, eax
je 0x71041d60
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
lea esi, [esi]
mov edx, dword [ebp - 0x24]
jmp 0x71041d59
Function at 0x71043310
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x48]
push ebx
sub esp, 0x7c
mov dword [ebp - 0x64], eax
mov ebx, dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x48], 0xffff
mov dword [edx], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], esi
mov dword [esp], 0x6b
call ebx
sub esp, 0x18
cmp eax, 0xc0000004
jne 0x71043458
mov ecx, dword [ebp - 0x4c]
mov dword [esp], ecx
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x5c]
test eax, eax
je 0x71043496
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [ebp - 0x5c], eax
mov dword [esp + 8], 4
mov dword [esp + 4], esi
mov dword [esp], 0x6b
call ebx
mov edx, dword [ebp - 0x5c]
sub esp, 0x18
test eax, eax
mov edi, eax
jne 0x71043448
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x60], 0
xor eax, eax
xor esi, esi
mov dword [ebp - 0x5c], ecx
test ecx, ecx
jne 0x710433f9
jmp 0x710434d0
mov ebx, 1
add esi, 1
test byte [ecx + 8], 1
cmovne edi, ebx
mov ebx, dword [ebp - 0x5c]
add eax, dword [ecx + 4]
cmp eax, ebx
jae 0x71043418
lea ecx, [edx + eax]
mov ebx, dword [ecx]
test ebx, ebx
je 0x710433e0
cmp ebx, 3
sete bl
add eax, dword [ecx + 4]
movzx ebx, bl
add dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x5c]
cmp eax, ebx
jb 0x710433f9
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x7104342a
mov dword [eax], esi
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
test edi, edi
mov dword [eax], edx
lea eax, [esi + esi]
cmovne esi, eax
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
lea esi, [esi]
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], 0
mov esi, 1
mov dword [esp + 8], 0x2c
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0x10
test eax, eax
jne 0x7104343a
movzx esi, byte [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
xor eax, eax
xor edx, edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x44]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0x10
test eax, eax
je 0x71043488
mov esi, 1
jmp 0x7104343a
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x710434e6
mov dword [eax], 0
mov eax, dword [ebp - 0x68]
xor esi, esi
mov dword [eax], 0
jmp 0x7104343a
Function at 0x7104e9b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
mov ecx, dword [ebp + 8]
movzx esi, word [edx]
test ebx, ebx
je 0x7104eb30
test ecx, ecx
je 0x7104ea98
test si, si
je 0x7104eb20
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x7104e9e0
sub eax, edx
sar eax, 1
cmp word [ebx], 0
je 0x7104ea07
mov esi, ebx
lea esi, [esi]
add esi, 2
cmp word [esi], 0
jne 0x7104e9f8
sub esi, ebx
sar esi, 1
add eax, esi
cmp word [ecx], 0
je 0x7104ea1f
mov esi, ecx
nop
add esi, 2
cmp word [esi], 0
jne 0x7104ea10
sub esi, ecx
sar esi, 1
add eax, esi
add eax, 0x4a
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1c], eax
add eax, eax
mov dword [ebp - 0x20], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
test eax, eax
mov esi, eax
je 0x7104eb9a
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.SELECT__FROM___QUALIFIERS_WHERE_Class_s_AND_Member_s_AND_Name_s
mov eax, dword [ebp - 0x1c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.7104e960
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.71051310
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.ucrtbase.dll_free]
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test ebx, ebx
je 0x7104eb30
test si, si
je 0x7104eb87
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x7104eab0
sub eax, edx
sar eax, 1
cmp word [ebx], 0
je 0x7104ead7
mov ecx, ebx
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x7104eac8
sub ecx, ebx
sar ecx, 1
add eax, ecx
lea ecx, [eax + 0x3c]
mov dword [ebp - 0x20], edx
lea eax, [ecx + ecx]
mov dword [ebp - 0x1c], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x7104eb9a
mov dword [esp + 0x10], ebx
mov edx, dword [ebp - 0x20]
mov dword [esp + 8], str.SELECT__FROM___QUALIFIERS_WHERE_Class_s_AND_Member_s
mov dword [esp + 0xc], edx
mov ecx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.7104e960
jmp 0x7104ea69
xor eax, eax
jmp 0x7104e9ed
mov eax, edx
test si, si
je 0x7104eb8e
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x7104eb40
sub eax, edx
mov ecx, eax
add eax, 0x58
sar ecx, 1
lea ebx, [ecx + 0x2c]
mov dword [ebp - 0x1c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x7104eb9a
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], str.SELECT__FROM___QUALIFIERS_WHERE_Class_s
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.7104e960
jmp 0x7104ea69
xor eax, eax
jmp 0x7104eabd
mov eax, 0x58
mov ebx, 0x2c
jmp 0x7104eb55
mov ebx, 0x8007000e
jmp 0x7104ea87
Function at 0x7104f9b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x3c]
lea esi, [ebp - 0x38]
push ebx
sub esp, 0x4c
mov dword [ebp - 0x3c], 0x10
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetComputerNameW]
sub esp, 8
test eax, eax
je 0x7104fa20
movzx eax, word [ebp - 0x38]
test ax, ax
je 0x7104fa04
mov ebx, dword [sym.imp.ucrtbase.dll_towupper]
mov edi, esi
lea esi, [esi]
nop
mov dword [esp], eax
add edi, 2
call ebx
mov word [edi - 2], ax
movzx eax, word [edi]
test ax, ax
jne 0x7104f9f0
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x71057860
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], str.SELECT__FROM__s_WHERE__s
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll___stdio_common_vswprintf]
leave
ret
Function at 0x7105a370
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov edx, dword [edi + 8]
mov esi, dword [edi + 4]
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x7105a3d0
add esi, dword [edi + 0xc]
add esi, 0x1a
lea eax, [esi + esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x7105a3c2
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov eax, dword [edi]
mov dword [esp + 8], str.SELECT__FROM__s_WHERE__s
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.71057860
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esi + esi + 0x1e]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x7105a3c2
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.SELECT__FROM]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x7105a3e8
cmp word [ebx], 0
mov edx, dword [edi]
mov eax, ebx
je 0x7105a418
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x7105a408
lea esi, [esi]
movzx ecx, word [edx]
add edx, 2
add eax, 2
mov word [eax - 2], cx
test cx, cx
jne 0x7105a418
jmp 0x7105a3c2

Function at 0x710602d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x710740e0]
test eax, eax
je 0x71060388
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x71060310
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x710602fc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x710603bd
mov dword [esp + 4], 0x7106f038
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x710740e0], eax
sub esp, 8
test eax, eax
jne 0x710602ed
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x710602fe
Function at 0x4042e5
Capabilities:
Create http request

Disassembly:
mov eax, 0x41ae70
call fcn.0040f3e4
sub esp, 0x40c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x451c90
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push 0x84000101
push 0xffffffffffffffff
push ebx
mov esi, eax
push str.http:__www.shiningmorning.com_c.txt
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x404401
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push edi
call fcn.00404850
add esp, 0x10
test al, al
je 0x4043e5
cmp dword [ebp - 0x10], 0
jbe 0x4043e5
call fcn.00403759
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x418]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x404389
xor eax, eax
jmp 0x4043a4
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x418]
push dword [ebp - 0x14]
push esi
push ecx
push eax
call fcn.00401e1c
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
push str.doqnwekllhmtj.cloudfront.net
mov ecx, 0x451b44
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [ebp - 0x18]
push edi
call ebx
call fcn.00403e39
test eax, eax
jne 0x40441a
push str.http:__doqnwekllhmtj.cloudfront.net
mov ecx, 0x451b44
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
call fcn.00403e39
test eax, eax
jne 0x40441a
push str.http:__ytmusicdownloader.us_
mov ecx, 0x451b44
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push esi
call ebx
lea esp, [ebp - 0x424]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404903
Capabilities:
Terminate process

Disassembly:
mov eax, 0x41aeda
call fcn.0040f3e4
push ecx
push esi
and dword [ebp - 4], 0
lea eax, [ebp + 0x1c]
push 0x41f954
push eax
call fcn.004039d8
pop ecx
pop ecx
test al, al
je 0x4049bb
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov ecx, dword [ebp + 0x10]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp + 8]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x10]
push ecx
push str.You_currently_use_version__u._u_of_this_program._The_newest_version__u._u_is_available_online_for_Free._Do_you_want_to_see_more_information_
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
add esp, 0x18
mov ecx, 0x451c90
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push 0x44
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
cmp eax, 6
jne 0x40499b
mov ecx, dword [ebp + 0x18]
push 5
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call fcn.00404837
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x18
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 2
push str.This_version_has_expired__please_upgrade_to_the_latest_version._Exiting..
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
pop ecx
pop ecx
mov ecx, 0x451c90
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
lea ecx, [ebp + 0x10]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push 0x40
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0x18]
push 5
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call fcn.00404837
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x405593
Capabilities:
Create directory

Disassembly:
mov eax, 0x41b053
call fcn.0040f3e4
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push ecx
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
call 0x405c54
pop ecx
test al, al
je 0x4055d1
mov bl, 1
jmp 0x4056c9
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_5884]
dec eax
lea ecx, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
push 0x5c
pop edi
cmp ax, di
je 0x4055f7
push edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::AppendChar]
lea ecx, [ebp - 0x2c]
call 0x405005
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
xor bl, bl
xor esi, esi
call dword [sym.imp.mfc140u.dll_Ordinal_5884]
test eax, eax
jle 0x405660
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, di
je 0x40563c
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
movzx eax, ax
push eax
jmp 0x405649
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call 0x408126
push edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::AppendChar]
lea ecx, [ebp - 0x10]
inc esi
call dword [sym.imp.mfc140u.dll_Ordinal_5884]
cmp esi, eax
jl 0x40561d
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call 0x406e8a
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x40569f
push 0
lea ecx, [ebp - 0x14]
call fcn.0040535f
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [ebp - 0x14]
push 0
lea eax, [ebp - 0x20]
setne bl
push eax
call 0x405362
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call 0x406ecf
push eax
lea ecx, [ebp - 0x14]
call 0x40534c
test al, al
jne 0x405673
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
call fcn.00405236
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x405ae9
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov eax, 0x41b0b3
call fcn.0040f3e4
mov eax, 0x1074
call fcn.0040f850
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], 0xc
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x18]
xor edi, edi
push eax
lea eax, [ebp - 0x10]
inc edi
push eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
push eax
push ebx
push ebx
push ebx
push edi
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x54], 0x101
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
test eax, eax
je 0x405c03
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], ebx
jmp 0x405bb7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405bd1
mov byte [ebp + eax - 0x1080], bl
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x1080]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0xfff
lea eax, [ebp - 0x1080]
push eax
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x405b99
push dword [ebp - 0x10]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x405c18
call esi
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp + 8]
push str.error
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret