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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x10034110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.100014e0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100012a3
xor al, al
jmp 0x1000130b
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x103
je 0x100012ff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x104
jmp 0x100012b1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b5d6
mov esp, ebp
pop ebp
ret

Function at 0x10001320
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x10034110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.100014e0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10001363
xor al, al
jmp 0x100013cb
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x103
je 0x100013bf
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x104
jmp 0x10001371
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b5d6
mov esp, ebp
pop ebp
ret
Function at 0x10002760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002bb8b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x10034110]
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 dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.10001420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1dc]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.10002130
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1dc]
call fcn.10001460
mov eax, dword [str.error]
mov dword [ebp - 0x34], eax
mov cx, word [0x1002d390]
mov word [ebp - 0x30], cx
mov byte [ebp - 0x54], 0x44
mov byte [ebp - 0x44], 0x36
mov byte [ebp - 0x4e], 0x37
mov byte [ebp - 0x3c], 0x39
mov byte [ebp - 0x43], 0x35
mov byte [ebp - 0x47], 0x43
mov byte [ebp - 0x4a], 0x43
mov byte [ebp - 0x3a], 0x38
mov byte [ebp - 0x3d], 0x46
mov byte [ebp - 0x40], 0x37
mov byte [ebp - 0x50], 0x38
mov byte [ebp - 0x3b], 0x32
mov byte [ebp - 0x41], 0x35
mov byte [ebp - 0x48], 0x33
mov byte [ebp - 0x4d], 0x37
mov byte [ebp - 0x53], 0x42
mov byte [ebp - 0x51], 0x43
mov byte [ebp - 0x49], 0x44
mov byte [ebp - 0x4f], 0x37
mov byte [ebp - 0x4c], 0x46
mov byte [ebp - 0x38], 0x32
mov byte [ebp - 0x45], 0x33
mov byte [ebp - 0x52], 0x35
mov byte [ebp - 0x4b], 0x42
mov byte [ebp - 0x46], 0x46
mov byte [ebp - 0x3f], 0x44
mov byte [ebp - 0x3e], 0x39
mov byte [ebp - 0x39], 0x35
mov byte [ebp - 0x42], 0x31
lea ecx, [ebp - 0x6c]
call fcn.10002c20
mov byte [ebp - 4], 3
mov dword [ebp - 0x70], 0
jmp 0x1000286e
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x1d
jge 0x10002892
mov eax, dword [ebp - 0x70]
mov cl, byte [ebp + eax - 0x54]
mov byte [ebp - 0x1bd], cl
lea edx, [ebp - 0x1bd]
push edx
lea ecx, [ebp - 0x6c]
call fcn.10002e40
jmp 0x10002865
lea ecx, [ebp - 0x2c]
call fcn.10002df0
cmp eax, 9
jae 0x100028cb
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10001480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10002d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10002d90
jmp 0x1000295c
mov dword [ebp - 0x174], 0x100
lea ecx, [ebp - 0x6c]
call fcn.10002df0
mov dword [ebp - 0x1bc], eax
lea ecx, [ebp - 0x2c]
call fcn.10002df0
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x1bc]
push edx
push 0
lea ecx, [ebp - 0x6c]
call fcn.10002e10
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.10002e10
push eax
call fcn.100024e0
add esp, 0x18
mov byte [ebp - 0x164], 0
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10001480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10002d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10002d90
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.1000b5d6
mov esp, ebp
pop ebp
ret 4
Function at 0x10002980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002bbdb
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10034110]
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 dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xd8]
call fcn.10001420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.10002130
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.10001460
mov eax, dword [str.error]
mov dword [ebp - 0x34], eax
mov cx, word [0x1002d390]
mov word [ebp - 0x30], cx
mov byte [ebp - 0x54], 0x44
mov byte [ebp - 0x44], 0x36
mov byte [ebp - 0x4e], 0x37
mov byte [ebp - 0x3c], 0x39
mov byte [ebp - 0x43], 0x35
mov byte [ebp - 0x47], 0x43
mov byte [ebp - 0x4a], 0x43
mov byte [ebp - 0x3a], 0x38
mov byte [ebp - 0x3d], 0x46
mov byte [ebp - 0x40], 0x37
mov byte [ebp - 0x50], 0x38
mov byte [ebp - 0x3b], 0x32
mov byte [ebp - 0x41], 0x35
mov byte [ebp - 0x48], 0x33
mov byte [ebp - 0x4d], 0x37
mov byte [ebp - 0x53], 0x42
mov byte [ebp - 0x51], 0x43
mov byte [ebp - 0x49], 0x44
mov byte [ebp - 0x4f], 0x37
mov byte [ebp - 0x4c], 0x46
mov byte [ebp - 0x38], 0x32
mov byte [ebp - 0x45], 0x33
mov byte [ebp - 0x52], 0x35
mov byte [ebp - 0x4b], 0x42
mov byte [ebp - 0x46], 0x46
mov byte [ebp - 0x3f], 0x44
mov byte [ebp - 0x3e], 0x39
mov byte [ebp - 0x39], 0x35
mov byte [ebp - 0x42], 0x31
lea ecx, [ebp - 0x6c]
call fcn.10002c20
mov byte [ebp - 4], 3
mov dword [ebp - 0x70], 0
jmp 0x10002a8e
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x1d
jge 0x10002ab2
mov eax, dword [ebp - 0x70]
mov cl, byte [ebp + eax - 0x54]
mov byte [ebp - 0xb9], cl
lea edx, [ebp - 0xb9]
push edx
lea ecx, [ebp - 0x6c]
call fcn.10002e40
jmp 0x10002a85
lea ecx, [ebp - 0x2c]
call fcn.10002df0
cmp eax, 9
jae 0x10002ae8
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10001480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10002d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10002d90
jmp 0x10002b66
lea ecx, [ebp - 0x6c]
call fcn.10002df0
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x2c]
call fcn.10002df0
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xb8]
push edx
push 0
lea ecx, [ebp - 0x6c]
call fcn.10002e10
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.10002e10
push eax
call fcn.100024e0
add esp, 0x18
movzx ecx, al
test ecx, ecx
je 0x10002b4b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10001480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10002d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10002d90
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.1000b5d6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10004ff0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002be02
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10034110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10006010
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10006010
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.100013e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.100013e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.100013e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.100013e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.100013e0
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
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 0x100050e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002be62
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10034110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.10001460
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.10001460
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.10001460
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.10001460
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10001460
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10006080
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.10006080
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 0x10005300
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x10034110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x94
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.1000c980
add esp, 0xc
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x98], 5
ja 0x1000536d
cmp dword [ebp - 0x98], 5
jne 0x10005361
cmp dword [ebp - 0x94], 1
jae 0x1000536d
mov dword [ebp - 0x1e4], 0
jmp 0x10005377
mov dword [ebp - 0x1e4], 1
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 8]
call fcn.10005420
movzx eax, al
cmp eax, 1
jne 0x100053c3
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x98]
push edx
push str.WindowsVersion_i._i___s__64bit
push 0x100
lea eax, [ebp - 0x1a0]
push eax
call fcn.1000fe8a
add esp, 0x18
jmp 0x100053f1
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x98]
push edx
push 0x1002d740
push 0x100
lea eax, [ebp - 0x1a0]
push eax
call fcn.1000fe8a
add esp, 0x18
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x98
call fcn.10001480
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b5d6
mov esp, ebp
pop ebp
ret
Function at 0x10005c30
Capabilities:
Enumerate browser history

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002bfc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10034110]
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 dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x58]
call fcn.10006370
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push eax
push 0x1002ece0
push 1
push 0
push 0x1002df10
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10005cad
mov byte [ebp - 0xca], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100063b0
mov al, byte [ebp - 0xca]
jmp 0x10005dc0
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
test eax, eax
jge 0x10005ce4
mov byte [ebp - 0xc9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100063b0
mov al, byte [ebp - 0xc9]
jmp 0x10005dc0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 1
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jl 0x10005d3c
cmp dword [ebp - 0x5c], 0
jne 0x10005d08
jmp 0x10005d3c
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
cmp ecx, 0x68
jne 0x10005d3a
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + 2]
cmp ecx, 0x74
jne 0x10005d3a
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + 4]
cmp ecx, 0x74
jne 0x10005d3a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x54], ecx
jmp 0x10005ce4
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10006110
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], edx
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.10006110
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.100060e0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.100077b0
mov byte [ebp - 0xa5], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100063b0
mov al, byte [ebp - 0xa5]
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.1000b5d6
mov esp, ebp
pop ebp
ret
Function at 0x10009660
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c338
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10034110]
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 dword [ebp - 0x14], ecx
push 0
push 0x20
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x100097a6
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1000b14c
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
call fcn.1000b14c
add esp, 4
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1000c980
add esp, 0xc
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.100020f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x40]
call fcn.10002980
lea ecx, [ebp - 0x40]
call fcn.100018c0
cmp eax, 0x64
jbe 0x10009797
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.100088b0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x84], esp
lea eax, [ebp - 0x40]
push eax
call fcn.10003b50
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x14]
call fcn.10009880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10002110
xor al, al
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.1000b5d6
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x10034110]
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 dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1000a125
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10009660
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1000a233
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s:_s
push 0x400
lea edx, [ebp - 0x414]
push edx
call fcn.1000fe8a
add esp, 0x14
push 0x1002d8fb
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call fcn.10004ab0
add esp, 0xc
mov dword [ebp - 0x418], eax
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0xffffffff
je 0x1000a22f
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10001420
mov dword [ebp - 4], 0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.10002130
add esp, 8
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x454]
call fcn.10002df0
push eax
push 0
lea ecx, [ebp - 0x454]
call fcn.10002e10
push eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x454]
call fcn.10002d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.10001460
mov al, 1
jmp 0x1000a235
xor al, al
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.1000b5d6
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1000acf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 4]
call fcn.1000aca0
test eax, eax
je 0x1000ad24
mov dword [ebp - 0x10], 0x101
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
call fcn.1000ade0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1000add4
cmp dword [ebp - 0xc], 0
je 0x1000add4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.InstallDate
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call fcn.1000ade0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1000adca
cmp dword [ebp - 0x18], 0
je 0x1000adca
lea eax, [ebp - 0x24]
push eax
call fcn.1000ae20
add esp, 4
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jbe 0x1000adca
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, 0xe10
div ecx
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000ae40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_ManagementPrefetchParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
call fcn.1000ade0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1000aede
cmp dword [ebp - 0xc], 0
je 0x1000aede
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.BootId
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call fcn.1000ade0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1000aed4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000b5d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10034110]
jne 0x1000b5e0
repz ret
jmp fcn.1001281c
Function at 0x100261ff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1001214d
and dword [ebp - 4], 0
cmp dword [0x1005505c], 0
mov ebx, eax
jne 0x100262b0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10026361
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10026361
push eax
call fcn.100120db
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1005505c], eax
call esi
push eax
call fcn.100120db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10055060], eax
call esi
push eax
call fcn.100120db
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10055064], eax
call esi
push eax
call fcn.100120db
pop ecx
mov dword [0x1005506c], eax
test eax, eax
je 0x100262b0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100120db
pop ecx
mov dword [0x10055068], eax
mov eax, dword [0x10055068]
cmp eax, ebx
je 0x10026308
cmp dword [0x1005506c], ebx
je 0x10026308
push eax
call fcn.10012156
push dword [0x1005506c]
mov esi, eax
call fcn.10012156
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10026308
test edi, edi
je 0x10026308
call esi
test eax, eax
je 0x100262ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100262ff
test byte [ebp - 0xc], 1
jne 0x10026308
or dword [ebp + 0x10], 0x200000
jmp 0x10026341
mov eax, dword [0x10055060]
cmp eax, ebx
je 0x10026341
push eax
call fcn.10012156
pop ecx
test eax, eax
je 0x10026341
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10026341
mov eax, dword [0x10055064]
cmp eax, ebx
je 0x10026341
push eax
call fcn.10012156
pop ecx
test eax, eax
je 0x10026341
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1005505c]
call fcn.10012156
pop ecx
test eax, eax
je 0x10026361
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10026363
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret