joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5aa990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x113000]
push edi
or ebp, 0xffffffff
jmp 0x5aa9b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5aa9b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5aa9a8
mov eax, 1
add ebx, ebx
jne 0x5aa9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5aa9dc
jne 0x5aa9fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5aa9fb
dec eax
add ebx, ebx
jne 0x5aa9e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5aa9c0
add ebx, ebx
jne 0x5aa9f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5aaa4d
xor ecx, ecx
sub eax, 3
jb 0x5aaa13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5aaa82
sar eax, 1
mov ebp, eax
jmp 0x5aaa1e
add ebx, ebx
jne 0x5aaa1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5aa9ec
inc ecx
add ebx, ebx
jne 0x5aaa2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5aa9ec
add ebx, ebx
jne 0x5aaa39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5aaa2e
jne 0x5aaa4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5aaa2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5aaa6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5aaa5e
jmp 0x5aa9ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5aaa6c
add edi, ecx
jmp 0x5aa9ae
pop esi
mov edi, esi
mov ecx, 0x45a2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5aaa8a
cmp byte [edi], 0x16
jne 0x5aaa8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5aaa8f
lea edi, [esi + 0x1a7000]
mov eax, dword [edi]
or eax, eax
je 0x5aab07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1aa218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1aa358]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5aaabc
mov ecx, edi
jns 0x5aaaeb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1aa35c]
or eax, eax
je 0x5aab01
mov dword [ebx], eax
add ebx, 4
jmp 0x5aaad9
call dword [esi + 0x1aa36c]
mov ebp, dword [esi + 0x1aa360]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5aab3b
sub esp, 0xffffff80
jmp 0x4979b5
Function at 0x4028e4
Capabilities:
Get common file path

Disassembly:
sub esp, 0x294
mov eax, dword [0x604180]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
mov ebx, dword [esp + 0x29c]
push ebp
push esi
push edi
push ebx
call fcn.004045f3
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 0x402964
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 0x402952
mov esi, str.Microsoft_
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x40296f
mov dword [esp + 0x98], 0x5c3a43
mov al, byte [esp + ebp + 0x98]
mov byte [esp + ebp + 0x19c], al
inc ebp
test al, al
jne 0x40296f
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x402984
lea edi, [esp + 0x19c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402995
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 + 0x8c]
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x1c]
call fcn.005726f8
lea esi, [esp + 0x98]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4029d8
sub esi, ecx
lea ecx, [esp + 0x18]
call fcn.004021fd
push esi
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x20]
call fcn.00402ffb
lea eax, [esp + 0x19c]
push 0x5a54f8
push eax
call fcn.0056b3db
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x402a33
push edi
push esi
lea ecx, [esp + 0x94]
push 1
push ecx
call fcn.0056c343
push edi
call fcn.0056b2f4
xor eax, eax
add esp, 0x14
inc eax
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00559f3e
add esp, 0x294
ret
Function at 0x4045f3
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x284
mov eax, dword [0x604180]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
mov ebp, dword [esp + 0x290]
lea eax, [esp + 8]
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 0x40465e
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 0x40464c
mov esi, str.Microsoft_
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x404669
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 0x40466b
mov esi, ebp
mov al, byte [ebp]
inc ebp
test al, al
jne 0x404680
lea edi, [esp + 0x18c]
sub ebp, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404692
mov ecx, ebp
lea eax, [esp + 0x18c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
push 0x5a54fc
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0056b3db
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
jne 0x4046d7
lea eax, [esp + 0x18c]
push ebx
push eax
call fcn.00572c78
inc eax
neg eax
sbb eax, eax
jmp 0x40474c
push 2
push ebx
push ebp
call fcn.0056b9ef
push ebp
call fcn.0056c04e
push ebp
mov esi, eax
call fcn.0056c653
add esp, 0x14
test esi, esi
je 0x40471b
lea eax, [esi + 1]
push eax
call fcn.005719f2
push ebp
push esi
mov edi, eax
push 1
push edi
call fcn.0056b5cb
add esp, 0x14
cmp eax, esi
je 0x404725
push edi
call fcn.005719d7
pop ecx
or ebx, 0xffffffff
push ebp
call fcn.0056b2f4
mov eax, ebx
jmp 0x40474d
lea ecx, [esp + 0x14]
call fcn.004021fd
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.00402f1d
push edi
mov byte [edi + esi], bl
call fcn.005725d3
push edi
mov esi, eax
call fcn.005719d7
mov eax, esi
pop ecx
pop ecx
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00559f3e
add esp, 0x284
ret
Function at 0x4053d2
Capabilities:
Create http request

Disassembly:
sub esp, 0x40c
mov eax, dword [0x604180]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
xor ebx, ebx
mov ecx, 0x62cc90
push ebx
push ebx
push ebx
push ebx
call fcn.004026bb
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push str._php_alive.php
mov ebp, eax
lea eax, [esp + 0x10]
push 0x62cb44
push eax
call fcn.00402728
add esp, 0xc
mov ecx, eax
push ebx
push 0x84000101
push 0xffffffffffffffff
push ebx
call fcn.004026bb
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.0040238e
test esi, esi
je 0x405485
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00405d2b
add esp, 0x10
test al, al
je 0x40547e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40547e
cmp eax, 0x400
jae 0x4054a6
mov byte [esp + eax + 0x14], bl
cmp byte [esp + 0x14], 0x6f
jne 0x40547e
cmp byte [esp + 0x15], 0x6b
jne 0x40547e
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.00559f3e
add esp, 0x40c
ret
call fcn.00559e63
int3

Function at 0x405c4f
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x604180]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x11c]
lea eax, [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x124]
push esi
push 0x104
push eax
call fcn.0040507c
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x405cfc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x405cfc
push edi
push esi
call fcn.004239fc
pop ecx
mov edi, eax
lea eax, [esp + 0x1c]
push edi
push esi
push dword [esp + 0x18]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x405cee
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0x5a5de0
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x405cee
mov ecx, dword [esp + 0x14]
xor esi, esi
inc esi
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp], eax
jmp 0x405cf0
xor esi, esi
push edi
call fcn.00423a05
pop ecx
mov eax, esi
pop edi
jmp 0x405cfe
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00559f3e
add esp, 0x114
ret

Function at 0x405d16
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 0x405d2b
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x208
mov eax, dword [0x604180]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
mov ebx, dword [esp + 0x210]
lea eax, [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x21c]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x228]
push 0x200
push ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.00566f00
push dword [esp + 0x230]
push ebp
push esi
call fcn.00566f00
add esp, 0x18
mov dword [edi], ebp
lea eax, [esp + 0x10]
push eax
push 0x200
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x405da3
mov ecx, ebp
mov dword [esp + 0x10], ecx
jmp 0x405da7
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x405de3
mov edx, dword [edi]
lea eax, [edx + ecx]
cmp eax, dword [esp + 0x224]
ja 0x405e0c
push ecx
lea eax, [esp + 0x18]
push eax
lea eax, [edx + esi]
push eax
call fcn.00566400
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [edi], eax
test eax, eax
je 0x405de3
push 0xffffffffffffffff
push esi
call fcn.004061fd
pop ecx
pop ecx
test eax, eax
je 0x405d81
push 0xffffffffffffffff
push esi
call fcn.004061fd
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.00559f3e
add esp, 0x208
ret
xor al, al
jmp 0x405df3

Function at 0x406d26
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x58c07e
call fcn.00559f7e
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00404f4f
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push ecx
mov ecx, esp
push eax
call fcn.00404f4f
call 0x4074a7
pop ecx
test al, al
je 0x406d5e
mov bl, 1
jmp 0x406e4c
lea ecx, [ebp - 0x10]
call fcn.00403268
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.004074d6
cmp al, 0x5c
je 0x406d7e
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00406cf8
lea ecx, [ebp - 0x2c]
call 0x4066fa
lea ecx, [ebp - 0x18]
call fcn.00401fff
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
xor bl, bl
xor esi, esi
call fcn.00403268
test eax, eax
jle 0x406de5
push esi
lea ecx, [ebp - 0x10]
call fcn.004074d6
cmp al, 0x5c
je 0x406dbd
push esi
lea ecx, [ebp - 0x10]
call fcn.004074d6
mov byte [ebp - 0x14], al
jmp 0x406dcd
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004098ca
mov byte [ebp - 0x14], 0x5c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00406cf8
lea ecx, [ebp - 0x10]
inc esi
call fcn.00403268
cmp esi, eax
jl 0x406da2
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call 0x4086ab
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x406e23
push 0
lea ecx, [ebp - 0x14]
call fcn.00406a2a
mov ecx, eax
call fcn.004026bb
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.00406a2d
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call 0x4086ea
push eax
lea ecx, [ebp - 0x14]
call fcn.00406a1c
test al, al
jne 0x406df8
lea ecx, [ebp - 0x18]
call fcn.0040238e
lea ecx, [ebp - 0x2c]
call fcn.00406908
lea ecx, [ebp - 0x10]
call fcn.0040238e
mov al, bl
call fcn.00559f4c
ret
Function at 0x407be2
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x604180]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00423880
push str.Download_and_Convert_
lea ecx, [ebp + 0x328]
call fcn.0041c711
lea ebx, [ebp + 0x3a8]
push str.Also_Download_Video_
mov ecx, ebx
call fcn.0041c711
lea edi, [ebp + 0x428]
push str.Compatible_with_TV_IPhone
mov ecx, edi
call fcn.0041c711
lea esi, [ebp + 0x630]
push str.Click_Here_To_Get_Pro_Version_
mov ecx, esi
call fcn.0041c711
push 0x420
mov ecx, ebp
call fcn.0041c2d6
push str.paste_url_like:_https:__www.youtube.com_watch_vnv_5K4YDsew
mov ecx, eax
call fcn.0041c711
push 0xff0000
mov ecx, esi
call fcn.00408544
push 1
lea esi, [ebp + 0x1d8]
push 0
mov ecx, esi
call fcn.00427bcb
mov ecx, 0x62cc64
call fcn.004026bb
push eax
mov ecx, esi
call fcn.0041c711
push dword [0x62cc7c]
mov ecx, ebx
call fcn.004084d0
push dword [0x62cc84]
mov ecx, edi
call fcn.004084d0
xor ebx, ebx
lea ecx, [ebp + 0x5a8]
push ebx
call fcn.0041c268
push 0x64
push ebx
lea ecx, [ebp + 0x528]
call fcn.00408515
cmp dword [0x62cc80], 1
mov ecx, ebp
je 0x407cd6
call 0x40870b
jmp 0x407cdb
call 0x4087ae
lea ecx, [ebp + 0x158]
call fcn.0041c63b
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, 0x608b9c
push eax
call fcn.0040265d
mov edi, 0x5a6490
mov ecx, ebp
push edi
push edi
push 0x3fd
call fcn.0041c2d6
mov ecx, eax
call fcn.004075bc
mov esi, dword [sym.imp.UxTheme.dll_SetWindowTheme]
push eax
call esi
push edi
push edi
push 0x3fe
mov ecx, ebp
call fcn.0041c2d6
mov ecx, eax
call fcn.004075bc
push eax
call esi
push edi
push edi
push 0x43b
mov ecx, ebp
call fcn.0041c2d6
mov ecx, eax
call fcn.004075bc
push eax
call esi
push edi
push edi
push 0x3fb
mov ecx, ebp
call fcn.0041c2d6
mov ecx, eax
call fcn.004075bc
push eax
call esi
push edi
push edi
push 0x43e
mov ecx, ebp
call fcn.0041c2d6
mov ecx, eax
call fcn.004075bc
push eax
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.00559f3e
add esp, 0x10c
ret
Function at 0x4094f8
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x58c4b6
call fcn.00559f7e
push str.196BB40D_1578_3D01_B289_BEFC77A11A1E
call sub.msi.dll_MsiRecordGetInteger
push 5
pop ebx
cmp eax, ebx
je 0x409640
push str.DA5E371C_6333_3D8A_93A4_6FD5B20BCC6E
call sub.msi.dll_MsiRecordGetInteger
cmp eax, ebx
je 0x409640
push str.F0C3E5D1_1ADE_321E_8167_68EF0DE699A5
call sub.msi.dll_MsiRecordGetInteger
cmp eax, ebx
je 0x409640
push str.1D8E6291_B0D5_35EC_8441_6616F567A0F7
call sub.msi.dll_MsiRecordGetInteger
cmp eax, ebx
je 0x409640
push str._vcredist_x86.exe
lea eax, [ebp - 0x10]
push 0x62cb40
push eax
call fcn.00402728
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004026bb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x409634
mov eax, dword [ebp + 8]
push 0x62cc8c
push 0x62cc90
mov edi, dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.004026be
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004026bb
push str._download_updates_vcredist_x86.exe
mov esi, eax
lea eax, [ebp - 0x14]
push 0x62cb44
push eax
call fcn.00402728
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004026bb
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Upgrading_library
mov ebx, eax
call fcn.00401f7c
push edi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Please_wait.
mov byte [ebp - 4], 3
call fcn.00401f7c
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Upgrading_Microsoft_runtime_library_for_the_first_running..
mov byte [ebp - 4], 4
call fcn.00401f7c
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
mov ecx, esp
push eax
call fcn.00404f4f
push ebx
mov ecx, 0x62ba80
mov byte [ebp - 4], 2
call fcn.0040d2c2
lea ecx, [ebp - 0x14]
call fcn.0040238e
lea ecx, [ebp - 0x18]
call fcn.0040238e
lea ecx, [ebp - 0x10]
call fcn.0040238e
xor eax, eax
jmp 0x409643
xor eax, eax
inc eax
call fcn.00559f4c
ret
Function at 0x40bdb4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x58ca31
call fcn.00559f7e
mov ebx, ecx
xor edi, edi
push ecx
xor esi, esi
mov dword [ebp - 0x10], edi
lea eax, [ebp + 0xc]
mov ecx, esp
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.00404f4f
mov ecx, ebx
call 0x40bc3e
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x40bdec
cmp eax, 2
jne 0x40be0e
lea ecx, [ebx + 0xc]
call fcn.004026bb
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebx], eax
test eax, eax
je 0x40be1f
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.00404f4f
jmp 0x40beaa
lea ecx, [ebp + 0xc]
call fcn.004026bb
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x10]
push ecx
push edi
lea ecx, [ebp - 0x1c]
push ecx
push edi
push eax
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov dword [ebp - 0x10], eax
call fcn.004239fc
pop ecx
lea ecx, [ebp + 0xc]
mov edi, eax
call fcn.004026bb
lea ecx, [ebp - 0x10]
push ecx
push edi
lea ecx, [ebp - 0x1c]
push ecx
push 0
push eax
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
call fcn.00401fff
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040265d
push edi
call fcn.00423a05
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 0x40be9c
lea eax, [ebp - 0x14]
push eax
call fcn.00404f4f
lea ecx, [ebp - 0x14]
call fcn.0040238e
lea ecx, [ebp + 0xc]
call fcn.0040238e
lea ecx, [ebp + 0x10]
call fcn.0040238e
mov eax, dword [ebp + 8]
call fcn.00559f4c
ret 0xc

Function at 0x40fa88
Capabilities:
Create process on windows
Create process suspended
Move file

Disassembly:
push 0x58
mov eax, 0x58d0f0
call fcn.00559fe8
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 fcn.00566f00
add esp, 0xc
mov dword [ebp - 0x64], esi
xor ebx, ebx
lea ecx, [ebp + 0xc]
inc ebx
or dword [ebp - 0x38], ebx
mov word [ebp - 0x34], bx
call fcn.004026bb
lea ecx, [ebp + 8]
mov esi, eax
call fcn.004026bb
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, 0x62cb40
call fcn.004026bb
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.004031fb
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
jne 0x40fb24
jmp 0x40fb0c
lea ecx, [ebp + 8]
call fcn.0040238e
lea ecx, [ebp + 0xc]
call fcn.0040238e
call fcn.00559f4c
ret 8
push ebx
call fcn.005732d0
int3
Function at 0x411e01
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x604180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.00566f00
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.0057884f
push eax
call fcn.00402a53
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x5b4908]
je 0x411f5f
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x411f73
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x411f73
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x411ebd
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x411eb1
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00411aa5
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x411eb8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411ebf
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041210e
test eax, eax
je 0x411ee6
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004118b2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x411eea
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041210e
test eax, eax
je 0x411f11
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.004118b2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x411f15
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041210e
test eax, eax
je 0x411f3d
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.004118b2
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x411f3f
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x411f51
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x411f5f
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559f3e
leave
ret 4
xor eax, eax
jmp 0x411f62
Function at 0x412156
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x412197
push 0x5a9948
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4121a6
push str.SetFileAttributesTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4121a6
push dword [esi]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x5a4a38]
call edi
jmp 0x4121a8
cmp dword [esi + 4], 0
je 0x4121a6
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8