joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b929
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x412c90
cmp edx, dword [eax]
je 0x40b94b
add eax, 8
inc ecx
cmp eax, 0x412d20
jl 0x40b93c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x412c90]
jne 0x40ba79
mov eax, dword [0x413a54]
cmp eax, 1
je 0x40ba53
test eax, eax
jne 0x40b97c
cmp dword [0x4126f4], 1
je 0x40ba53
cmp edx, 0xfc
je 0x40ba79
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b9b3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040c750
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407e00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b9f6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407e00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41072c
push edi
call fcn.0040d380
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040c750
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040c760
lea eax, [ebp - 0xa0]
push 0x41070c
push eax
call fcn.0040c760
push dword [esi + 0x412c94]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040c760
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d9ad
add esp, 0x2c
pop edi
jmp 0x40ba79
lea eax, [ebp + 8]
lea esi, [esi + 0x412c94]
push 0
push eax
push dword [esi]
call fcn.00407e00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10003470
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006633a
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x328], ecx
mov ecx, dword [ebp - 0x328]
call fcn.10005b80
mov eax, dword [ebp - 0x328]
mov dword [eax], vtable.CDgServiceCheckImp.0
mov ecx, dword [ebp - 0x328]
add ecx, 4
call fcn.100016b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x328]
add ecx, 8
call fcn.100016b0
mov byte [ebp - 4], 1
mov byte [ebp - 0x11c], 0
push 0xff
push 0
lea ecx, [ebp - 0x11b]
push ecx
call fcn.10041d70
add esp, 0xc
mov byte [ebp - 0x31c], 0
push 0x1ff
push 0
lea edx, [ebp - 0x31b]
push edx
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0x10], 0x100
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push 0x1006b8ac
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003637
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x11c]
push edx
push 0
push 0
push 0x1006b8c8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003637
push ecx
mov ecx, esp
mov dword [ebp - 0x320], esp
lea edx, [ebp - 0x11c]
push edx
call fcn.10002ce0
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x328]
call fcn.100036d0
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], 0
je 0x100035b3
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x328]
add ecx, 4
call fcn.10001710
push 0
push 0x1a
lea ecx, [ebp - 0x31c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jl 0x10003637
lea edx, [ebp - 0x31c]
push edx
mov ecx, dword [ebp - 0x328]
add ecx, 8
call fcn.10001710
push str._fixcfg.ini
mov eax, dword [ebp - 0x328]
add eax, 8
push eax
lea ecx, [ebp - 0x324]
push ecx
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x334], eax
mov edx, dword [ebp - 0x334]
mov dword [ebp - 0x338], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x328]
add ecx, 8
call fcn.100016f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x324]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10003770
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066378
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
push 0x124
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.10041d70
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xffffffff
jne 0x100037f4
xor eax, eax
jmp 0x10003952
mov dword [ebp - 0x13c], 0x128
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000393f
lea ecx, [ebp - 0x148]
call fcn.100016b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x148]
call fcn.10001710
lea ecx, [ebp - 0x148]
call fcn.10005ce0
push 0
push 0x1006b8dc
lea ecx, [ebp - 0x148]
call fcn.10005c60
test eax, eax
jl 0x10003912
mov ecx, dword [ebp - 0x134]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
push edx
lea eax, [ebp - 0x150]
push eax
call fcn.100031a0
add esp, 8
mov byte [ebp - 4], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x150]
call fcn.10006080
lea ecx, [ebp - 0x150]
call fcn.10005ce0
push ecx
mov ecx, esp
mov dword [ebp - 0x154], esp
lea edx, [ebp - 0x150]
push edx
call fcn.10002cc0
mov dword [ebp - 0x15c], eax
call fcn.1001c670
add esp, 4
push str.system
lea eax, [ebp - 0x148]
push eax
call fcn.10005d30
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100038f6
mov dword [ebp - 0x144], 1
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.100016d0
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10003819
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10003b60
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10003c11
push 0xf01ff
push 0x1006b918
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x10003c07
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10003c07
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x10003bfd
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 3
jne 0x10003bfd
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10003e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100663f3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1008bb60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
push 0x1006b8ab
mov eax, dword [ebp - 0x24]
add eax, 4
push eax
call fcn.10005d30
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10003e8b
or eax, 0xffffffff
jmp 0x10003f3c
lea ecx, [ebp - 0x14]
call fcn.100016b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100016b0
mov byte [ebp - 4], 1
push 0x1006b95c
mov edx, dword [ebp - 0x24]
add edx, 4
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x14]
call fcn.100016f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.100016d0
push 0
lea ecx, [ebp - 0x14]
call fcn.10001730
push eax
push 0
push str.NoUSBCheck
push str.RunMode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push str.UserServiceOpt:_d
lea ecx, [ebp - 0x18]
push ecx
call fcn.100030c0
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100016d0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10004010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066468
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 0x44c], 0
push 0x1ff
push 0
lea eax, [ebp - 0x44b]
push eax
call fcn.10041d70
add esp, 0xc
mov byte [ebp - 0x23c], 0
push 0x208
push 0
lea ecx, [ebp - 0x23b]
push ecx
call fcn.10041d70
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.100016b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.100016b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.100016b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.100016b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x244]
call fcn.100016b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
call fcn.100016b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.100016b0
mov byte [ebp - 4], 6
push 0x200
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x240]
call fcn.10001710
call fcn.10019960
movzx ecx, al
test ecx, ecx
je 0x1000411d
push str.system32driverskavbootc64.sys
lea ecx, [ebp - 0x1c]
call fcn.10001710
jmp 0x1000412a
push str.system32driverskavbootc.sys
lea ecx, [ebp - 0x1c]
call fcn.10001710
push 0x1006b8c6
lea ecx, [ebp - 0x20]
call fcn.10001710
push 0x1006b9d0
lea ecx, [ebp - 0x248]
call fcn.10001710
mov dword [ebp - 0x14], 1
push 0x1006b9dc
lea ecx, [ebp - 0x24c]
call fcn.10001710
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x450], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.10002cc0
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x464], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x454], esp
lea edx, [ebp - 0x24c]
push edx
call fcn.10002cc0
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
lea edx, [ebp - 0x248]
push edx
call fcn.10002cc0
mov dword [ebp - 0x470], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x45c]
call fcn.10005600
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.100016d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
call fcn.100016d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x244]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100016d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10005280
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100052b5
jmp 0x10005307
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100052d0
jmp 0x10005307
push 0x1c
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.10041d70
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x100052f4
jmp 0x10005307
cmp dword [ebp - 0x24], 4
jne 0x10005303
mov dword [ebp - 0xc], 1
jmp 0x10005307
xor edx, edx
jne 0x1000529b
cmp dword [ebp - 8], 0
je 0x1000531e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x10005335
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10008440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.100440d0
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 3
mov byte [ebp - 5], 0
mov byte [ebp - 0x10018], 0
push 0xfffe
push 0
lea eax, [ebp - 0x10017]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0x14], 0xffff
mov dword [ebp - 4], str.SYSTEMCurrentControlSetServicesmssmbiosData
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10041d70
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
push 0x20119
push 0
mov edx, dword [ebp - 4]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10008504
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10018]
push ecx
push 0
push 0
push str.SMBiosData
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10008504
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x10018]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10043d60
add esp, 0xc
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10009a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100669d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x10009ac0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10009acc
mov al, 1
jmp 0x10009c6f
mov dword [ebp - 0x10], 8
call fcn.1000a560
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.1000a560
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.1000a540
add esp, 8
movzx eax, al
test eax, eax
je 0x10009b0f
xor al, al
jmp 0x10009c6f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100094b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.10009560
mov ecx, eax
call fcn.10009800
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.10027350
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.10009560
mov ecx, eax
call fcn.10009800
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.1000a070
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x10009b8a
cmp dword [ebp - 0x6c], 1
je 0x10009b91
cmp dword [ebp - 0x6c], 3
je 0x10009c2b
jmp 0x10009c43
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10009560
mov ecx, eax
call fcn.10009800
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x10009bf4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.10009560
mov ecx, eax
call fcn.10009800
push eax
call fcn.1004425a
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10009bf4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000b340
mov al, byte [ebp - 0x61]
jmp 0x10009c6f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10009c17
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000b340
mov al, byte [ebp - 0x62]
jmp 0x10009c6f
cmp dword [ebp - 0x38], 0
jne 0x10009c29
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100094f0
jmp 0x10009c5b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000b340
mov al, byte [ebp - 0x63]
jmp 0x10009c6f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000b340
mov al, byte [ebp - 0x64]
jmp 0x10009c6f
jmp 0x10009b22
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x1000cdc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066cd0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc4
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 4
mov byte [ebp - 0xa8], 0
push 0x7f
push 0
lea eax, [ebp - 0xa7]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x20], 0
push str.SOFTWAREkingsoftAntivirus
lea ecx, [ebp - 0xa8]
push ecx
call fcn.10041df0
add esp, 8
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push 0
lea eax, [ebp - 0xa8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000ce95
xor eax, eax
jmp 0x1000cf98
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1006c824
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1000ceca
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1000cf98
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xac]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push 0
call fcn.1000d6a0
add esp, 4
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0xac], 0
jg 0x1000cf14
xor eax, eax
jmp 0x1000cf98
mov ecx, dword [ebp - 0xc0]
sub ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
sbb edx, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.1000d6c0
mov eax, dword [ebp - 0xcc]
cdq
mov ecx, 0x15180
idiv ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x1000cf84
mov dword [ebp - 4], 0xffffffff
jmp 0x1000cf95
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x1000f7c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066e00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1008bb60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1c]
call fcn.100016b0
mov dword [ebp - 4], 0
call fcn.10001600
mov dword [ebp - 0x20], eax
push 0x104
push 0x10e
lea ecx, [ebp - 0x1c]
call fcn.10001730
push eax
push sym.PatchCore.dll_Ordinal_11
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.10006080
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.10002970
add eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100029c0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x1c]
call fcn.100016f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100016d0
push str.ksoftkvipkvipver.dat
lea ecx, [ebp - 0x1c]
call fcn.1000f910
lea ecx, [ebp - 0x1c]
call fcn.10025f80
push eax
push 0
push str.subversion
push str.kvip
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100016d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret