joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ebe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cf1d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.10005e70
push 0x101d8ec8
mov eax, dword [ebp - 0x4c]
add eax, 0x6a8
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.10019a70
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000ec7d
push 0x101d7622
mov ecx, dword [ebp + 8]
call fcn.10003f60
mov edx, dword [ebp - 0x48]
or edx, 1
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov eax, dword [ebp + 8]
jmp 0x1000ed5f
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x14]
push eax
call fcn.1001a060
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10027bb0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1001a7e0
movzx edx, al
test edx, edx
je 0x1000ece6
push 0x101d7623
mov ecx, dword [ebp + 8]
call fcn.10003f60
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov eax, dword [ebp + 8]
jmp 0x1000ed5f
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1000ea50
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.1001ae30
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.100038f0
add esp, 0x38
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10003ef0
mov edx, dword [ebp - 0x48]
or edx, 1
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x44]
call fcn.10003ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ed80
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cf75
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.10005e70
push str.SuperChromeCache
mov eax, dword [ebp - 0x34]
add eax, 0x6a8
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.10019a70
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000edfa
push 0
lea ecx, [ebp - 0x14]
call fcn.100196a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 4
lea ecx, [ebp - 0x18]
call fcn.10005e70
push str.SuperChromeCache_bookmarks.ini
mov edx, dword [ebp - 0x34]
add edx, 0x6a8
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 1
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.1000ea50
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
mov edx, dword [ebp + 8]
push edx
call fcn.1001ae30
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.10003530
add esp, 0x38
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 0x18]
push edx
call fcn.1001a060
call fcn.10027d60
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10019f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 4
Function at 0x100168c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x32
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x10016930
lea ecx, [ebp + 0xc]
call fcn.100196a0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.100196a0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10016926
mov dword [ebp - 0x14], 1
lea ecx, [ebp + 8]
call fcn.10019f40
lea ecx, [ebp + 0xc]
call fcn.10019f40
mov eax, dword [ebp - 0x14]
jmp 0x1001694a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100168cd
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 8]
call fcn.10019f40
lea ecx, [ebp + 0xc]
call fcn.10019f40
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x10016e10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017db85
mov eax, dword fs:[0]
push eax
mov eax, dword [0x101e9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10016e69
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10019f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10019f40
jmp 0x10016e94
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.10027730
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10019f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10019f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10018060
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017decd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push 4
lea ecx, [ebp - 0x20]
call fcn.10005e70
lea eax, [ebp - 0x20]
push eax
call fcn.10027840
add esp, 4
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.10005e70
push str.SpUpdate.exe
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 1
push 4
lea ecx, [ebp - 0x1c]
call fcn.10005e70
push str.SpUpdateEx.exe
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10018134
lea ecx, [ebp - 0x14]
call fcn.100196a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.100196a0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
call fcn.100196a0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 4
lea ecx, [ebp - 0x18]
call fcn.10005e70
lea ecx, [ebp - 0x18]
call fcn.1001a080
mov byte [ebp - 4], 3
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x10018161
push str._manualcheck
lea ecx, [ebp - 0x18]
call fcn.10019f00
jmp 0x1001816e
push str._autocheck
lea ecx, [ebp - 0x18]
call fcn.10019f00
lea ecx, [ebp - 0x14]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100181bc
push 0xffffffffffffffff
push 1
push 1
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp - 0x18]
push edx
call fcn.1001a060
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x14]
push eax
call fcn.1001a060
mov byte [ebp - 4], 3
call fcn.100282d0
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10019f40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10019f40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10019f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 4
Function at 0x10018f10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x10018f2d
xor al, al
jmp 0x10019085
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.100278d0
add esp, 4
push str.icudtlex.dat
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1001d480
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.1001a810
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10018f83
mov byte [ebp - 0x51], 0
lea ecx, [ebp - 0x20]
call fcn.1001a8f0
lea ecx, [ebp - 0x50]
call fcn.1001a8f0
mov al, byte [ebp - 0x51]
jmp 0x10019085
mov ecx, dword [ebp - 0x64]
add ecx, 0x6a8
call fcn.100196a0
push eax
lea ecx, [ebp - 0x38]
call fcn.1001a9f0
push str.SpExtension
lea ecx, [ebp - 0x38]
call fcn.1001a830
mov dword [ebp - 8], 0
push str.Xoenfwieol
lea ecx, [ebp - 0x60]
call fcn.10019fe0
lea ecx, [ebp - 0x38]
call fcn.1001a810
push eax
lea ecx, [ebp - 0x5c]
call fcn.10019fe0
lea ecx, [ebp - 0x20]
call fcn.1001a810
push eax
lea ecx, [ebp - 0x58]
call fcn.10019fe0
lea ecx, [ebp - 8]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x101da400
call fcn.10019fe0
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.1002b010
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.10019f40
lea ecx, [ebp - 0x5c]
call fcn.10019f40
lea ecx, [ebp - 0x60]
call fcn.10019f40
cmp dword [ebp - 8], 0
je 0x10019029
cmp dword [ebp - 8], 2
jne 0x1001904c
mov byte [ebp - 0x52], 1
lea ecx, [ebp - 0x38]
call fcn.1001a8f0
lea ecx, [ebp - 0x20]
call fcn.1001a8f0
lea ecx, [ebp - 0x50]
call fcn.1001a8f0
mov al, byte [ebp - 0x52]
jmp 0x10019085
mov byte [ebp - 0x53], 0
lea ecx, [ebp - 0x38]
call fcn.1001a8f0
lea ecx, [ebp - 0x20]
call fcn.1001a8f0
lea ecx, [ebp - 0x50]
call fcn.1001a8f0
mov al, byte [ebp - 0x53]
jmp 0x10019085
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret
Function at 0x10019500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
push str._screencut.dll
lea eax, [ebp - 0x40]
push eax
call fcn.100278d0
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1001d510
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.1001a8f0
lea ecx, [ebp - 0x1c]
call fcn.1001a810
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10019553
lea ecx, [ebp - 0x1c]
call fcn.1001a8f0
jmp 0x100195b9
lea ecx, [ebp - 0x1c]
call fcn.1001a810
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10019575
lea ecx, [ebp - 0x1c]
call fcn.1001a8f0
jmp 0x100195b9
push 0x101da468
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10019597
lea ecx, [ebp - 0x1c]
call fcn.1001a8f0
jmp 0x100195b9
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x28]
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x1c]
call fcn.1001a8f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret

Function at 0x10020390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e1ad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.10005e70
mov eax, dword [ebp + 8]
push eax
call fcn.10004670
add esp, 4
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.10023da0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x10023e10
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.100196a0
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
call fcn.100a8801
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
je 0x10020425
lea ecx, [ebp - 0x14]
call fcn.100231e0
jmp 0x10020436
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
push 6
call fcn.1005457b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10023250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 4
Function at 0x10020460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.10005e70
mov eax, dword [ebp + 8]
push eax
call fcn.10004670
add esp, 4
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.10023eb0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x10023f20
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.100196a0
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
call fcn.100a8801
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
je 0x100204f5
lea ecx, [ebp - 0x14]
call fcn.100231e0
jmp 0x10020506
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
push 6
call fcn.1005457b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10023210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 4

Function at 0x10025160
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e878
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101e9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1001aa70
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001ae30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.1001aa70
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x48], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100252c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101e9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1001ae30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001ae30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.1001ae30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10025350
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101e9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1001ae30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001ae30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.1001ae30
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x48], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10026970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x10026983
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100269c6
mov eax, dword [ebp - 0x10]
jmp 0x10026a2c
cmp dword [ebp - 8], 1
je 0x100269d9
cmp dword [ebp - 8], 2
je 0x100269d9
mov eax, 0xd
jmp 0x10026a2c
cmp dword [ebp + 0xc], 0
je 0x10026a20
cmp dword [ebp - 0xc], 0
je 0x10026a0f
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x10026a06
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x10026a0d
mov eax, 0xd
jmp 0x10026a2c
jmp 0x10026a20
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10026dd0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea ecx, [ebp + 0x20]
call fcn.100196a0
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
push 0x1000
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
lea ecx, [ebp + 8]
call fcn.10003db0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 1], cl
mov edx, dword [ebp - 8]
movzx eax, byte [ebp - 1]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp byte [ebp - 1], 0
jne 0x10026e27
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 8]
call fcn.10003ed0
lea ecx, [ebp + 0x20]
call fcn.10019f40
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x100272f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ea30
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x818], 0
push 4
lea ecx, [ebp - 0x814]
call fcn.10005e70
lea ecx, [ebp - 0x814]
call fcn.1001a080
mov dword [ebp - 4], 0
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.1009f7e0
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.1009f7e0
add esp, 0xc
push 0
push 0x19
lea edx, [ebp - 0x810]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100273a9
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.10019f00
push 0x101da8ac
lea ecx, [ebp - 0x814]
call fcn.10019e60
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001a060
mov edx, dword [ebp - 0x818]
or edx, 1
mov dword [ebp - 0x818], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call fcn.10019f40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret

Function at 0x10027400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ea30
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x818], 0
push 4
lea ecx, [ebp - 0x814]
call fcn.10005e70
lea ecx, [ebp - 0x814]
call fcn.1001a080
mov dword [ebp - 4], 0
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.1009f7e0
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.1009f7e0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x810]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100274b9
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.10019f00
push 0x101da8b0
lea ecx, [ebp - 0x814]
call fcn.10019e60
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001a060
mov edx, dword [ebp - 0x818]
or edx, 1
mov dword [ebp - 0x818], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call fcn.10019f40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret