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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x19
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4e507b
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x218]
push edi
push edx
push edi
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x214], edi
push edx
push edi
mov dword [ebp - 0x218], edi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4e507b
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5f1aac
push edi
push dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4e507b
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push dword [ebp - 0x214]
call fcn.004e4ed1
mov eax, dword [ebp - 0x214]
pop ecx
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00474d9e
mov esp, ebp
pop ebp
ret

Function at 0x4e523a
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4e5307
push 0x5f1c38
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4e5307
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4e5306
push edi
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4e5305
push edi
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4e52fe
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], esi
push eax
push 0x6578fc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4e52fe
mov eax, dword [ebp - 0x210]
mov esi, dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x4e5318
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2bc]
push eax
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x2bc], ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x4e53a9
push edi
mov edi, 0x2b4
lea eax, [ebp - 0x2b8]
push edi
push ebx
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x208
push edi
push eax
push ebx
push dword [ebp - 0x2bc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop edi
setne bl
test bl, bl
je 0x4e539d
push 0x208
lea eax, [ebp - 0x2ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp - 0x2bc]
call dword [sym.imp.SHELL32.dll_ILFree]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret 8

Function at 0x4e53bd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x10
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4e548b
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x218]
push edi
push edx
push edi
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x214], edi
push edx
push edi
mov dword [ebp - 0x218], edi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4e548b
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5f1aac
push edi
push dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4e548b
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push dword [ebp - 0x214]
call fcn.004e4ed1
mov eax, dword [ebp - 0x214]
pop ecx
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x4e6e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
xor edi, edi
push 0x208
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004024f0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00474d9e
mov esp, ebp
pop ebp
ret

Function at 0x4e6e86
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
xor edi, edi
push 0x208
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004024f0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00474d9e
mov esp, ebp
pop ebp
ret

Function at 0x4e6eec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004024f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x4e6f51
Capabilities:
Check mutex on windows

Disassembly:
push 0x388
mov eax, 0x5565ba
call fcn.00514880
mov dword [ebp - 0x388], ecx
push 0x5a
pop ecx
mov esi, str.JK52cBfM7aTJR1yH8oIkVwmpzpexE4VUOqATF09K9sm78gKyTmv0Y814xE7FEU5VFEld0T4C6dDn8jEn4RoZHjMLTfhvABb2FPvWEsKw3l2pCOiLZroIRxWsXfneitlPIwrfoRQgukvSVyXTIVfBj3Nf6n6YjPj8sh7ugtn6WmZ1WdBrk5GYEXsBrVN3SrtDlMDa1nlV2m6fb2jgYLY4n7Yea8VuKgFdpTA3qXbJUSlefm0ERucrC6aki463Glsq3HQM1aegbufDnFltG6GfEcx7YTT4glSq5hjoVv9eNTGevyMcFfPYGNyxu4Rlk4QqXRAMloL381j283gyRfoUWLdxRnAcyu5qKbHKmJGGu
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x17c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
push 0x7b
pop ecx
mov dword [ebp - 0x394], eax
movsw word es:[edi], word [esi]
mov esi, str.59hdGQhal49NqXqeP21p9Wvez4JjxRVk47ZlN5AJmMKR89mg5P5bBcJgBMACpF3dLqyzwgAYR0jyCYoIHXtCoD9n8AOImCZe4ot61Va3wBjfJmsKoBfLiD29dWOaNm8pRq0djDy3NnmRJVl08T6pIwSDbFGGtTOzCSx7YpjAv8uot3Czat1rU6krxxPmlfWENI8gNqqi2CrGR2l7p11JmRNJZKaEIh73kGoqY8I9ZP11lDt8bSrgY8tUaxU22dQb2ZUk3IjNDWXu1A51JsPmTftI7YuNq93QExLfzpjVEFNTj9K2c5am68oJybC1nRTiYkcn1rXDVYNerNBMD9nQMcn5z4nKIo3drZDPvXNnNu6AYqu7b4PyQJxzpcIUhK42s476IeQsmn5wBm6pkxPmLB8qbFsS5DDgCtBjkar6PNt4O7YMp0fWbrEzJyaanXwEnEybWRm19ALv4fI9ylbXnoJVc92Qr4A8gn68AOYBfw92OT
mov dword [ebp - 0x390], eax
lea edi, [ebp - 0x36c]
mov dword [ebp - 0x38c], eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x384]
lea eax, [ebp - 0x17c]
push eax
call fcn.004057d0
lea eax, [ebp - 0x384]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x394]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0
call fcn.00479e2e
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x384]
call fcn.004057d0
lea eax, [ebp - 0x384]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x394]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x384]
call fcn.00479e2e
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [ebp - 0x388]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x394]
call fcn.00479e80
mov eax, ebx
call fcn.0051483b
ret 4

Function at 0x4e7f29
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4e870b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x4e876a
push esi
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.00474ddd
pop ecx
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push ebx
call fcn.004f0f60
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e89e0
Capabilities:
Create directory

Disassembly:
push 0x49c
mov eax, 0x5567ca
call fcn.00514880
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4e89ff
xor eax, eax
jmp 0x4e8b83
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004f14e0
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00501f10
push edi
xor esi, esi
call fcn.00501680
mov edi, eax
mov dword [ebp - 0x214], 7
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x228], ax
push 0x100
push ecx
lea eax, [ebp - 0x210]
mov dword [ebp - 4], ecx
push eax
call fcn.004f14e0
add esp, 0x24
cmp byte [ebp + edi - 0x111], 0x5c
je 0x4e8a6e
mov byte [ebp + edi - 0x110], 0x5c
cmp byte [ebp - 0x110], 0
je 0x4e8b71
mov al, byte [ebp + esi - 0x110]
cmp al, 0x3a
jne 0x4e8a8e
add esi, 2
jmp 0x4e8b63
cmp al, 0x5c
jne 0x4e8b62
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004f0f60
add esp, 0xc
cmp esi, 0x100
jae 0x4e8b9f
lea eax, [ebp - 0x210]
mov byte [ebp + esi - 0x210], 0
push eax
lea ecx, [ebp - 0x240]
call fcn.004057d0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x258]
mov ecx, ebx
push eax
call fcn.004e90f1
push eax
lea ecx, [ebp - 0x228]
call fcn.00403fe0
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.00402590
push 0
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
call fcn.00479e2e
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x4a8]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4e8b62
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4e8b8b
inc esi
cmp byte [ebp + esi - 0x110], 0
jne 0x4e8a7b
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00402590
xor eax, eax
inc eax
call fcn.0051483b
ret 4
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00402590
jmp 0x4e89f8
call fcn.004752b6
int3

Function at 0x4e90c3
Capabilities:
Create thread

Disassembly:
mov edx, dword [ecx + 0x300]
or eax, 0xffffffff
cmp edx, eax
je 0x4e90d5
cmp edx, 1
jne 0x4e90f0
xor eax, eax
push eax
push eax
push ecx
push 0x4e8e61
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
Function at 0x4eab1b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x4eabb0
lea ecx, [eax + 0x80]
add eax, 0x100
dec edi
mov dword [ebp - 0x14], ecx
shr edi, 3
inc edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
mov edx, ebx
mov ecx, esi
push 8
sub edx, esi
pop edi
mov al, byte [edx + ecx]
mov byte [ecx], al
inc ecx
sub edi, 1
jne 0x4eab60
push 8
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.004f0f60
push esi
push esi
push dword [ebp - 0x14]
call fcn.004e9e04
mov edx, dword [ebp - 0x18]
add esp, 0x18
xor ecx, ecx
mov al, byte [edx + ecx]
xor byte [esi + ecx], al
inc ecx
cmp ecx, 8
jl 0x4eab89
push 8
lea eax, [ebp - 0xc]
push eax
push edx
call fcn.004f0f60
add esp, 0xc
add ebx, 8
add esi, 8
sub dword [ebp - 0x10], 1
jne 0x4eab57
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret

Function at 0x4eda26
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [eax + 0x210]
mov esi, dword [edi]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x4edaf3
lea edi, [esi + 0x28]
lea ecx, [ebx + 0xa8]
mov dword [ebp + 8], edi
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f1ed0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f1ed0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f1ed0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f1ed0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.00501e80
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x4edacf
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.00501e80
pop ecx
pop ecx
test eax, eax
je 0x4edb10
mov eax, 0x1b0
lea ecx, [ebx + 0xa8]
add edi, eax
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
jne 0x4eda59
mov edi, dword [ebp - 8]
lea eax, [ebx + 0xa8]
push eax
call fcn.00501680
pop ecx
test eax, eax
je 0x4edb10
push ebx
mov ecx, edi
call fcn.004ee42f
mov al, 1
jmp 0x4edb12
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ee372
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 0x114
push edi
push ebx
xor edi, edi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004f14e0
add esp, 0xc
mov dword [ebp - 0x118], ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x4ee3d3
mov ecx, esi
call fcn.004eddec
jmp 0x4ee3e8
mov ebx, edi
test edi, edi
jne 0x4ee3e8
mov ecx, esi
call fcn.004edcc7
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x4ee3d5
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret

Function at 0x4ee69a
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4ee6e2
xor eax, eax
jmp 0x4ee7cc
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004f14e0
add esp, 0xc
mov dword [ebp - 0x41c], 0x104
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push 0x657910
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ee7ae
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.00501716
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ee6db
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.00501787
pop ecx
pop ecx
jmp 0x4ee7c9
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.00501787
pop ecx
pop ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret 4
Function at 0x4ee85a
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x208
push edi
push eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x21c], edi
call fcn.004f14e0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
add esp, 0xc
mov ebx, 0x20019
push eax
push ebx
push edi
push 0x6579fc
push SysReAllocString
call esi
test eax, eax
je 0x4ee8ca
xor eax, eax
jmp 0x4ee998
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x4ee8c3
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x4ee8c3
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x657910
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x214]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.004fc0ec
mov edi, 0x5b618c
push edi
push eax
call fcn.004f0895
add esp, 0xc
test eax, eax
je 0x4ee8c3
lea esi, [eax + 2]
push edi
push esi
call fcn.004f0895
pop ecx
pop ecx
test eax, eax
je 0x4ee8c3
xor ecx, ecx
push esi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x4eecf2
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00474db0
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push edi
mov edi, 0x800
xor ebx, ebx
push edi
push ebx
push eax
call fcn.004f14e0
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.004f14e0
add esp, 0x18
lea eax, [ebp - 0x1fa4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x647718
push 0x647778
call fcn.005017a9
pop ecx
lea eax, [ebp + eax*2 - 0x1fa4]
push eax
call fcn.00501787
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.00501787
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.00501787
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.00501716
add esp, 0x20
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4eedc2
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.004cec04
add esp, 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret 4

Function at 0x4ef153
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
cmp dword [esi + 0x14], 8
jb 0x4ef167
mov eax, dword [esi]
jmp 0x4ef169
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ef1cd
push 0x648884
call fcn.005017a9
pop ecx
push eax
push 0x648884
lea ecx, [edi + 0x34]
call fcn.00402650
cmp dword [esi + 0x14], 8
jb 0x4ef197
mov eax, dword [esi]
jmp 0x4ef199
mov eax, esi
push dword [ebp + 8]
mov ecx, edi
push eax
call fcn.004ef0c0
test eax, eax
jne 0x4ef1cd
cmp dword [esi + 0x14], 8
jb 0x4ef1b2
mov eax, dword [esi]
jmp 0x4ef1b4
mov eax, esi
push 0
push 0
push dword [ebp + 8]
push eax
call fcn.004cec04
add esp, 0x10
test eax, eax
je 0x4ef1cd
xor eax, eax
inc eax
jmp 0x4ef235
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x4ef1d8
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ef233
push 0x648890
call fcn.005017a9
pop ecx
push eax
push 0x648890
lea ecx, [edi + 0x34]
call fcn.00402650
cmp dword [esi + 0x14], 8
jb 0x4ef206
mov eax, dword [esi]
jmp 0x4ef208
mov eax, esi
push dword [ebp + 8]
mov ecx, edi
push eax
call fcn.004ef0c0
test eax, eax
jne 0x4ef233
cmp dword [esi + 0x14], 8
jb 0x4ef21f
mov esi, dword [esi]
push 0
push 0
push dword [ebp + 8]
push esi
call fcn.004cec04
add esp, 0x10
test eax, eax
jne 0x4ef1c8
xor eax, eax
pop edi
pop esi
pop ebp
ret 4