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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae3b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], 0
push 0
push eax
call fcn.004a83c0
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x515dac]
cmp eax, dword [ecx + 4]
jle 0x48dc92
push 0x515dac
call fcn.004a5b43
add esp, 4
cmp dword [0x515dac], 0xffffffff
jne 0x48dc92
xor eax, eax
mov dword [0x515dc4], 7
push 0x4dc5f0
mov dword [0x515dc0], 0
mov word [0x515db0], ax
call fcn.004a5e9a
push 0x515dac
call fcn.004a5b04
add esp, 8
cmp dword [0x515dc0], 0
jne 0x48dd47
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x48dcdb
xor ecx, ecx
jmp 0x48dcf3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dce4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00439160
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x515db0
call fcn.00438df0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x48dd47
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00433600
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x515db0
mov word [esi], ax
call fcn.00438df0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x48dd90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae92
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], esi
mov dword [esi + 0x10], 0
jb 0x48ddfa
mov eax, dword [esi]
jmp 0x48ddfc
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x220], 1
call fcn.004a83c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x48de44
xor ecx, ecx
jmp 0x48de5f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48de50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48deaf
cmp dword [esi + 0x14], 8
jb 0x48de80
mov eax, dword [esi]
jmp 0x48de82
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4ec68c]
je 0x48deaf
add ecx, 2
cmp ecx, 4
jb 0x48de90
push 1
push str.0s
mov ecx, esi
call fcn.004402a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x48ded0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae92
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], esi
mov dword [esi + 0x10], 0
jb 0x48df3a
mov eax, dword [esi]
jmp 0x48df3c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x220], 1
call fcn.004a83c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x48df84
xor ecx, ecx
jmp 0x48df9f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48df90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48dfef
cmp dword [esi + 0x14], 8
jb 0x48dfc0
mov eax, dword [esi]
jmp 0x48dfc2
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4ec68c]
je 0x48dfef
add ecx, 2
cmp ecx, 4
jb 0x48dfd0
push 1
push str.0s
mov ecx, esi
call fcn.004402a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x48e010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae92
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], esi
mov dword [esi + 0x10], 0
jb 0x48e07a
mov eax, dword [esi]
jmp 0x48e07c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x220], 1
call fcn.004a83c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x48e0c4
xor ecx, ecx
jmp 0x48e0df
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e0d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48e12f
cmp dword [esi + 0x14], 8
jb 0x48e100
mov eax, dword [esi]
jmp 0x48e102
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4ec68c]
je 0x48e12f
add ecx, 2
cmp ecx, 4
jb 0x48e110
push 1
push str.0s
mov ecx, esi
call fcn.004402a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x48eed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db06b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x511070]
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
mov esi, ecx
test esi, esi
je 0x48f095
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x48f095
push str.CreateSoftMgrInstallDirShortCut
push 0x515488
call fcn.0048d1f0
add esp, 8
lea ecx, [ebp - 0x40]
push esi
call fcn.00438660
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0048e640
push 0x4ee740
lea ecx, [ebp - 0x40]
call fcn.0048e980
push esi
lea ecx, [ebp - 0x28]
call fcn.00438660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0048e640
push str.QQPCSoftMgr.exe
lea ecx, [ebp - 0x28]
call fcn.0048e980
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x48ef8b
xor ebx, ebx
jmp 0x48f053
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x48efa7
mov ebx, 1
jmp 0x48f053
lea ecx, [ebp - 0x268]
call fcn.00496ae0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x268]
cmovae esi, dword [ebp - 0x40]
call fcn.00496bf0
test eax, eax
js 0x48f046
push esi
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 2
push 0x104
push eax
call fcn.004af454
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x268]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00496ed0
test eax, eax
js 0x48f046
push 0x4fb2f8
lea ecx, [ebp - 0x268]
call fcn.00496d30
test eax, eax
js 0x48f046
push str._parentstartmenu__pageuninst
lea ecx, [ebp - 0x268]
call fcn.00496c60
test eax, eax
js 0x48f046
lea ecx, [ebp - 0x268]
call fcn.00497070
xor ebx, ebx
test eax, eax
setns bl
jmp 0x48f048
xor ebx, ebx
lea ecx, [ebp - 0x268]
call fcn.00496b60
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48f068
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x48f091
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00433600
mov eax, ebx
jmp 0x48f097
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 - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x48f120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x511070]
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
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x220]
mov edi, dword [ebp + 0xc]
push 0x20a
push 0
push eax
call fcn.004a83c0
add esp, 0xc
test ebx, ebx
je 0x48f2c2
test edi, edi
je 0x48f2c2
lea ecx, [ebp - 0x448]
call fcn.00496ae0
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f2b1
lea ecx, [ebp - 0x448]
call fcn.00496bf0
test eax, eax
js 0x48f2b1
mov eax, dword [ebp - 0x438]
push 0
mov dword [ebp - 0x434], 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push ebx
mov esi, eax
lea eax, [ebp - 0x430]
push 0x104
push eax
call fcn.004af454
add esp, 0xc
test esi, esi
js 0x48f2b1
push 0x250
lea eax, [ebp - 0x698]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov ecx, edi
push ebx
call fcn.00439260
mov eax, dword [ebp - 0x43c]
lea edx, [ebp - 0x698]
push 2
push edx
push 0x104
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x48f2b1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x18]
call fcn.00439260
mov eax, dword [ebp - 0x43c]
lea edx, [ebp - 0x220]
push 0x104
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x48f2b1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x30]
call fcn.00439260
lea edx, [edi + 0x90]
test edx, edx
je 0x48f2b1
mov eax, dword [ebp - 0x43c]
push edx
push 0x104
lea edx, [ebp - 0x220]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x48f2b1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x48]
call fcn.00439260
lea ecx, [ebp - 0x448]
mov esi, 1
call fcn.00496b60
mov eax, esi
jmp 0x48f2c4
lea ecx, [ebp - 0x448]
xor esi, esi
call fcn.00496b60
mov eax, esi
jmp 0x48f2c4
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 - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8
Function at 0x48f2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db0eb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x48f494
cmp dword [esi + 0x28], 0
je 0x48f494
lea ecx, [ebp - 0x238]
call fcn.00496ae0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x48f350
mov edi, dword [esi]
jmp 0x48f352
mov edi, esi
lea ecx, [ebp - 0x238]
call fcn.00496bf0
test eax, eax
js 0x48f429
push edi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 2
push 0x104
push eax
call fcn.004af454
add esp, 0xc
cmp dword [esi + 0x28], 0
jbe 0x48f3a9
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x48f395
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00496ed0
test eax, eax
js 0x48f429
cmp dword [esi + 0x40], 0
jbe 0x48f3ca
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x48f3ba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00496c60
test eax, eax
js 0x48f429
cmp dword [esi + 0x70], 0
jbe 0x48f3eb
cmp dword [esi + 0x74], 8
lea eax, [esi + 0x60]
jb 0x48f3db
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00496fa0
test eax, eax
js 0x48f429
cmp dword [esi + 0x58], 0
jbe 0x48f43a
cmp dword [esi + 0x5c], 8
lea edi, [esi + 0x48]
jb 0x48f3fe
mov eax, dword [edi]
jmp 0x48f400
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f43a
cmp dword [edi + 0x14], 8
jb 0x48f413
mov edi, dword [edi]
push dword [esi + 0x90]
lea ecx, [ebp - 0x238]
push edi
call fcn.00496e00
test eax, eax
jns 0x48f44d
lea ecx, [ebp - 0x238]
xor esi, esi
call fcn.00496b60
mov eax, esi
jmp 0x48f496
push 0
push 0
lea ecx, [ebp - 0x238]
call fcn.00496e00
test eax, eax
js 0x48f429
cmp dword [esi + 0x88], 0
jbe 0x48f471
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x48f461
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x238]
call fcn.00496d30
test eax, eax
js 0x48f429
lea ecx, [ebp - 0x238]
call fcn.00497070
test eax, eax
js 0x48f429
lea ecx, [ebp - 0x238]
mov esi, 1
call fcn.00496b60
mov eax, esi
jmp 0x48f496
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 4
Function at 0x48f4c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db12b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x511070]
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
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x20]
push esi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f529
mov edx, 1
mov ecx, esi
call fcn.0048a090
lea ecx, [ebp - 0xa8]
call fcn.0048b0a0
mov dword [ebp - 4], 0
cmp word [esi], 0
mov dword [ebp - 0x18], 0
jne 0x48f54c
xor ecx, ecx
jmp 0x48f560
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f551
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00439160
cmp word [edi], 0
jne 0x48f577
xor ecx, ecx
jmp 0x48f58f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f580
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x90]
call fcn.00439160
cmp word [ebx], 0
jne 0x48f5a6
xor ecx, ecx
jmp 0x48f5bf
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f5b0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x78]
call fcn.00439160
mov ebx, dword [ebp - 0xac]
cmp word [ebx], 0
jne 0x48f5d9
xor ecx, ecx
jmp 0x48f5ef
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f5e0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x48]
call fcn.00439160
mov ebx, dword [ebp - 0xb0]
cmp word [ebx], 0
jne 0x48f609
xor ecx, ecx
jmp 0x48f61f
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f610
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x30]
call fcn.00439160
mov ebx, dword [ebp - 0xb4]
cmp ebx, 0x4ed230
jne 0x48f663
cmp word [edi], 0
jne 0x48f643
xor ecx, ecx
push ecx
push edi
jmp 0x48f683
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f650
sub ecx, edx
sar ecx, 1
push ecx
push edi
jmp 0x48f683
cmp word [ebx], 0
jne 0x48f66d
xor ecx, ecx
jmp 0x48f681
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f672
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x60]
call fcn.00439160
lea eax, [ebp - 0xa8]
push eax
call fcn.0048f2f0
lea ecx, [ebp - 0xa8]
mov esi, eax
call fcn.0048b650
mov eax, esi
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.004a578d
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x48f6d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x515c80], 0
jne 0x48f763
push esi
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push 0x4fb388
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004bca88
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x48f762
push str.GetLocaleInfoEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
push esi
sbb eax, eax
add eax, 2
mov dword [0x515c80], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x515c80], 1
sete al
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret

Function at 0x48f780
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x118
mov esi, eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
test esi, esi
je 0x48f7de
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
je 0x48f804
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x48f804
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
cmp dword [ebp - 0x11c], 0xa
pop esi
jne 0x48f82a
cmp dword [ebp - 0x118], 0
jne 0x48f82a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x48fc00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db178
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x74], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x181
movups xmmword [ebp - 0x2c], xmm0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x48fc66
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.00421db0
add esp, 0x10
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, 0xa
cmp dword [ebp + 0xc], eax
cmovne ax, cx
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48fceb
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_s__cmd:_s
push 0x515488
call fcn.0048d1f0
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x48fd54
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
test eax, eax
je 0x48fd35
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48fd24
push ebx
push str.CQMTProcess::RunApp_WAIT_TIMEOUT_path_s.
push 0x515488
call fcn.0048d1f0
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48fd35
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 1
test edi, edi
je 0x48fd4d
push edi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x48fd54
push esi
call eax
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x48fd73
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
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 0x48fd90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x234], 0
push 0
push 2
mov dword [ebp - 0x238], eax
mov ebx, ecx
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x48fdf3
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x48fe05
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
cmp dword [ebp - 0x228], 0
jbe 0x48fe2d
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004ab57d
add esp, 8
test eax, eax
je 0x48fe3d
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x48fe10
jmp 0x48fe55
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], 1
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a578d
mov esp, ebp
pop ebp
ret

Function at 0x48fe80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], ecx
push edi
mov ebx, 1
mov dword [ebp - 8], esi
nop word [eax + eax]
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.0048fd90
mov edi, dword [ebp - 4]
test eax, eax
je 0x48ff0d
push edi
xor ebx, ebx
push ebx
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x48ff0a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1f4
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x48ff0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x48ff0a
push edi
push str.QMTProcess::CloseProcessByID___d
push 0x515488
call fcn.0048cf90
add esp, 0xc
mov esi, dword [ebp - 8]
inc esi
mov dword [ebp - 8], esi
test edi, edi
je 0x48ff1d
mov ecx, dword [ebp - 0xc]
cmp esi, 0xa
jl 0x48fea0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret