joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403300
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4033bf
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4033bf
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x40333a
mov eax, 0xfffffffe
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004040f0
mov esi, esp
test esi, esi
jne 0x40335b
mov eax, 0xfffffffd
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x403378
mov eax, 0xfffffffc
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ecx
push 0x407868
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4033a6
mov eax, 0xfffffffb
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, 0xd
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esp, [ebp - 0x10]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403420
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4049cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
mov esi, dword [esp + 0x134]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
xor ebx, ebx
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x130]
lea ecx, [esp + 8]
push eax
push str.CLSID_sInprocServer32
push ecx
mov dword [esp + 0x134], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4034c8
lea ecx, [esp + 8]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040440c
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
add esp, 0x124
ret
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ebx
push ebx
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
je 0x403542
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040440c
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
add esp, 0x124
ret
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0040453e
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040440c
mov ecx, dword [esp + 0x120]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x403d10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x408140]
sub esp, 8
cmp eax, 0xffffffff
push ebx
jne 0x403db0
lea eax, [esp + 8]
xor ebx, ebx
push eax
push str.SoftwareFortinetSslvpnClient
push 0x80000002
mov dword [0x408140], ebx
mov dword [0x408d2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403db0
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
push 0x408140
push ebx
push ebx
push str.log_level_gui
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
je 0x403d7a
mov dword [0x408140], ebx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push 0x408d2c
push ebx
push ebx
push str.DebugView
push ecx
mov dword [esp + 0x20], 4
call esi
test eax, eax
pop esi
je 0x403da5
mov dword [0x408d2c], ebx
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
add esp, 8
ret

Function at 0x403dc0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x800
call fcn.00403d10
mov eax, dword [esp + 0x804]
mov ecx, dword [0x408140]
cmp eax, ecx
jg 0x403e46
push edi
push 0x7ff
lea ecx, [esp + 8]
push 0x408180
push ecx
mov byte [esp + 0x80f], 0
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x818]
lea edx, [esp + 0x81c]
push edx
push eax
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x7ff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x18]
sub edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x800
ret

Function at 0x403e50
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.004040f0
call fcn.00403d10
mov eax, dword [esp + 0x1004]
mov ecx, dword [0x408140]
cmp eax, ecx
jg 0x403edf
push esi
push 0x7ff
lea ecx, [esp + 8]
push str.FortiSslvpn:
push ecx
mov word [esp + 0x100e], 0
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov eax, dword [esp + 0x1018]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
lea edx, [esp + 0x1010]
lea ecx, [esp + 4]
push edx
push eax
push ecx
call esi
mov edx, 0x7ff
add esp, 4
sub edx, eax
lea eax, [esp + 0xc]
push edx
push eax
call esi
add esp, 4
lea ecx, [esp + eax*2 + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll__vsnwprintf]
add esp, 0x10
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
add esp, 0x1000
ret
Function at 0x403ef0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 6
jae 0x403f2d
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 0xa8]
mov edi, 1
test eax, eax
mov dword [esp + 8], edi
mov esi, eax
jne 0x403f65
lea ecx, [esp + 0xa8]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403f9c
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
push 4
push ecx
push 0x12
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x403f8a
mov dword [esp + 8], edi
test esi, esi
jne 0x403f9c
mov edx, dword [esp + 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x403fb0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push str.Call_::IsCurrentUserAnAdmin___n
push 3
call fcn.00403dc0
mov ebp, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
xor ebx, ebx
add esp, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0x220
mov dword [esp + 0x24], 0x200
xor edi, edi
lea esi, [esp + 0x20]
cmp dword [esp + 0x10], ebx
jne 0x40405a
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push 0x20
lea edx, [esp + 0x3c]
push 2
push edx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 5
call ebp
test eax, eax
je 0x40404b
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
call sub.ADVAPI32.dll_CheckTokenMembership
test eax, eax
jne 0x404040
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
inc edi
add esi, 4
cmp edi, 2
jl 0x403fe8
cmp dword [esp + 0x10], ebx
je 0x404061
push str.::IsCurrentUserAnAdmin__TRUE_n
jmp 0x404066
push str.::IsCurrentUserAnAdmin__FALSE_n
push 3
call fcn.00403dc0
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x401b67
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x290
push ebx
mov ebx, dword [esp + 0x298]
push ebp
push esi
push edi
push ebx
call fcn.00403207
pop ecx
xor edx, edx
test eax, eax
lea ecx, [eax + 1]
cmovns edx, ecx
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
mov dword [esp + 0x18], edx
push ebp
push ebp
push 0x1c
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x401bd9
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edi, [esp + 0x98]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401bc7
mov esi, str.Microsoft_
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x401be4
mov dword [esp + 0x98], 0x5c3a43
mov al, byte [esp + ebp + 0x98]
mov byte [esp + ebp + 0x19c], al
inc ebp
test al, al
jne 0x401be4
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x401bf9
lea edi, [esp + 0x19c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401c0a
mov ecx, ebx
xor eax, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea esi, [esp + 0x24]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x401c45
sub esi, ecx
lea ecx, [esp + 0x24]
call fcn.0040159b
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00401ff5
lea eax, [esp + 0x19c]
push 0x41e628
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x401c9d
push edi
push esi
lea ecx, [esp + 0x20]
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
add esp, 0x14
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret
Function at 0x403207
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x280
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
xor ebx, ebx
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x40325c
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edi, [esp + 0x88]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40324a
mov esi, str.Microsoft_
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x403267
mov dword [esp + 0x88], 0x5c3a43
mov ecx, ebx
mov al, byte [esp + ecx + 0x88]
mov byte [esp + ecx + 0x18c], al
inc ecx
test al, al
jne 0x403269
mov edx, dword [esp + 0x294]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x403285
lea edi, [esp + 0x18c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403296
mov ecx, edx
lea eax, [esp + 0x18c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0x41e62c
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
jne 0x4032dd
lea eax, [esp + 0x18c]
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
inc eax
neg eax
sbb eax, eax
jmp 0x40335b
push 2
push ebx
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push ebp
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
add esp, 0x14
test esi, esi
je 0x403327
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push ebp
push esi
mov edi, eax
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x14
cmp eax, esi
je 0x403332
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
or ebx, 0xffffffff
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, ebx
jmp 0x40335c
lea ecx, [esp + 0x14]
call fcn.0040159b
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.00401f8d
push edi
mov byte [edi + esi], bl
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, esi
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x280
ret
Function at 0x4039fb
Capabilities:
Create http request

Disassembly:
sub esp, 0x408
mov ecx, 0x44fc90
push ebx
push ebp
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push str._php_alive.php
mov ebp, eax
lea eax, [esp + 0x10]
push 0x44fb44
push eax
call fcn.004019a1
add esp, 0xc
mov ecx, eax
push ebx
push 0x84000101
push 0xffffffffffffffff
push ebx
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test esi, esi
je 0x403a9f
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00404254
add esp, 0x10
test al, al
je 0x403a98
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403a98
mov byte [esp + eax + 0x14], bl
cmp byte [esp + 0x14], 0x6f
jne 0x403a98
xor eax, eax
inc eax
cmp byte [esp + 0x15], 0x6b
cmove ebx, eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x408
ret
Function at 0x403e64
Capabilities:
Create http request

Disassembly:
mov eax, 0x41a5fd
call fcn.0040e710
sub esp, 0x404
mov ecx, 0x44fc90
push ebx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push 0x84000101
push 0xffffffffffffffff
push esi
mov ebx, eax
push str.http:__api.virtualaudiostreaming.net_c.txt
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x403f3d
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.00404254
add esp, 0x10
test al, al
je 0x403f1d
cmp dword [ebp - 0x10], 0
jbe 0x403f1d
lea eax, [ebp - 0x410]
push eax
call fcn.00401b34
pop ecx
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_310]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_14322]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push str.doqnwekllhmtj.cloudfront.net
mov ecx, 0x44fb44
call dword [sym.imp.mfc140.dll_Ordinal_12706]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.004039fb
test eax, eax
jne 0x403f56
push str.http:__doqnwekllhmtj.cloudfront.net
mov ecx, 0x44fb44
call dword [sym.imp.mfc140.dll_Ordinal_1529]
call fcn.004039fb
test eax, eax
jne 0x403f56
push str.http:__ytmusicdownloader.us_
mov ecx, 0x44fb44
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40423f
Capabilities:
Create process on windows

Disassembly:
push dword [esp + 8]
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x404254
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x204
push ebx
push ebp
push esi
push edi
mov ebp, 0x200
lea eax, [esp + 0x14]
xor ebx, ebx
push ebp
push ebx
push eax
mov dword [esp + 0x1c], ebx
call sub.VCRUNTIME140.dll_memset
push dword [esp + 0x22c]
mov esi, dword [esp + 0x22c]
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esp + 0x23c]
add esp, 0x18
mov dword [edi], ebx
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x224]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4042ba
mov ecx, ebx
mov dword [esp + 0x10], ecx
jmp 0x4042be
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4042fa
mov edx, dword [edi]
lea eax, [edx + ecx]
cmp eax, dword [esp + 0x220]
ja 0x404315
push ecx
lea eax, [esp + 0x18]
push eax
lea eax, [edx + esi]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [edi], eax
test eax, eax
je 0x4042fa
push 0xffffffffffffffff
push esi
call fcn.004044f3
pop ecx
pop ecx
test eax, eax
je 0x404296
push 0xffffffffffffffff
push esi
call fcn.004044f3
neg eax
pop ecx
sbb al, al
pop ecx
inc al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
xor al, al
jmp 0x40430a
Function at 0x404319
Capabilities:
Terminate process

Disassembly:
mov eax, 0x41a667
call fcn.0040e710
push ecx
and dword [ebp - 4], 0
lea eax, [ebp + 0x1c]
push 0x41f040
push eax
call fcn.00403693
pop ecx
pop ecx
test al, al
je 0x4043cd
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_316]
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.mfc140.dll_Ordinal_4807]
add esp, 0x18
mov ecx, 0x44fc90
push 0x44
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4043ad
mov ecx, dword [ebp + 0x18]
push 5
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call fcn.0040423f
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x18
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_316]
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.mfc140.dll_Ordinal_4807]
pop ecx
pop ecx
push 0x40
mov ecx, 0x44fc90
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x18]
push 5
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call fcn.0040423f
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x404ead
Capabilities:
Create directory

Disassembly:
mov eax, 0x41a7d4
call fcn.0040e710
sub esp, 0x20
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_300]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push ecx
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
call 0x405576
pop ecx
test al, al
je 0x404eea
mov bl, 1
jmp 0x404fdf
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_5861]
dec eax
lea ecx, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_5059]
cmp al, 0x5c
je 0x404f0d
push 0x5c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_2472]
lea ecx, [ebp - 0x2c]
call 0x404998
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
xor bl, bl
xor esi, esi
call dword [sym.imp.mfc140.dll_Ordinal_5861]
test eax, eax
jle 0x404f76
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_5059]
cmp al, 0x5c
je 0x404f51
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_5059]
movzx eax, al
push eax
jmp 0x404f5f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040798d
push 0x5c
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_2472]
lea ecx, [ebp - 0x10]
inc esi
call dword [sym.imp.mfc140.dll_Ordinal_5861]
cmp esi, eax
jl 0x404f33
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call 0x406717
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x404fb5
push 0
lea ecx, [ebp - 0x14]
call fcn.00404ca2
mov ecx, eax
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
lea ecx, [ebp - 0x14]
push 0
lea eax, [ebp - 0x20]
setne bl
push eax
call fcn.00404ca5
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call 0x406756
push eax
lea ecx, [ebp - 0x14]
call fcn.00404c94
test al, al
jne 0x404f89
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x2c]
call fcn.00404bb0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40540b
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov eax, 0x41a834
call fcn.0040e710
mov eax, 0x1074
call fcn.0040eb40
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_CreateProcessA]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
test eax, eax
je 0x405525
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], ebx
jmp 0x4054d9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4054f3
mov byte [ebp + eax - 0x1080], bl
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x1080]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1696]
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 0x4054bb
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.mfc140.dll_Ordinal_300]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
jmp 0x40553a
call esi
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp + 8]
push str.error
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret