joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473fe0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x118]
mov ebx, 0x114
push eax
mov esi, ecx
mov dword [ebp - 0x118], ebx
call edi
cmp dword [ebp - 0x114], 6
jne 0x474030
cmp dword [ebp - 0x110], 1
jne 0x474030
push 0x51fa04
mov ebx, 1
jmp 0x47405a
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], ebx
call edi
cmp dword [ebp - 0x114], 5
jne 0x474063
mov ebx, 1
cmp dword [ebp - 0x110], ebx
jne 0x474063
push 0x51fa08
lea eax, [esi + 0x64]
push eax
call fcn.00459510
call fcn.0045d310
add esi, 0x68
mov ebx, 1
test al, al
je 0x47407b
push 0x51fa08
jmp 0x474080
push 0x51fa04
push esi
call fcn.00459510
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
Function at 0x474dd0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0x51d754
push edi
xor ebx, ebx
xor esi, esi
call fcn.00459510
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 5
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x474e41
mov edx, dword [ebp - 4]
cmp edx, esi
jne 0x474e0f
xor eax, eax
jmp 0x474e23
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x474e14
sub eax, ebx
sar eax, 1
push edx
push edi
mov ebx, eax
call fcn.00459510
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x474f30
Capabilities:
Create thread

Disassembly:
mov ecx, dword [ebx + 0xbc]
push esi
mov esi, dword [ebx + 0xb8]
cmp esi, ecx
je 0x474f64
mov eax, ecx
sub eax, ecx
push edi
sar eax, 2
lea edi, [eax*4]
push edi
push ecx
push esi
call fcn.004e4dd0
add esp, 0xc
add edi, esi
mov dword [ebx + 0xbc], edi
pop edi
push 0
push 0
push ebx
push 0x4752f0
push 0
push 0
call fcn.004e6038
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x474f90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x14], 0
call fcn.004e9a40
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x474fff
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [ebp - 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x47f920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c6d6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
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
mov eax, dword [edi + 0x5c]
sub eax, 0x10
call fcn.0045d030
lea ebx, [eax + 0x10]
mov dword [ebp - 0x224], ebx
lea esi, [ebp - 0x220]
mov eax, edi
mov dword [ebp - 4], 0
call fcn.00474f00
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x220]
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
neg eax
sbb eax, eax
push esi
inc eax
push ebx
mov ecx, edi
mov dword [edi + 0x44], eax
call fcn.0048b9b0
push 0
push ebx
mov dword [ebp - 0x21c], eax
call fcn.0045c7d0
add esp, 8
cmp dword [ebp - 0x21c], 0
jne 0x47f9ff
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f9d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f9f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ea
jmp 0x47fa88
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.004e9a40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
add esi, 0xfffffff0
mov dword [edi + 0x40], eax
mov byte [ebp - 4], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x47fa60
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fa83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.004e4d50
mov esp, ebp
pop ebp
ret
Function at 0x4872f0
Capabilities:
Create thread
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50afc8
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
mov edi, ecx
push 0
push 0
push edi
push 0x48cde0
push 0
push 0
call fcn.004e6038
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x10], esi
call ebx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xb4]
sub eax, 0x10
call fcn.0045d030
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
je 0x48736b
mov esi, eax
call fcn.00488e90
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x487380
add edi, 0xb8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1f41
call fcn.0048d730
call ebx
cmp byte [0x554092], 0
je 0x4873dd
sub eax, dword [ebp - 0x14]
mov edi, 0x55ae78
push eax
push 0x525d6c
push 0x5200e4
call fcn.00459850
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x55ad7c]
test eax, eax
je 0x4873dd
mov ecx, dword [0x55ae78]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.004e89c0
mov ecx, dword [0x55ad7c]
push ecx
call fcn.004e5f17
add esp, 0x14
call ebx
mov edi, eax
test esi, esi
je 0x4873f5
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
cmp byte [0x554092], 0
je 0x487451
sub eax, edi
push eax
push 0x525d84
push 0x5200e4
mov edi, 0x55ae78
call fcn.00459850
mov edx, dword [0x55ae78]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x55ad7c]
test eax, eax
je 0x487451
mov ecx, dword [0x55ae78]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.004e89c0
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5f17
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487477
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x488c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ae0c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00459600
push eax
lea edx, [ebp - 0x230]
push edx
mov ebx, str.BaofengStormPlayerProfilesConfig.ini
mov dword [ebp - 4], 0
call fcn.0045ce60
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488d17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0xb4]
push ecx
lea edx, [ebp - 0x234]
push edx
mov ebx, str.crt.dll
call fcn.0045ce60
add esp, 8
mov bl, 3
mov byte [ebp - 4], bl
cmp dword [esi + 0x4c], 0
jne 0x488d51
mov eax, dword [ebp - 0x234]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0x4c], eax
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x228]
push ecx
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x222]
movzx eax, word [ebp - 0x226]
movzx ecx, word [ebp - 0x228]
push edx
push eax
push ecx
push str._4d_.2d_.2d
lea edi, [ebp - 0x22c]
call fcn.00459850
mov edx, dword [ebp - 0x230]
mov edi, dword [ebp - 0x22c]
add esp, 0x10
push edx
push edi
push 0x51cf6c
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x488dff
push str.CrtSetInstallDate
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x488dff
cmp dword [edi - 4], 1
jle 0x488df9
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004596a0
mov edi, dword [ebp - 0x22c]
push edi
call esi
add esp, 4
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x488e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488e44
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 - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488e6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
Function at 0x488e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffc18
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x488f0d
mov dword [ebp - 0x54], vtable.CAccessRight.0
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x4e]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x50], ax
call fcn.004e9a40
add esp, 0xc
push 0x20
push 0x51d5f4
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0045b590
add esp, 0xc
mov eax, 1
jmp 0x488f0f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret

Function at 0x489110
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50beab
mov eax, dword fs:[0]
push eax
sub esp, 0x674
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 ebx, ecx
test esi, esi
jne 0x489151
xor eax, eax
jmp 0x48920e
push 0x51d674
push esi
push 0x51d648
lea eax, [ebp - 0x428]
push 0x104
push eax
mov edi, 1
call fcn.004e7bbd
add esp, 0x14
lea ecx, [ebp - 0x678]
push ecx
lea edx, [ebp - 0x428]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x680], eax
cmp eax, 0xffffffff
je 0x48914a
cmp word [ebp - 0x64c], 0x2e
je 0x4891e7
test byte [ebp - 0x678], 0x10
je 0x48922c
lea eax, [ebp - 0x64c]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x220]
push 0x104
push ecx
call fcn.004e7bbd
add esp, 0x14
push 1
lea eax, [ebp - 0x220]
xor edx, edx
push eax
mov ecx, ebx
mov word [ebp - 0x1a], dx
call fcn.00489110
mov edi, eax
mov edx, dword [ebp - 0x680]
lea ecx, [ebp - 0x678]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48919b
mov eax, dword [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 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.004e4d50
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
je 0x4891e7
lea ecx, [ebp - 0x67c]
push ecx
lea ecx, [ebp - 0x64c]
call fcn.00459600
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x67c]
push str.ASBarBroker.exe
push edx
call fcn.004e7923
add esp, 8
test eax, eax
jne 0x48926c
push eax
push esi
call fcn.0045c7d0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x67c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4891e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4891e7
Function at 0x48b6a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dd30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x10]
call fcn.0048b8a0
mov esi, dword [ebp + 8]
add esi, 0x5c
mov edi, esi
mov dword [ebp - 4], 0
call fcn.0045cf40
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 0x48b70a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push esi
push ecx
mov ebx, str.Archive.7z
call fcn.0045ce60
add esp, 8
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x58]
mov dword [ebp - 4], 1
call fcn.0045cf40
mov dword [ebp - 4], 0xffffffff
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 0x48b754
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
call fcn.0048b830
test eax, eax
je 0x48b7db
mov eax, dword [0x55ad80]
mov edi, dword [ebx + 0x58]
push str.RESOURCE_DATA
push 0x8a
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48b7db
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004589b0
add esp, 4
test al, al
je 0x48b7db
mov ecx, dword [esi]
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebx + 0x58]
mov eax, ebx
add eax, 0x60
push eax
push ecx
mov dword [eax], 0
call fcn.0045b1f0
add esp, 8
test eax, eax
jne 0x48b7db
mov ecx, dword [ebx + 0x58]
mov edi, dword [esi]
call fcn.0045b0e0
test eax, eax
je 0x48b7f1
mov edi, ebx
add edi, 0xb8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3e9
call fcn.0048d730
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 4
mov eax, dword [ebx + 0x58]
push ecx
lea eax, [eax - 0x10]
mov dword [ebp + 8], esp
mov esi, esp
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
call fcn.0045c3e0
xor edx, edx
add esp, 4
test eax, eax
setne dl
mov eax, edx
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 0x48b8a0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.004e9a40
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x51d754
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsStormPlayer.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x102
mov dword [ebp - 0x210], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x48b942
push 0x51d754
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x48b942
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
jmp 0x48b96b
push 0x104
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.004e9a40
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.BaofengTemp_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
lea ecx, [ebp - 0x20c]
call fcn.00459600
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
Function at 0x48b9b0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502d70
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 0x48bba8
test edi, edi
je 0x48bba8
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48ba0f
mov ecx, edi
call fcn.0045be50
push 0x51d674
push esi
push 0x51d648
lea eax, [ebp - 0xa3c]
push 0x104
push eax
mov ebx, 1
call fcn.004e7bbd
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 0x48bba8
cmp word [ebp - 0xc60], 0x2e
je 0x48bb7b
test byte [ebp - 0xc8c], 0x10
je 0x48bb13
lea eax, [ebp - 0xc60]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.004e7bbd
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.004e7bbd
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.0048b9b0
jmp 0x48bb79
lea edx, [ebp - 0xc60]
push edx
push esi
push 0x51d648
lea eax, [ebp - 0x834]
push 0x104
push eax
call fcn.004e7bbd
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.004e7bbd
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 0x48ba5d
mov eax, dword [ebp - 0xc94]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x48bbaa
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.004e4d50
mov esp, ebp
pop ebp
ret 8
Function at 0x48bbd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffbe6
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.004e9a40
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 0x525990
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 0x48bdb8
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 0x48be03
push 0x206
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x420], ax
call fcn.004e9a40
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 0x48bdb2
push 0x206
lea eax, [ebp - 0x626]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x628], dx
call fcn.004e9a40
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 0x48bd59
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 0x48bd95
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 0x48bdae
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x48bde8
mov eax, dword [ebp - 0x62c]
mov esi, dword [ebp - 0x630]
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x48bdd3
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 0x48bde6
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.004e4d50
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x62c]
jmp 0x48bdbe