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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4224fb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x42d00c]
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.0040f860
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x42e848]
cmp eax, dword [ecx + 4]
jle 0x408652
push 0x42e848
call fcn.0040d47f
add esp, 4
cmp dword [0x42e848], 0xffffffff
jne 0x408652
xor eax, eax
mov dword [0x42e860], 7
push 0x422ba0
mov dword [0x42e85c], 0
mov word [0x42e84c], ax
call fcn.0040d7f3
push 0x42e848
call fcn.0040d440
add esp, 8
cmp dword [0x42e85c], 0
jne 0x408701
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 0x40869b
xor ecx, ecx
jmp 0x4086b3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4086a4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402570
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x42e84c
call fcn.00402120
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x408701
inc eax
push eax
push dword [ebp - 0x230]
call fcn.00402450
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x42e84c
mov word [esi], ax
call fcn.00402120
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.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x408740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422552
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x42d00c]
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 0x4087aa
mov eax, dword [esi]
jmp 0x4087ac
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.0040f860
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 0x4087f4
xor ecx, ecx
jmp 0x40880f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408800
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00402570
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x40885f
cmp dword [esi + 0x14], 8
jb 0x408830
mov eax, dword [esi]
jmp 0x408832
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x429ce0]
je 0x40885f
add ecx, 2
cmp ecx, 4
jb 0x408840
push 1
push 0x429738
mov ecx, esi
call fcn.00407ed0
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.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x408880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422552
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x42d00c]
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 0x4088ea
mov eax, dword [esi]
jmp 0x4088ec
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.0040f860
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 0x408934
xor ecx, ecx
jmp 0x40894f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408940
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00402570
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x40899f
cmp dword [esi + 0x14], 8
jb 0x408970
mov eax, dword [esi]
jmp 0x408972
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x429ce0]
je 0x40899f
add ecx, 2
cmp ecx, 4
jb 0x408980
push 1
push 0x429738
mov ecx, esi
call fcn.00407ed0
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.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x4089c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422552
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x42d00c]
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 0x408a2a
mov eax, dword [esi]
jmp 0x408a2c
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.0040f860
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 0x408a74
xor ecx, ecx
jmp 0x408a8f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00402570
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x408adf
cmp dword [esi + 0x14], 8
jb 0x408ab0
mov eax, dword [esi]
jmp 0x408ab2
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x429ce0]
je 0x408adf
add ecx, 2
cmp ecx, 4
jb 0x408ac0
push 1
push 0x429738
mov ecx, esi
call fcn.00407ed0
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.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x408b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422552
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x42d00c]
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 0x408b6a
mov eax, dword [esi]
jmp 0x408b6c
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.0040f860
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x408bb4
xor ecx, ecx
jmp 0x408bcf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408bc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00402570
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x408c1f
cmp dword [esi + 0x14], 8
jb 0x408bf0
mov eax, dword [esi]
jmp 0x408bf2
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x429ce0]
je 0x408c1f
add ecx, 2
cmp ecx, 4
jb 0x408c00
push 1
push 0x429738
mov ecx, esi
call fcn.00407ed0
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.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x4097a0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422656
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
mov eax, dword [0x42d00c]
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 edi, ecx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
test eax, eax
je 0x4099e9
push 6
push 0
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
mov dword [ebp - 0x650], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x650]
mov edx, 1
test eax, eax
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
cmove ecx, edx
mov dword [ebp - 0x644], edx
mov dword [ebp - 0x650], ecx
push edi
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x4098e7
lea ecx, [ebp - 0x658]
call fcn.0040bde0
test eax, eax
js 0x4098e7
mov eax, dword [ebp - 0x648]
push 0
mov dword [ebp - 0x644], 1
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push edi
mov esi, eax
lea eax, [ebp - 0x640]
push 0x104
push eax
call fcn.00416168
add esp, 0xc
test esi, esi
js 0x4098e7
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0040f860
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x220]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push 0x104
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4098dc
lea eax, [ebp - 0x220]
push eax
call ebx
test eax, eax
jne 0x4098dc
xor ebx, ebx
jmp 0x4099dc
lea ecx, [ebp - 0x658]
call fcn.0040c120
call fcn.0040b320
cmp eax, 6
jne 0x409921
push str.WIN7
push 0x42e7e0
call fcn.0040b840
add esp, 8
push 0
push 0
push 0
push edi
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, 1
jmp 0x4099dc
push 0x20a
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.0040f860
add esp, 0xc
lea ecx, [ebp - 0x670]
call fcn.0040c170
push ecx
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x670]
call fcn.0040c6d0
test eax, eax
jns 0x409962
xor ebx, ebx
jmp 0x40997c
lea eax, [ebp - 0x430]
push eax
push edi
lea ecx, [ebp - 0x670]
call fcn.0040c330
xor ebx, ebx
test eax, eax
setns bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x660]
mov eax, dword [ebp - 0x660]
push eax
mov dword [ebp - method.QMTVerb.virtual_0], vtable.QMTVerb.0
push dword [eax]
lea eax, [ebp - 0x674]
push eax
call fcn.0040c990
push dword [ebp - 0x660]
call fcn.0040d31b
mov ecx, dword [ebp - 0x664]
add esp, 4
test ecx, ecx
je 0x4099c3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x668], 0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
je 0x4099dc
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x658]
call fcn.0040bd50
mov eax, ebx
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.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x40a1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42276b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x42d00c]
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 0x40a38f
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x40a38f
push str.CreateSoftMgrInstallDirShortCut
push 0x42e7e0
call fcn.0040b840
add esp, 8
lea ecx, [ebp - 0x40]
push esi
call fcn.00401ff0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00408f70
push 0x428124
lea ecx, [ebp - 0x40]
call fcn.004092a0
push esi
lea ecx, [ebp - 0x28]
call fcn.00401ff0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00408f70
push str.QQPCSoftMgr.exe
lea ecx, [ebp - 0x28]
call fcn.004092a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x40a28b
xor ebx, ebx
jmp 0x40a353
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x40a2a7
mov ebx, 1
jmp 0x40a353
lea ecx, [ebp - 0x268]
call fcn.0040bc50
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.0040bde0
test eax, eax
js 0x40a346
push esi
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 2
push 0x104
push eax
call fcn.00416168
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.0040c030
test eax, eax
js 0x40a346
push 0x429e00
lea ecx, [ebp - 0x268]
call fcn.0040bf40
test eax, eax
js 0x40a346
push str._parentstartmenu__pageuninst
lea ecx, [ebp - 0x268]
call fcn.0040be50
test eax, eax
js 0x40a346
lea ecx, [ebp - 0x268]
call fcn.0040c120
xor ebx, ebx
test eax, eax
setns bl
jmp 0x40a348
xor ebx, ebx
lea ecx, [ebp - 0x268]
call fcn.0040bd50
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40a365
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402450
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 0x40a38b
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.00402450
mov eax, ebx
jmp 0x40a391
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.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x40ada0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x42d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x22c
xor edi, edi
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.0040f860
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ae4d
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40ae46
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x40ae2c
test ecx, ecx
je 0x40ae2c
cmp ecx, 4
je 0x40ae2c
lea eax, [ebp - 0x20c]
push str.QQPCTray.exe
push eax
call fcn.00414dc6
add esp, 8
test eax, eax
je 0x40ae40
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40ae01
jmp 0x40ae45
mov edi, 1
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040d320
mov esp, ebp
pop ebp
ret

Function at 0x40ae80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42d00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x42e840], 0
jne 0x40af13
push esi
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0040f860
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push str.kernel32.dll
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00415ff1
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40af12
push str.GetLocaleInfoEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
push esi
sbb eax, eax
add eax, 2
mov dword [0x42e840], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x42e840], 1
sete al
xor ecx, ebp
call fcn.0040d320
mov esp, ebp
pop ebp
ret

Function at 0x40af30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x42d00c]
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 pe_nt_image_headers32
mov esi, eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0040f860
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
test esi, esi
je 0x40af8e
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
je 0x40afb4
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x40afb4
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
cmp dword [ebp - 0x11c], 0xa
pop esi
jne 0x40afda
cmp dword [ebp - 0x118], 0
jne 0x40afda
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d320
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0040d320
mov esp, ebp
pop ebp
ret
Function at 0x42b1a4
Capabilities:
Terminate process

Disassembly:
jmp 0x436bb0
jmp fcn.00443720
cmp ecx, dword [0x4930ac]
jne 0x436bba
repz ret
jmp 0x42b645
Function at 0x401000
Capabilities:
Query environment variable
Query or enumerate registry value
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x800
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareData_Access_WorldwideDataFlex19.0Defaults
push 0x80000002
call dword cs:[sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4010b1
lea eax, [ebp - 8]
push eax
push 0x5e10c9
push 0
push 0
push str.VdfRootDir
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegQueryValueExA]
push eax
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegCloseKey]
pop eax
test eax, eax
jne 0x4010b1
push str.Bin_
push 0x5e10c9
call dword cs:[sym.imp.msvcrt.dll_strcat]
add esp, 8
push 0x5e10c9
call dword cs:[sym.imp.msvcrt.dll_strlen]
add esp, 4
mov dword [ebp - 8], eax
push ecx
push 0x800
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x5e10c9]
push eax
push str.PATH
call dword cs:[sym.imp.kernel32.dll_GetEnvironmentVariableA]
pop ecx
push 0x5e10c9
push str.PATH
call dword cs:[sym.imp.kernel32.dll_SetEnvironmentVariableA]
push str.vdfvm19.dll
call dword cs:[sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4010fd
push str._FlexRunProgramEx_4
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4010e3
push str.WebApp__12_08_2021_10:02:57__c__AAAcom_Sachsen_GmbH
call dword cs:[ebp - 0x10]
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_FreeLibrary]
test dword [ebp - 0x10], 0xffffffff
je 0x4010fd
mov eax, 0
jmp 0x401114
push 0x10
push 0
push str.Unable_to_locate_a_compatible_version_of_vdfvm19.dll__version_19.0__or_one_of_its_components.
push 0
call dword cs:[sym.imp.user32.dll_MessageBoxA]
mov eax, 1
push eax
call dword cs:[sym.imp.msvcrt.dll_exit]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401290
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x576fe4]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x114]
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00505810
mov ecx, dword [esp + 0x11c]
add esp, 0xc
push 0
push ecx
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4012ff
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4012e7
sub eax, edx
push eax
lea eax, [esp + 8]
push eax
push esi
call fcn.00505890
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401305
mov ecx, dword [esp + 0x104]
xor ecx, esp
sub eax, edx
call fcn.0050534a
add esp, 0x108
ret 8

Function at 0x401640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401659
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401694
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401690
lea ebx, [ebx]
cmp esi, eax
jae 0x401694
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401680
cmp esi, eax
jb 0x40169a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x404440
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x5201d8
mov eax, dword fs:[0]
push eax
sub esp, 0x538
mov eax, dword [0x576fe4]
xor eax, esp
mov dword [esp + 0x534], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x576fe4]
xor eax, esp
push eax
lea eax, [esp + 0x54c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x124
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x560], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call fcn.00505810
mov eax, dword [esp + 0x568]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jne 0x4044d9
add eax, 0xfffffff0
mov dword [esp + 0x554], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x404606
push ebx
push 2
mov dword [esp + 0x24], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x404500
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x55c]
jmp 0x4044ab
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x28], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4045cd
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.00511695
add esp, 8
test eax, eax
jne 0x4045ba
mov ecx, dword [esp + 0x28]
push ecx
push ebx
push 1
call ebp
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x404566
mov dword [esp + 0x18], 1
jmp 0x4045b6
call edi
push 0x3ff
lea edx, [esp + 0x14d]
push ebx
push edx
mov esi, eax
mov byte [esp + 0x154], bl
call fcn.00505810
push esi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x15c]
push str.TerminateProcess_Fail____s____d_
push ecx
call fcn.00506b3f
lea edx, [esp + 0x164]
push edx
push 0x527
push str.CI3GSvcManagerApp::killProcess
call fcn.00403910
add esp, 0x28
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x404527
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x55c]
add eax, 0xfffffff0
mov dword [esp + 0x554], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404602
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x534]
xor ecx, esp
call fcn.0050534a
add esp, 0x544
ret 4