joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463815
Capabilities:
Get socket status
Print debug messages

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x230]
mov edx, dword [esp + 0x234]
and dword [esp + 4], 0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x118]
mov esi, ecx
lea ebx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x463851
mov eax, dword [edx + 4]
xor ebp, ebp
and dword [esp + 0x1c], ebp
sub esi, ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4639d8
jmp 0x463964
and dword [esp + 0x20], 0
mov eax, dword [edi + 0x120]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x128], 1
test ebp, ebp
je 0x4638a1
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x18]
inc eax
push ecx
push 0
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4639b7
test eax, eax
je 0x463993
lea eax, [esp + 0x128]
push eax
push dword [edi + 0x120]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x4638ff
test ebp, ebp
je 0x463964
lea eax, [esp + 0x20]
push eax
push dword [edi + 0x120]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x463964
mov eax, dword [edi + 0x118]
xor ebp, ebp
add eax, dword [esp + 0x14]
push esi
push eax
push dword [esp + 0x18]
call fcn.00401290
mov ebx, eax
push ebx
push dword [esp + 0x20]
call fcn.004026e0
add esp, 0x14
sub eax, ebp
je 0x46395e
dec eax
sub eax, 1
je 0x463959
sub eax, 1
je 0x463964
and dword [esp + 0x20], ebp
lea ecx, [esp + 0x10]
and dword [esp + 0x128], ebp
push 0x19e
call fcn.0045f848
push 0x4ac264
mov eax, ecx
jmp 0x4639ed
xor ebp, ebp
inc ebp
jmp 0x463964
sub esi, ebx
add dword [esp + 0x14], ebx
test esi, esi
jg 0x463874
push dword [edi + 0x118]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f32e
add esp, 0x22c
ret 8
and dword [esp + 0x128], 0
lea ecx, [esp + 0x10]
and dword [esp + 0x20], 0
push 0x192
call fcn.0045f848
push 0x4ac264
mov eax, ecx
jmp 0x4639ed
and dword [esp + 0x128], 0
lea ecx, [esp + 0x10]
and dword [esp + 0x20], 0
push 0x6d
call fcn.0045f848
push 0x4ac264
mov eax, ecx
jmp 0x4639ed
push 0x19b
lea ecx, [esp + 0x14]
call fcn.0045f848
push 0x4ac264
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x463a3b
Capabilities:
Get socket status

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x463beb
push eax
call fcn.00401e00
mov dword [esi + 0x170], eax
pop ecx
test eax, eax
jne 0x463a8e
push 0x19e
lea ecx, [esp + 0x18]
call fcn.0045f848
push 0x4ac264
mov eax, ecx
jmp 0x463c00
push dword [esi + 0x120]
push eax
call fcn.00401170
xor ebp, ebp
push ebp
push 4
push 0x21
push dword [esi + 0x170]
call fcn.004022a0
add esp, 0x18
mov dword [esp + 0x18], 0xb4
mov ebx, ebp
mov dword [esp + 0x1c], ebp
mov edi, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x128], ebp
test ebx, ebx
je 0x463ae0
mov eax, dword [esi + 0x120]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
test edi, edi
je 0x463afc
mov eax, dword [esi + 0x120]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x128], 1
test ebx, ebx
jne 0x463b04
test edi, edi
je 0x463b36
lea eax, [esp + 0x18]
mov ebx, ebp
push eax
push ebp
lea eax, [esp + 0x28]
mov edi, ebp
push eax
lea eax, [esp + 0x134]
push eax
mov eax, dword [esi + 0x120]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x463bb3
test eax, eax
je 0x463b91
push dword [esi + 0x170]
call fcn.00402800
push eax
push dword [esi + 0x170]
call fcn.004026e0
add esp, 0xc
sub eax, ebp
je 0x463bd2
dec eax
sub eax, 1
je 0x463b67
sub eax, 1
jne 0x463b6f
xor ebx, ebx
inc ebx
jmp 0x463abf
xor edi, edi
inc edi
jmp 0x463abf
push 0x19e
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x12c], ebp
call fcn.0045f848
push 0x4ac264
mov eax, ecx
jmp 0x463c00
push 0x192
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x12c], ebp
call fcn.0045f848
push 0x4ac264
mov eax, ecx
jmp 0x463c00
push 0x6d
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x12c], ebp
call fcn.0045f848
push 0x4ac264
mov eax, ecx
jmp 0x463c00
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f32e
add esp, 0x22c
ret
push 0x19e
lea ecx, [esp + 0x18]
call fcn.0045f848
push 0x4ac264
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x464d70
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4655df
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push edi
mov ebp, edx
mov ebx, ecx
call dword [sym.imp.mfc140.dll_Ordinal_2241]
push 0x104
lea ecx, [esp + 0x1c]
push ecx
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x46568b
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x46568b
push esi
push edi
call dword [sym.imp.mfc140.dll_Ordinal_265]
pop ecx
mov esi, eax
lea eax, [esp + 0x1c]
push esi
push edi
push dword [esp + 0x18]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x46567c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0x4a3790
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x46567c
mov ecx, dword [esp + 0x14]
xor edi, edi
inc edi
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp], eax
jmp 0x46567e
xor edi, edi
push esi
call dword [sym.imp.mfc140.dll_Ordinal_266]
pop ecx
mov eax, edi
pop esi
jmp 0x46568d
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f32e
add esp, 0x114
ret

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

Disassembly:
sub esp, 0x208
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x220]
lea eax, [esp + 0x14]
xor ebx, ebx
mov esi, edx
push 0x200
push ebx
push eax
mov ebp, ecx
mov dword [esp + 0x1c], ebx
call sub.VCRUNTIME140.dll_memset
push 0x400
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
mov dword [edi], ebx
add esp, 0x18
mov ebx, dword [sym.imp.VCRUNTIME140.dll_strchr]
lea eax, [esp + 0x10]
push eax
push 0x200
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x465752
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x465756
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x46578d
mov edx, dword [edi]
lea eax, [edx + ecx]
cmp eax, 0x400
ja 0x4657b3
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 0x46578d
push 0xffffffffffffffff
push esi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x465730
push 0xffffffffffffffff
push esi
call ebx
neg eax
pop ecx
sbb al, al
pop ecx
inc al
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f32e
add esp, 0x208
ret
xor al, al
jmp 0x46579a
Function at 0x465e11
Capabilities:
Create http request

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push dword [0x4e509c]
call dword [sym.imp.WININET.dll_InternetOpenA]
push str._php_alive.php
mov edx, 0x4c111c
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.0045ecff
pop ecx
push ebx
push 0x84000101
push 0xffffffffffffffff
push ebx
push dword [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 0x465eb2
lea eax, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.004656e0
pop ecx
pop ecx
test al, al
je 0x465eab
mov eax, dword [esp + 0x10]
test eax, eax
je 0x465eab
cmp eax, 0x400
jae 0x465ed3
mov byte [esp + eax + 0x14], bl
cmp byte [esp + 0x14], 0x6f
jne 0x465eab
cmp byte [esp + 0x15], 0x6b
jne 0x465eab
inc ebx
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x414]
mov eax, ebx
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f32e
add esp, 0x40c
ret
call fcn.0046f481
int3

Function at 0x466528
Capabilities:
Create process on windows

Disassembly:
push 5
xor eax, eax
push eax
push eax
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x466538
Capabilities:
Terminate process

Disassembly:
push 4
mov eax, 0x47b9d4
call fcn.0046fc84
push 0x4a44e4
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_2986]
test eax, eax
je 0x4665ce
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov byte [ebp - 4], 2
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
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0x18
push 0x44
push dword [0x4e509c]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4665b4
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx]
call fcn.00466528
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
call fcn.0046fc52
ret 0x18
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
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
mov ecx, 0x4e509c
call dword [sym.imp.mfc140.dll_Ordinal_1661]
lea ecx, [ebp + 0x10]
mov esi, eax
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push 0x40
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
mov ecx, eax
call fcn.00466528
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x46699c
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.mfc140.dll_Ordinal_10429]
mov edi, dword [sym.imp.mfc140.dll_Ordinal_14054]
lea ecx, [ebp + 0x328]
push str.Download_and_Convert_
call edi
push str.Also_Download_Video_
lea ecx, [ebp + 0x3a8]
call edi
push str.Compatible_with_TV_IPhone
lea ecx, [ebp + 0x428]
call edi
push str.Click_Here_To_Get_Pro_Version_
lea ecx, [ebp + 0x630]
call edi
push 0x420
mov ecx, ebp
call dword [sym.imp.mfc140.dll_Ordinal_5401]
push str.paste_url_like:_https:__www.youtube.com_watch_vnv_5K4YDsew
mov ecx, eax
call edi
push 1
lea esi, [ebp + 0x1d8]
mov dword [ebp + 0xdc8], 0xff0000
xor ebx, ebx
mov ecx, esi
push ebx
call dword [sym.imp.mfc140.dll_Ordinal_4385]
push dword [0x4e51bc]
mov ecx, esi
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0xf1
push ebx
push dword [0x4e51d4]
push edi
push dword [ebp + 0x3c8]
call esi
push ebx
push dword [0x4e51dc]
push edi
push dword [ebp + 0x448]
call esi
push ebx
lea ecx, [ebp + 0x5a8]
call dword [sym.imp.mfc140.dll_Ordinal_4468]
push 0x640000
push ebx
push 0x401
push dword [ebp + 0x548]
call esi
cmp dword [0x4e51d8], 1
mov ecx, ebp
je 0x466a90
call 0x466c66
jmp 0x466a95
call 0x466b94
lea ecx, [ebp + 0x158]
call dword [sym.imp.mfc140.dll_Ordinal_13475]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea eax, [esp + 0x14]
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 eax, [esp + 0x14]
mov ecx, 0x4c1114
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov edi, dword [sym.imp.mfc140.dll_Ordinal_5401]
mov ecx, ebp
push 0x3fd
call edi
test eax, eax
jne 0x466af1
mov eax, ebx
jmp 0x466af4
mov eax, dword [eax + 0x20]
mov esi, dword [sym.imp.UxTheme.dll_SetWindowTheme]
mov ecx, 0x4a5278
push ecx
push ecx
push eax
call esi
push 0x3fe
mov ecx, ebp
call edi
test eax, eax
jne 0x466b15
mov eax, ebx
jmp 0x466b18
mov eax, dword [eax + 0x20]
mov ecx, 0x4a5278
push ecx
push ecx
push eax
call esi
push 0x43b
mov ecx, ebp
call edi
test eax, eax
jne 0x466b33
mov eax, ebx
jmp 0x466b36
mov eax, dword [eax + 0x20]
mov ecx, 0x4a5278
push ecx
push ecx
push eax
call esi
push 0x3fb
mov ecx, ebp
call edi
test eax, eax
jne 0x466b51
mov eax, ebx
jmp 0x466b54
mov eax, dword [eax + 0x20]
mov ecx, 0x4a5278
push ecx
push ecx
push eax
call esi
push 0x43e
mov ecx, ebp
call edi
test eax, eax
je 0x466b6e
mov ebx, dword [eax + 0x20]
mov eax, 0x4a5278
push eax
push eax
push ebx
call esi
mov ecx, dword [esp + 0x118]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
inc eax
call fcn.0046f32e
add esp, 0x10c
ret
Function at 0x467042
Capabilities:
Create directory

Disassembly:
push 0x18
mov eax, 0x47bb51
call fcn.0046fc84
push 0x4e51bc
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_300]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc140.dll_Ordinal_300]
call 0x467018
pop ecx
test al, al
je 0x46707f
mov bl, 1
jmp 0x467180
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 0x4670a2
push 0x5c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_2472]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
xor esi, esi
call dword [sym.imp.mfc140.dll_Ordinal_5861]
test eax, eax
jle 0x467121
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_5059]
cmp al, 0x5c
je 0x4670e5
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_5059]
movzx eax, al
push eax
jmp 0x46710a
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
cmp eax, dword [ebp - 0x1c]
je 0x4670ff
mov ecx, eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
add dword [ebp - 0x20], 4
jmp 0x467108
push eax
lea ecx, [ebp - 0x24]
call fcn.0046904b
push 0x5c
lea ecx, [ebp - 0x14]
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 0x4670c7
mov esi, dword [ebp - 0x24]
jmp 0x467138
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
add esi, 4
cmp esi, dword [ebp - 0x20]
jne 0x467126
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x467180
mov edi, dword [ebp - 0x20]
cmp esi, edi
je 0x467166
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_1044]
add esi, 4
cmp esi, edi
jne 0x467154
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.0045f799
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov al, bl
call fcn.0046fc52
ret
Function at 0x4674f4
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x47bc07
call fcn.0046fc84
mov edi, ecx
mov esi, dword [sym.imp.msi.dll_MsiRecordGetInteger]
push str.196BB40D_1578_3D01_B289_BEFC77A11A1E
call esi
push 5
pop ebx
cmp eax, ebx
je 0x46761e
push str.DA5E371C_6333_3D8A_93A4_6FD5B20BCC6E
call esi
cmp eax, ebx
je 0x46761e
push str.F0C3E5D1_1ADE_321E_8167_68EF0DE699A5
call esi
cmp eax, ebx
je 0x46761e
push str.1D8E6291_B0D5_35EC_8441_6616F567A0F7
call esi
cmp eax, ebx
je 0x46761e
push str._vcredist_x86.exe
mov edx, 0x4c1118
lea ecx, [ebp - 0x10]
call fcn.0045ecff
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x467611
mov edi, dword [edi]
lea ecx, [ebp - 0x18]
push 0x4c113c
mov edx, 0x4e509c
call fcn.0045eb2c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov esi, dword [eax]
mov edx, 0x4c111c
mov dword [esp], str._download_updates_vcredist_x86.exe
call fcn.0045ecff
mov byte [ebp - 4], 2
mov ecx, esp
mov ebx, dword [eax]
mov dword [ebp - 0x1c], esp
push str.Upgrading_library
call dword [sym.imp.mfc140.dll_Ordinal_310]
push edi
push esi
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Please_wait.
call dword [sym.imp.mfc140.dll_Ordinal_310]
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Upgrading_Microsoft_runtime_library_for_the_first_running..
call dword [sym.imp.mfc140.dll_Ordinal_310]
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
push ebx
mov ecx, 0x4e4020
mov byte [ebp - 4], 2
call fcn.0046beab
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
xor eax, eax
jmp 0x467621
xor eax, eax
inc eax
call fcn.0046fc52
ret
Function at 0x46b2e1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x47c526
call fcn.0046fc84
mov ebx, ecx
xor edi, edi
push ecx
xor esi, esi
lea eax, [ebp + 0xc]
inc esi
mov ecx, esp
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.mfc140.dll_Ordinal_300]
mov ecx, ebx
call 0x46b184
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x46b31a
cmp eax, 2
jne 0x46b336
lea eax, [ebp - 0x18]
push eax
push 0x20019
push edi
push dword [ebx + 0xc]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebx], eax
test eax, eax
je 0x46b348
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
jmp 0x46b3cd
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.mfc140.dll_Ordinal_265]
pop ecx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
call dword [sym.imp.mfc140.dll_Ordinal_316]
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push edi
call dword [sym.imp.mfc140.dll_Ordinal_266]
mov esi, dword [ebx]
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
test esi, esi
jne 0x46b3bd
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]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, dword [ebp + 8]
call fcn.0046fc52
ret 0xc

Function at 0x46b463
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x20006
xor edi, edi
push edi
push dword [ebx + 0xc]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46b4bc
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 3
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb esi, esi
cmp dword [ebx + 8], edi
jne 0x46b4af
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esi + 1]
pop esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x46dc84
Capabilities:
Create process on windows
Create process suspended
Move file
Terminate process

Disassembly:
push 0x58
mov eax, 0x47ca12
call fcn.0046fced
xor edi, edi
mov dword [ebp - 4], edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x64], esi
xor ebx, ebx
inc ebx
or dword [ebp - 0x38], ebx
push ebx
push dword [ebp + 0xc]
mov word [ebp - 0x34], bx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esi, dword [0x4c1118]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_5096]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push esi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x46dcfa
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, 0x46dcfa
ret
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
call fcn.0046fc52
ret 8

Function at 0x47010a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x470149
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x470149
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x470149
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x470149
cmp dword [ecx + 0x74], 0xe
jbe 0x470149
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x471da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cde4
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4af040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
test eax, eax
js 0x471e95
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push eax
push 1
call sub.mfc140.dll_Ordinal_8031
mov edi, eax
test edi, edi
js 0x471e98
mov ecx, ebx
call fcn.004719f0
mov esi, eax
xor ecx, ecx
mov edx, 0x4c
mov dword [ebp + 8], esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.mfc140.dll_Ordinal_265
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x471e4a
push 0x4706e0
push 0x470550
push dword [ebp + 8]
mov dword [eax], esi
lea esi, [eax + 4]
push 0x4c
push esi
call fcn.0046f7bb
jmp 0x471e4c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x471e95
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push esi
push 0
push 0
push 0
push 0
push 4
push 0
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0xc], 0xffffffff
call sub.mfc140.dll_Ordinal_13574
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10