joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0xc
xor eax, eax
mov dword [ebp - 0x28], 7
push str.nsis_skin.gt
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 0x28], 8
jb 0x4f33c1
push dword [ebp - 0x3c]
call fcn.00412887
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x24]
push eax
call fcn.0040757d
lea eax, [ebp - 0x54]
push eax
call fcn.004ed370
mov ecx, eax
call fcn.004ed3d0
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x4f342c
cmp dword [ebp - 0x10], 8
jb 0x4f340f
push dword [ebp - 0x24]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], 7
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.004408e4
cmp dword [ebp - 0x40], 8
jb 0x4f343d
push dword [ebp - 0x54]
call fcn.00412887
add esp, 4
cmp dword [ebp - 0x10], 8
lea esi, [ebp - 0x24]
mov eax, dword [0x5ce750]
cmovae esi, dword [ebp - 0x24]
test al, 1
jne 0x4f3459
or eax, 1
mov dword [0x5ce750], eax
cmp dword [0x5ce754], 2
je 0x4f346c
mov ecx, 0x5ce754
call fcn.004480bf
mov ecx, dword [0x5ce758]
push esi
call fcn.00449136
test eax, eax
jne 0x4f3483
xor esi, esi
jmp 0x4f358f
push 0x118
call fcn.0041285f
add esp, 4
test eax, eax
je 0x4f34a3
push 0
push 0
mov ecx, eax
call fcn.00447463
mov edi, eax
jmp 0x4f34a5
xor edi, edi
push 0x148
call fcn.0041285f
add esp, 4
test eax, eax
je 0x4f34c3
push 0
mov ecx, eax
call fcn.004ee4b0
mov ebx, eax
jmp 0x4f34c5
xor ebx, ebx
mov eax, dword [0x5ce750]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
test al, 1
jne 0x4f34e4
or eax, 1
mov dword [0x5ce750], eax
cmp dword [0x5ce754], 2
je 0x4f34f7
mov ecx, 0x5ce754
call fcn.004480bf
mov eax, dword [0x5ce758]
mov dword [ebp - 4], eax
mov eax, dword [0x5ce750]
test al, 1
jne 0x4f3510
or eax, 1
mov dword [0x5ce750], eax
cmp dword [0x5ce754], 2
je 0x4f3523
mov ecx, 0x5ce754
call fcn.004480bf
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
mov esi, dword [0x5ce758]
push eax
push 0
push 7
call fcn.00449164
push eax
push 6
mov ecx, esi
call fcn.00449164
push eax
push ebx
mov ecx, edi
call fcn.0044761d
push 0x4f38b0
mov ecx, edi
mov esi, eax
call fcn.00447948
push 0x40
call fcn.0041285f
add esp, 4
test eax, eax
je 0x4f3571
mov ecx, eax
call fcn.004f12b0
jmp 0x4f3573
xor eax, eax
push eax
mov ecx, edi
call fcn.00447699
push 0
mov ecx, edi
call fcn.004476e0
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x10], 8
jb 0x4f35a0
push dword [ebp - 0x24]
call fcn.00412887
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f3af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0x1c], 0
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
je 0x4f3b89
push 1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004b7ed0
mov edi, eax
add esp, 0x10
lea eax, [ebp + 0xc]
cmp eax, edi
je 0x4f3b53
cmp dword [ebp + 0x20], 8
jb 0x4f3b36
push dword [ebp + 0xc]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], 7
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
call fcn.004408e4
cmp dword [ebp - 4], 8
jb 0x4f3b64
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call esi
test eax, eax
je 0x4f3b89
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004408af
jmp 0x4f3c30
mov eax, dword [ebp + 0x24]
cmp dword [eax + 0x10], 0
je 0x4f3c0d
push 1
push eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004b7ed0
mov edi, eax
add esp, 0x10
lea eax, [ebp + 0xc]
cmp eax, edi
je 0x4f3bda
cmp dword [ebp + 0x20], 8
jb 0x4f3bbd
push dword [ebp + 0xc]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], 7
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
call fcn.004408e4
cmp dword [ebp - 4], 8
jb 0x4f3beb
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call esi
test eax, eax
je 0x4f3c0d
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004408af
jmp 0x4f3c30
mov esi, dword [ebp + 8]
xor eax, eax
push eax
push 0x581738
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00408659
cmp dword [ebp + 0x20], 8
jb 0x4f3c41
push dword [ebp + 0xc]
call fcn.00412887
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f6160
Capabilities:
Check if file exists
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push str.SOFTWARETencentQQBrowserModuleDll0508DF1F_2AB6_4fac_A99E_45BBBF24E1E6
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x3a
xor eax, eax
mov dword [ebp - 0x1c], 7
push str.User_DataModuleDll0508DF1F_2AB6_4fac_A99E_45BBBF24E1E6
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push 9
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 0x1c], 8
jb 0x4f61be
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f61e0
lea eax, [ebp - 0x48]
push eax
call fcn.004fc3a0
add esp, 4
push 0x34
xor eax, eax
mov dword [ebp - 0x1c], 7
push str.ModuleDll0508DF1F_2AB6_4fac_A99E_45BBBF24E1E6.qrx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 0x1c], 8
jb 0x4f6228
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
push 0
lea eax, [ebp - 0x60]
push 1
push eax
call fcn.004b7e30
mov ecx, eax
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x4f6242
mov ecx, dword [ecx]
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push ecx
cmovae eax, dword [ebp - 0x18]
push eax
call fcn.00450010
add esp, 8
cmp dword [ebp - 0x4c], 8
jb 0x4f6268
push dword [ebp - 0x60]
call fcn.00412887
add esp, 4
push 0xd
xor eax, eax
mov dword [ebp - 0x1c], 7
push str.manifest.json
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push 1
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4f62a7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x4c], 8
jb 0x4f62bf
push dword [ebp - 0x60]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x4f62e4
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
cmp dword [ebp - 4], 8
jb 0x4f62f5
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f631a
push dword [ebp - 0x48]
call fcn.00412887
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4f6ae0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 0xb
xor eax, eax
mov dword [ebp - 4], 7
push str.TsQBDrv.sys
mov dword [edi], 0
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push 0x13
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x4f6b3a
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
xor esi, esi
xor ebx, ebx
call fcn.004adaa0
cmp eax, 0x40
jne 0x4f6b73
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4f6b71
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4f6b71
push ebx
call esi
movzx ebx, al
jmp 0x4f6b73
xor ebx, ebx
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f6bc3
mov dword [edi], 1
test ebx, ebx
je 0x4f6c2a
test esi, esi
jne 0x4f6bbd
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
call eax
test eax, eax
je 0x4f6c2a
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4f6c2a
push 1
call esi
jmp 0x4f6c2a
test ebx, ebx
je 0x4f6bf1
test esi, esi
jne 0x4f6bed
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
call eax
test eax, eax
je 0x4f6bf1
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4f6bf1
push 1
call esi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push str..2E46F324_829A_4d67_A552_8FC694D6617E
mov dword [edi], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x4f6c2a
cmp eax, 0xffffffff
je 0x4f6c2a
push eax
mov dword [edi], 3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 8
pop edi
pop esi
pop ebx
jb 0x4f6c3e
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4f6c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x1d
xor eax, eax
mov dword [ebp - 4], 7
push str.User_DataDefaultPreferences
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push 9
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x4f6c9e
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push esi
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 0x1c], 8
jb 0x4f6cca
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f72a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4f72ca
lea ecx, [edi + 0xc0]
call fcn.004e9430
test al, al
je 0x4f739f
push 0xd
xor eax, eax
mov dword [ebp - 4], 7
push str.QQbrowser.exe
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408659
lea eax, [ebp - 0x18]
push eax
call fcn.004fb8d0
add esp, 4
mov esi, eax
cmp dword [ebp - 4], 8
jb 0x4f730c
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
test esi, esi
je 0x4f739f
lea ecx, [edi + 0xc0]
call fcn.004e9430
test al, al
jne 0x4f7350
push 0x581738
push 0
push dword [edi + 0x70]
push 1
push str.:Nnx
call fcn.004fbc20
add esp, 0x14
cmp eax, 1
je 0x4f7350
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.004fbf70
add esp, 4
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
push 0xd
push str.QQbrowser.exe
call fcn.00408659
lea eax, [ebp - 0x18]
push eax
call fcn.004fb8d0
add esp, 4
mov esi, eax
cmp dword [ebp - 4], 8
jb 0x4f739b
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
test esi, esi
jne 0x4f7350
push 0
push 0
push 0
push 0x4f85f0
push 0
push 0
call fcn.00526b46
add esp, 0x18
mov dword [edi + 0x48], eax
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4faff0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
push edi
mov edi, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push edi
mov word [ecx], ax
call fcn.0040757d
call fcn.004fbfa0
push 0x40
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], 0x44
push 0
push eax
call fcn.005278d0
add esp, 0x24
mov dword [ebp - 0x40], 1
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x18], eax
push 1
push 0x58cd3c
mov word [ebp - 0x28], ax
call fcn.00408659
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00409227
push 2
push 0x56cf8c
lea ecx, [ebp - 0x28]
call fcn.004090e2
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x28]
call fcn.00409227
xor esi, esi
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x6c]
push ecx
push esi
push esi
push esi
push 1
push esi
push esi
push eax
xorps xmm0, xmm0
push esi
movdqu xmmword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4fb0f8
sub esp, 0x18
mov eax, esp
push str.2345
push edi
push eax
call fcn.004452c3
add esp, 0xc
call fcn.004fbfa0
mov eax, dword [ebp + 0xc]
add esp, 0x18
test eax, eax
je 0x4fb0f3
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x4fb0f8
mov esi, 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4fb106
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
jb 0x4fb117
push dword [ebp - 0x28]
call fcn.00412887
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4fb8d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fb8f1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0x228
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.005278d0
add esp, 0xc
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4fb95f
mov edi, dword [ebp + 8]
jmp 0x4fb930
push dword [edi + 0x10]
lea eax, [ebp - 0x208]
mov ecx, edi
push eax
call fcn.0040317a
push eax
call fcn.0052a6f3
add esp, 0xc
test eax, eax
je 0x4fb96e
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4fb930
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4fbf00
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
mov word [ebp - 0xc], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
test eax, eax
je 0x4fbf68
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [ebp - 4]
test eax, eax
push dword [ebp - 8]
mov edx, 1
cmove ecx, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4fbf70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4fbf90
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
pop ebp
ret

Function at 0x4fbfa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x18]
push str.qbinstall
push eax
call fcn.0044f2d1
mov esi, eax
add esp, 0xc
lea eax, [ebp + 8]
cmp eax, esi
je 0x4fbff3
cmp dword [ebp + 0x1c], 8
jb 0x4fbfd6
push dword [ebp + 8]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
call fcn.004408e4
cmp dword [ebp - 4], 8
pop esi
jb 0x4fc005
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp + 0x1c], 8
jb 0x4fc028
push dword [ebp + 8]
call fcn.00412887
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4fc1c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push 0x104
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp word [ebp - 0x268], ax
jne 0x4fc1fc
xor ecx, ecx
jmp 0x4fc214
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fc205
sub ecx, edx
sar ecx, 1
push esi
push ecx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408659
push 0xc
xor eax, eax
mov dword [ebp - 0x34], 7
push str.regsvr32.exe
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00408659
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004b80e0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x18]
cmp eax, esi
je 0x4fc293
cmp dword [ebp - 4], 8
jb 0x4fc276
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.004408e4
cmp dword [ebp - 0x4c], 8
pop esi
jb 0x4fc2a5
push dword [ebp - 0x60]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x4fc2ca
push dword [ebp - 0x48]
call fcn.00412887
add esp, 4
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4fc380
push 3
xor eax, eax
mov dword [ebp - 0x1c], 7
push 0x56eb68
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00408659
cmp dword [ebp + 0xc], 0
jne 0x4fc31c
push 4
push str.__u
lea ecx, [ebp - 0x30]
call fcn.004090e2
push 2
push 0x58e108
lea ecx, [ebp - 0x30]
call fcn.004090e2
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
call fcn.00409227
push 1
push 0x58cd3c
lea ecx, [ebp - 0x30]
call fcn.004090e2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004faff0
add esp, 0xc
cmp dword [ebp - 0x1c], 8
jb 0x4fc36c
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp dword [ebp - 4], 8
jb 0x4fc391
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4fc3a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0x595fb0
push edi
push eax
call fcn.004452c3
push 0x24c
lea eax, [ebp - 0x294]
mov dword [ebp - 0x298], 0
push 0
push eax
call fcn.005278d0
add esp, 0x18
lea ecx, [ebp - 0x298]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4fc410
mov esi, 1
jmp 0x4fc5c2
mov ecx, 0x58b9c0
lea eax, [ebp - 0x26c]
jmp 0x4fc420
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4fc446
test dx, dx
je 0x4fc442
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4fc446
add eax, 4
add ecx, 4
test dx, dx
jne 0x4fc420
xor eax, eax
jmp 0x4fc44b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4fc594
mov ecx, 0x58b9c4
lea eax, [ebp - 0x26c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4fc486
test dx, dx
je 0x4fc482
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4fc486
add eax, 4
add ecx, 4
test dx, dx
jne 0x4fc460
xor eax, eax
jmp 0x4fc48b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4fc594
cmp word [ebp - 0x26c], 0x2e
je 0x4fc594
push 0x581774
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004452c3
add esp, 0xc
mov esi, eax
cmp word [ebp - 0x26c], 0
jne 0x4fc4c3
xor ecx, ecx
jmp 0x4fc4df
lea ecx, [ebp - 0x26c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fc4d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x26c]
mov ecx, esi
push eax
call fcn.004090e2
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x4fc522
mov eax, dword [esi + 0x10]
inc eax
je 0x4fc52d
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00525b00
add esp, 0xc
jmp 0x4fc52d
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x34], 8
jb 0x4fc55d
push dword [ebp - 0x48]
call fcn.00412887
add esp, 4
test byte [ebp - 0x298], 0x10
lea eax, [ebp - 0x18]
je 0x4fc574
push eax
call fcn.004fc3a0
add esp, 4
jmp 0x4fc583
cmp dword [ebp - 4], 8
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], 8
jb 0x4fc594
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4fc410
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [edi + 0x14], 8
jb 0x4fc5b9
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
cmp dword [ebp - 0x1c], 8
jb 0x4fc5d3
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fcad0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push 0x38
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.005278d0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x6c], 0x3c
cmp dword [eax + 0x14], 8
jb 0x4fcafa
mov eax, dword [eax]
sub esp, 0x18
mov dword [ebp - 0x60], eax
mov ecx, esp
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x68], 0x440
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.0040757d
lea eax, [ebp - 0x30]
push eax
call fcn.004b1e00
add esp, 0x1c
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
push 1
push 0x58cd3c
call fcn.00408659
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.00409227
push 1
push 0x58cd3c
lea ecx, [ebp - 0x18]
call fcn.004090e2
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x4fcb95
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
xor bl, bl
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4fcbca
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4fcbca
mov esi, dword [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
test esi, esi
je 0x4fcbca
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 8
movzx esi, bl
jb 0x4fcbde
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4fcc03
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret