joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ae30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsHalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000af57
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1e]
push edx
mov word [esp + 0x20], cx
call fcn.10015800
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000af4c
lea ecx, [esp + 0x14]
push 0x5c
push ecx
call fcn.10015492
lea edx, [esp + 0x1c]
push 0x2f
push edx
mov esi, eax
call fcn.10015492
add esp, 0x10
test esi, esi
jne 0x1000af17
test eax, eax
jne 0x1000af1d
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1002ee54
mov ecx, edi
call fcn.1000a730
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.100157eb
add esp, 0x218
ret
cmp esi, eax
jbe 0x1000af1d
mov eax, esi
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x14]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000af30
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.1000a200
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.100157eb
add esp, 0x218
ret
Function at 0x1000b870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10028638
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10032f68]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ebp, [esi + 0x50]
push ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
add esi, 8
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.1000a390
mov edi, dword [esp + 0x18]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x1000b8d4
cmp edi, esi
je 0x1000b8d9
call fcn.10015e05
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x1000b9a8
test edi, edi
jne 0x1000b905
call fcn.10015e05
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x1000b8fa
call fcn.10015e05
cmp dword [esi + 0x4c], 8
jb 0x1000b909
mov eax, dword [esi + 0x38]
jmp 0x1000b90c
mov eax, dword [edi]
jmp 0x1000b8f0
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000b9a8
test al, 0x10
jne 0x1000b9a8
test edi, edi
jne 0x1000b9a4
call fcn.10015e05
cmp esi, dword [edi + 0x18]
jne 0x1000b937
call fcn.10015e05
movzx edx, word [esp + 0x30]
cmp edx, dword [esi + 0x30]
jne 0x1000b9a8
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1000b995
lea ecx, [esp + 0x18]
call fcn.100091e0
push 0xffffffffffffffff
add eax, 0x24
push 0
push eax
mov ecx, esi
call fcn.10009d10
lea ecx, [esp + 0x18]
call fcn.100091e0
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
add eax, 0x4c
push 0
push eax
call fcn.10009d10
lea ecx, [esp + 0x18]
call fcn.100091e0
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
add eax, 0x68
push 0
push eax
call fcn.10009d10
test ebp, ebp
je 0x1000b9a0
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x1000b9b5
mov edi, dword [edi]
jmp 0x1000b92d
test ebp, ebp
je 0x1000b9b3
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
Function at 0x1000d780
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10028868
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x10032f68]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x40], eax
call fcn.1000ad00
add esp, 8
push 9
push str.livep.dat
lea ecx, [esp + 0x18]
call fcn.1000a0e0
mov eax, dword [esp + 0x14]
mov ebp, 8
cmp dword [esp + 0x28], ebp
jae 0x1000d7ff
lea eax, [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0x278d00
push str.iseedtime
push str.intra
call edi
cmp eax, 0x1da9c00
mov dword [esi + 0x68], eax
jg 0x1000d825
test eax, eax
jge 0x1000d82c
mov dword [esi + 0x68], 0x278d00
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x1000d83a
lea eax, [esp + 0x14]
push eax
push 0x93a80
push str.iv3seedtime
push str.intra
call edi
cmp eax, 0x1da9c00
mov dword [esi + 0x6c], eax
jg 0x1000d85a
test eax, eax
jge 0x1000d861
mov dword [esi + 0x6c], 0x93a80
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x1000d86f
lea eax, [esp + 0x14]
push eax
push 0xc8
push str.MaxShareFileNum
push str.intra
call edi
lea edi, [esi + 0x28]
push 0
push edi
mov dword [esi + 0x70], eax
call fcn.1000ad00
add esp, 8
test al, al
je 0x1000d8a4
push 9
push str.slist.dat
mov ecx, edi
call fcn.1000a0e0
mov ecx, esi
call fcn.1000d2a0
cmp dword [esp + 0x28], ebp
jb 0x1000d8be
mov edx, dword [esp + 0x14]
push edx
call fcn.10015436
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100157eb
add esp, 0x2c
ret
Function at 0x1000d980
Capabilities:
Check if file exists
Get file attributes
Initialize winsock library
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1002889b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push esi
push edi
mov eax, dword [0x10032f68]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x9c]
push 0
push esi
call fcn.1000ab10
add esp, 8
mov ebx, 8
test al, al
je 0x1000da1b
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [esi + 0x18], ebx
jb 0x1000d9e8
mov eax, dword [esi + 4]
jmp 0x1000d9eb
lea eax, [esi + 4]
push eax
push str.Start:_s
push 1
push 0x10034838
call fcn.100146a0
add esp, 0x10
cmp dword [esi + 0x18], ebx
jb 0x1000da0a
mov esi, dword [esi + 4]
jmp 0x1000da0d
add esi, 4
push str.0000000000000000000000
push esi
call fcn.10009570
add esp, 8
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x1cc], eax
call fcn.1000ae30
add esp, 4
cmp dword [esp + 0x24], 0
jbe 0x1000da8d
push 9
push str.livep.dat
lea ecx, [esp + 0x18]
call fcn.1000a0e0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x1000da6b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000da7b
test al, 0x10
je 0x1000daac
lea ecx, [esp + 0x10]
call fcn.1000a2f0
push 0
lea edx, [esp + 0x14]
push edx
jmp 0x1000da94
push 0
lea eax, [esp + 0x14]
push eax
call fcn.1000ad00
add esp, 8
push 9
push str.livep.dat
lea ecx, [esp + 0x18]
call fcn.1000a0e0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x1000daba
lea eax, [esp + 0x14]
push eax
push 0
push str.DisableIntra
push str.LimitControl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x1000daeb
cmp dword [esp + 0x28], ebx
jb 0x1000dae4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10015436
add esp, 4
xor al, al
jmp 0x1000db81
lea edx, [esp + 0x2c]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000db2a
push str.WSAStartup_failed.
push 1
push 0x10034838
call fcn.100146a0
add esp, 0xc
cmp dword [esp + 0x28], ebx
jb 0x1000dae4
mov eax, dword [esp + 0x14]
push eax
call fcn.10015436
add esp, 4
xor al, al
jmp 0x1000db81
push 1
push 0xe10
lea ecx, [edi + 0x80]
mov byte [edi + 0x98], 1
call fcn.10008b70
test al, al
jne 0x1000db54
lea ecx, [esp + 0x10]
call fcn.10009940
xor al, al
jmp 0x1000db81
lea ecx, [edi + 8]
mov dword [edi + 0x88], edi
call fcn.1000d780
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esp + 0x10]
mov dword [edi + 0xb8], eax
call fcn.10009940
mov al, 1
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.100157eb
add esp, 0x1bc
ret
Function at 0x1000dc40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
push edi
lea eax, [esp + 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsHalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov ebp, ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x1000dd5d
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000dd52
push esi
push 0x5c
push edi
call fcn.10015492
push 0x2f
push edi
mov esi, eax
call fcn.10015492
add esp, 0x10
test esi, esi
jne 0x1000dcf5
test eax, eax
jne 0x1000dcfb
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push str.regedit_bad_path:_s
push 1
push 0x10034838
mov dword [ebp + 0x9ec], 1
call fcn.100146a0
add esp, 0x10
pop esi
pop edi
xor al, al
pop ebp
add esp, 8
ret 8
cmp esi, eax
jbe 0x1000dcfb
mov eax, esi
xor edx, edx
mov word [eax + 2], dx
mov eax, dword [esp + 0x1c]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000dd07
sub eax, edx
add edi, 0xfffffffe
jmp 0x1000dd20
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1000dd20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov al, 1
pop ebp
add esp, 8
ret 8
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push str.cant_open_regedit_path:_s
push 1
push 0x10034838
mov dword [ebp + 0x9ec], 2
call fcn.100146a0
add esp, 0x10
pop edi
xor al, al
pop ebp
add esp, 8
ret 8

Function at 0x1000dde0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x64
push esi
push 0x40
xor esi, esi
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.10015800
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1000de41
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
test eax, eax
ja 0x1000de3f
jb 0x1000de23
cmp ecx, 0x20000000
ja 0x1000de2a
mov al, 1
pop esi
add esp, 0x64
ret
test eax, eax
ja 0x1000de3f
jb 0x1000de38
cmp ecx, 0x40000000
ja 0x1000de3f
mov esi, 1
jmp 0x1000de41
xor esi, esi
xor eax, eax
lea edx, [esp + 4]
push edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test esi, esi
je 0x1000de87
cmp dword [esp + 0x18], 1
ja 0x1000de87
mov eax, 1
pop esi
add esp, 0x64
ret
xor eax, eax
pop esi
add esp, 0x64
ret
Function at 0x1000e2d0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x3810
call fcn.10016a50
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x380c], eax
push esi
mov esi, dword [esp + 0x3818]
push edi
mov edi, dword [esp + 0x3820]
xor eax, eax
push 0x37fe
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.10015800
add esp, 0xc
cmp dword [esp + 0x3824], 0x60
jb 0x1000e3a7
lea edx, [esp + 0xc]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1000e3a7
cmp eax, 0x3800
ja 0x1000e3a7
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1000e3a7
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0x1002b2c4
lea ecx, [esp + 0x20]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000e3a7
mov eax, dword [esp + 8]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
push edi
call fcn.1000dd90
add esp, 0x18
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x380c]
xor ecx, esp
call fcn.100157eb
add esp, 0x3810
ret
mov ecx, dword [esp + 0x3814]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100157eb
add esp, 0x3810
ret

Function at 0x1000e3c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
call fcn.10008110
mov esi, eax
test esi, esi
jne 0x1000e3d6
xor al, al
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x14]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret
Function at 0x1000e870
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10016a50
push 0xfffffffffffffffe
push 0x100302e0
push 0x10016a80
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10032f68]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x100c]
mov edi, dword [ebp + 0x1010]
push 0x40
xor ebx, ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
call fcn.10015800
add esp, 0xc
mov dword [ebp - 0x28], ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x70], 0x44
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x44], 1
mov dx, word [ebp + 0x1014]
mov word [ebp - 0x40], dx
xor eax, eax
mov word [ebp], ax
push 0xffe
push ebx
lea ecx, [ebp + 2]
push ecx
call fcn.10015800
push esi
push str.__s_
lea edx, [ebp]
push edx
call fcn.1000e270
push edi
push 0x800
lea eax, [ebp]
push eax
call fcn.100169ce
add esp, 0x24
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x70]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x1000e99c
cmp dword [ebp + 0x1018], ebx
je 0x1000e97a
mov ecx, dword [ebp + 0x101c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [ebp - 0x24]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov ecx, dword [ebp - 0x28]
push ecx
call edi
jmp 0x1000e99c
mov dword [ebp - 4], 0xfffffffe
cmp esi, 1
sete al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.100157eb
add ebp, 0x1004
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1000ea50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000ea8d
test al, 0x10
jne 0x1000ea8d
push edi
mov ecx, esi
call fcn.1000e9d0
test al, al
je 0x1000ea7b
pop edi
mov al, 1
pop esi
ret 4
push edi
mov dword [esi + 0x9ec], 3
push str._CheckAndExecute_failed_File:_s
jmp 0x1000ea9d
push edi
mov dword [esi + 0x9ec], 4
push str.bad_exe_file_File:_s
push 1
push 0x10034838
call fcn.100146a0
add esp, 0x10
pop edi
xor al, al
pop esi
ret 4
Function at 0x1000eac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, ecx
call fcn.10008110
mov esi, eax
test esi, esi
je 0x1000eb22
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.FWBlock
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000eb22
cmp eax, 1
jne 0x1000eb22
mov dword [edi + 0x9ec], 7
pop edi
mov al, al
pop esi
add esp, 0xc
ret
pop edi
xor al, al
pop esi
add esp, 0xc
ret

Function at 0x1000eb80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.10008110
mov esi, eax
test esi, esi
je 0x1000ec91
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.IsLowPC
mov ebx, 4
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], 0
call ebp
test eax, eax
je 0x1000ec88
mov ecx, edi
call fcn.1000dde0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0
movzx eax, al
push str.IsLowPC
push esi
mov dword [esp + 0x28], eax
call edi
cmp dword [esp + 0x10], 0
je 0x1000ec88
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.Valid
mov ebx, 1
push esi
mov dword [esp + 0x2c], ebx
call ebp
test eax, eax
jne 0x1000ec88
cmp dword [esp + 0x14], eax
jne 0x1000ec88
push str.Init_pdown.dll_RegSafeRecover_success
push ebx
push 0x10034838
call fcn.100146a0
add esp, 0xc
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push str.Valid
push esi
mov dword [esp + 0x2c], ebx
call edi
push 4
lea eax, [esp + 0x24]
push eax
push 4
push 0
push str.Neverup
push esi
mov dword [esp + 0x38], ebx
call edi
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push 0
push str.RegSafeRecover
push esi
mov dword [esp + 0x3c], ebx
call edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x10010c20
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10028998
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x10032f68]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], ax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x3c], esi
call fcn.1000ae30
add esp, 4
lea edi, [esi + 8]
cmp dword [esp + 0x24], esi
jbe 0x10010cbe
push 9
push str.livep.dat
lea ecx, [esp + 0x18]
call fcn.1000a0e0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], edi
jae 0x10010c9d
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010cad
test al, 0x10
je 0x10010cdc
lea ecx, [esp + 0x10]
call fcn.1000a2f0
push esi
lea edx, [esp + 0x14]
push edx
jmp 0x10010cc4
push esi
lea eax, [esp + 0x14]
push eax
call fcn.1000ad00
add esp, 8
push 9
push str.livep.dat
lea ecx, [esp + 0x18]
call fcn.1000a0e0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], edi
jae 0x10010cea
lea eax, [esp + 0x14]
push eax
push 3
push str.DisableP2P
push str.LimitControl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x10010d1b
cmp dword [esp + 0x28], edi
jb 0x10010d14
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10015436
add esp, 4
mov eax, 1
jmp 0x10010d4e
lea edx, [esp + 0xc]
push edx
push str.Valid
mov dword [esp + 0x14], 1
call fcn.1000e3c0
mov esi, dword [esp + 0x14]
add esp, 8
cmp dword [esp + 0x28], edi
jb 0x10010d4c
mov eax, dword [esp + 0x14]
push eax
call fcn.10015436
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100157eb
add esp, 0x30
ret
Function at 0x10010d70
Capabilities:
Check for peb beingdebugged flag
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x100289c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x10032f68]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
push 0x30
xor eax, eax
push 0x1002b7c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.1000a200
mov eax, esi
mov dword [esp + 0x30], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10010dd7
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.1000a0e0
mov eax, dword [esp + 0xc]
mov esi, 8
cmp dword [esp + 0x20], esi
jae 0x10010e04
lea eax, [esp + 0xc]
push 0x10
push 0x1002b7b0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x168
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [esp + 0x20], esi
jb 0x10010e39
mov ecx, dword [esp + 0xc]
push ecx
call fcn.10015436
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100157eb
add esp, 0x2c
ret