joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b7c0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502a00
mov eax, dword fs:[0]
push eax
sub esp, 0xc88
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc90], ecx
test esi, esi
je 0x48b9b8
test edi, edi
je 0x48b9b8
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48b81f
mov ecx, edi
call fcn.0045be40
push 0x51d674
push esi
push 0x51d648
lea eax, [ebp - 0xa3c]
push 0x104
push eax
mov ebx, 1
call fcn.004e7763
add esp, 0x14
lea ecx, [ebp - 0xc8c]
push ecx
lea edx, [ebp - 0xa3c]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc94], eax
cmp eax, 0xffffffff
je 0x48b9b8
cmp word [ebp - 0xc60], 0x2e
je 0x48b98b
test byte [ebp - 0xc8c], 0x10
je 0x48b923
lea eax, [ebp - 0xc60]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.004e7763
lea eax, [ebp - 0xc60]
push eax
push edi
push str._s_s_
lea ecx, [ebp - 0x62c]
xor edx, edx
push 0x104
push ecx
mov word [ebp - 0x16], dx
call fcn.004e7763
add esp, 0x28
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x21c]
xor edx, edx
push ecx
mov ecx, dword [ebp - 0xc90]
mov word [ebp - 0x426], dx
call fcn.0048b7c0
jmp 0x48b989
lea edx, [ebp - 0xc60]
push edx
push esi
push 0x51d648
lea eax, [ebp - 0x834]
push 0x104
push eax
call fcn.004e7763
lea edx, [ebp - 0xc60]
push edx
push edi
push 0x51d648
lea eax, [ebp - 0x424]
xor ecx, ecx
push 0x104
push eax
mov word [ebp - 0x62e], cx
call fcn.004e7763
add esp, 0x28
xor ecx, ecx
push ecx
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x834]
push eax
mov word [ebp - 0x21e], cx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
mov edx, dword [ebp - 0xc94]
lea ecx, [ebp - 0xc8c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48b86d
mov eax, dword [ebp - 0xc94]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x48b9ba
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e4900
mov esp, ebp
pop ebp
ret 8
Function at 0x48b9e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff776
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x62c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x630], ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
mov byte [ebp - 4], 1
push ecx
mov word [ebp - 0x218], ax
call fcn.004e95e0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push ebx
push ebx
push 0x19
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x525940
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x62c]
push ecx
push 0x50f8bc
push 1
push ebx
push 0x50f8fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x62c]
cmp eax, ebx
je 0x48bbc8
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x630]
push ecx
push 0x50f90c
push eax
call edx
mov esi, dword [ebp - 0x630]
cmp esi, ebx
je 0x48bc13
push 0x206
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x420], ax
call fcn.004e95e0
add esp, 0xc
push 2
lea eax, [ebp - 0x218]
mov dword [ebp - 0x634], ebx
mov edx, dword [esi]
mov ecx, dword [edx + 0x14]
push eax
push esi
call ecx
test eax, eax
setns al
cmp al, bl
je 0x48bbc2
push 0x206
lea eax, [ebp - 0x626]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x628], dx
call fcn.004e95e0
mov eax, dword [ebp - 0x62c]
mov ecx, dword [eax]
add esp, 0xc
push ebx
push ebx
push 0x104
lea edx, [ebp - 0x628]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp - 0x62c]
mov ecx, dword [eax]
lea edx, [ebp - 0x634]
push edx
push 0x104
lea edx, [ebp - 0x420]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov eax, dword [ebp - 0x62c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x420]
cmp word [ebp - 0x420], bx
jne 0x48bb69
lea edx, [ebp - 0x628]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [ebp - 0x630]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x218]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setns cl
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x630]
mov esi, ecx
cmp eax, ebx
je 0x48bba5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x62c]
cmp eax, ebx
je 0x48bbbe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x48bbf8
mov eax, dword [ebp - 0x62c]
mov esi, dword [ebp - 0x630]
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x48bbe3
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x48bbf6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4900
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x62c]
jmp 0x48bbce
Function at 0x48d1e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
push esi
je 0x48d261
push eax
call fcn.004e7db1
mov esi, eax
mov eax, dword [ebp + 8]
push 0x2e
push eax
call fcn.004e770e
add esp, 0xc
test eax, eax
je 0x48d25e
add eax, 2
push eax
call fcn.004e7db1
add esp, 4
cmp esi, 5
jg 0x48d253
jne 0x48d21f
cmp eax, 0x20
jge 0x48d253
push str.MediaLibrary:_old_version_is_less_than_5.32_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d249
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
pop ebp
ret 4
push str.MediaLibrary:_Not_need_restart_explorer__version_is_greater_than_5.32_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d27d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x48daa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push esi
add eax, eax
lea edx, [ebp + 8]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.UninstallString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48db0f
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x48dade
cmp eax, 2
jne 0x48daf9
mov eax, dword [ebp - 4]
test esi, esi
je 0x48db09
test eax, eax
je 0x48db04
test al, 1
jne 0x48daf9
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x48db09
mov eax, 0xd
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x48dc50
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x28]
push 1
push eax
mov dword [esi], vtable.CInstallPageManager.0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x48dc7d
push eax
call edi
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x48dc8e
push eax
call edi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x20], vtable.CSHManage.0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x48dca5
push esi
call fcn.004e4e21
add esp, 4
pop edi
pop esi
ret
Function at 0x48dcb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp + 8]
mov dword [esi + 0x2c], eax
call fcn.0048e060
test eax, eax
je 0x48dce8
push edi
push edi
push esi
push 0x48f710
push edi
push edi
call fcn.004e5bd8
add esp, 0x18
mov dword [esi + 0x28], eax
jmp 0x48dcf5
mov eax, dword [esi + 0x2c]
push eax
mov dword [esi + 0x24], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
add esi, 0xc
cmp eax, edi
je 0x48dd0a
push eax
call fcn.004e4e21
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
cmp edi, edi
jb 0x48dd2a
lea eax, [edi + 1]
call fcn.0048f800
test al, al
jne 0x48dd2a
push 0x8007000e
call fcn.0045a490
mov ecx, dword [esi]
lea eax, [ecx + edi*4]
mov ebx, 1
test eax, eax
je 0x48dd3a
mov dword [eax], ebx
add dword [esi + 4], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x48dd5b
lea eax, [edi + 1]
call fcn.0048f800
test al, al
jne 0x48dd5b
push 0x8007000e
call fcn.0045a490
mov edx, dword [esi]
lea eax, [edx + edi*4]
test eax, eax
je 0x48dd6a
mov dword [eax], 2
add dword [esi + 4], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x48dd8b
lea eax, [edi + 1]
call fcn.0048f800
test al, al
jne 0x48dd8b
push 0x8007000e
call fcn.0045a490
mov eax, dword [esi]
lea eax, [eax + edi*4]
test eax, eax
je 0x48dd9a
mov dword [eax], 3
add dword [esi + 4], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x48ddbb
lea eax, [edi + 1]
call fcn.0048f800
test al, al
jne 0x48ddbb
push 0x8007000e
call fcn.0045a490
mov ecx, dword [esi]
lea eax, [ecx + edi*4]
test eax, eax
je 0x48ddca
mov dword [eax], 4
add dword [esi + 4], ebx
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jb 0x48ddeb
lea eax, [edi + 1]
call fcn.0048f800
test al, al
jne 0x48ddeb
push 0x8007000e
call fcn.0045a490
mov edx, dword [esi]
lea eax, [edx + edi*4]
test eax, eax
je 0x48ddfa
mov dword [eax], 5
add dword [esi + 4], ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 4], 0
pop esi
mov al, bl
pop ebx
pop ebp
ret 4

Function at 0x48e060
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x48e0a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x48e09e
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x48e09e
mov al, byte [ebp - 4]
test al, 0x20
jne 0x48e09e
test al, 7
jne 0x48e0a4
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.0048e0e0
mov esi, eax
call fcn.0048e750
mov edi, eax
call fcn.0048edd0
test esi, esi
jne 0x48e0ce
test edi, edi
jne 0x48e0ce
test eax, eax
jne 0x48e0ce
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48f8a0
Capabilities:
Check if file exists
Create directory
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5094ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CLogEncryption.0
lea eax, [edi + 0x84]
mov dword [edi + 0xc4], eax
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
mov dword [edi + 0x14], 0xc3d2e1f0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc8], vtable.CBase64.0
mov dword [edi + 0xd0], vtable.CRSA.0
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00490820
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x48f953
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004596a0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48f981
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], esi
jle 0x48f976
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004596a0
mov eax, dword [ebp - 0x10]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48f9a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x48f9c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov dword [esi], vtable.CLogEncryption.0
mov dword [esi + 0xd0], vtable.CRSA.0
mov dword [esi + 0xc8], vtable.CBase64.0
xor eax, eax
test byte [ebp + 8], 1
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov dword [esi + 0x14], 0xc3d2e1f0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
je 0x48fa1a
push esi
call fcn.004e4e21
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x490650
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5094a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x551f18
mov dword [ebp - 0x18], esi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x4906bc
test ebx, 0xffff0000
jne 0x4906bc
movzx edi, bx
call fcn.00459260
test eax, eax
je 0x4906c4
push eax
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.0045f840
jmp 0x4906c4
lea eax, [ebp - 0x10]
call fcn.0045f6d0
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.00490c70
lea esi, [ebp - 0x14]
call fcn.00490820
push 0xa
push str.upload.dat
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0045b450
mov ecx, dword [ebp - 0x14]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4907ba
lea edx, [ebp - 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp - 0x10]
cmp dword [edi - 4], 1
mov ebx, dword [edi - 0xc]
jle 0x490747
push ebx
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045f750
mov edi, dword [ebp - 0x10]
push 0
lea edx, [ebp - 0x18]
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x490780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4907a3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4907dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x490803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490980
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5089c1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov edi, 1
mov dword [ebp - 4], edi
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
push 0x288
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], 0x288
call fcn.004e5485
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x490a7c
lea edx, [ebp - 0x10]
push edx
mov esi, ebx
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x490a09
cmp eax, 0x6f
jne 0x490a7c
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e5485
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x490a29
push ebx
call fcn.004e4e21
mov esi, edi
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x490a89
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x490a7c
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
mov edi, dword [ebp + 8]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X
call fcn.00459840
add esp, 0x1c
test esi, esi
je 0x490a89
push esi
call fcn.004e4e21
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x491f40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 0xc], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jg 0x491f6a
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e4818
add esp, 4
push eax
push esi
xor esi, esi
push esi
push edi
mov dword [ebx + 0x38], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x491f62
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x51d5c8
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x491f62
mov esi, dword [ebp - 4]
lea edi, [ebx + 4]
mov ecx, 0xd
mov dword [ebp - 0x10], edi
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push str.VarFileInfoTranslation
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x491fe0
cmp dword [ebp - 8], 4
jb 0x491fe0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebx + 0x3c], edx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx], 0xfeef04bd
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x492c60
Capabilities:
Get common file path

Disassembly:
push edi
push 1
push 0x1a
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x492ca1
add edi, 0xfffffffe
jmp 0x492c80
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x492c80
push esi
mov ecx, 0x15
mov esi, 0x527cf8
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x492cb0
Capabilities:
Get common file path

Disassembly:
push edi
push 1
push 0x1a
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x492cf1
add edi, 0xfffffffe
jmp 0x492cd0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x492cd0
push esi
mov ecx, 0x1f
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x492fc0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x20
lea edx, [eax + 2]
jmp 0x492fd0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492fd0
sub eax, edx
sar eax, 1
push esi
mov esi, eax
xor ecx, ecx
lea eax, [esi + 2]
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.004e4818
mov edi, eax
mov edx, edi
add esp, 4
mov eax, ebx
sub edx, ebx
jmp 0x493010
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x493010
xor eax, eax
mov dword [edi + esi*2], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 4], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 6], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov edx, 0x614
push ecx
mov word [ebp - 0x10], dx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
push edi
sbb esi, esi
call fcn.004e4960
add esp, 4
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x494b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.004ac280
Function at 0x4969d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 4], edi
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x218]
mov eax, dword [eax]
or ebx, 0x2001f
mov dword [ebp - 0x228], edi
cmp esi, edi
je 0x496a52
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.0048db20
xor edi, edi
jmp 0x496a63
lea edx, [ebp - 0x228]
push edx
push ebx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x496b5c
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x496a86
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x228]
and ebx, 0x300
mov dword [ebp - 0x21c], edi
mov esi, eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ebx
cmp eax, edi
jne 0x496b5c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x238]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push edi
push ecx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
jne 0x496b2c
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004969d0
mov ebx, eax
cmp ebx, edi
jne 0x496ba0
lea edx, [ebp - 0x238]
push edx
mov edx, dword [ebp - 0x220]
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push edi
push edx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
je 0x496ae0
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496b43
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], edi
call fcn.00496c20
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496b7a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, esi
mov dword [ebp - 0x21c], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e4900
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496bbe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x496b7c