joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10b3db1
Capabilities:
Read http header
Receive http response

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 8], ebx
call fcn.010b08d4
push ebx
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ecx, esi
mov edi, eax
call fcn.010b090d
cmp edi, ebx
jne 0x10b3e11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.010ae2f8
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b3f7e
test byte [eax + 0x1c], 1
je 0x10b3f7e
push edi
push 0x100ab68
push 0x3e
jmp 0x10b3e40
mov ecx, esi
call fcn.010b34bc
mov edi, eax
cmp edi, ebx
jge 0x10b3e50
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b3f7e
test byte [eax + 0x1c], 1
je 0x10b3f7e
push edi
push 0x100ab68
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x10b3f7e
mov ecx, esi
mov dword [ebp - 8], 4
call fcn.010b08d4
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x2d8]
push eax
push ebx
push 0x20000013
push dword [esi + 8]
call edi
cmp eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
je 0x10b3f3e
xor eax, eax
cmp dword [ebp + 8], eax
je 0x10b3f3e
push eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x4000000b
push dword [esi + 8]
mov dword [ebp + 8], 0x10
call edi
mov dword [ebp - 4], eax
test eax, eax
jne 0x10b3eee
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b3ee5
test byte [eax + 0x1c], 1
je 0x10b3ee5
call ebx
push eax
mov eax, dword [0x10ed030]
push 0x100ab68
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov dword [ebp - 4], 1
jmp 0x10b3f3e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x10b3f2c
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b3f2c
test byte [eax + 0x1c], 1
je 0x10b3f2c
call ebx
push eax
mov eax, dword [0x10ed030]
push 0x100ab68
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x2e8], ecx
mov dword [esi + 0x2ec], eax
mov ecx, esi
call fcn.010b090d
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x10b3f7e
call ebx
push eax
call fcn.010ae2f8
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b3f7e
test byte [eax + 0x1c], 1
je 0x10b3f7e
push dword [ebp - 8]
push edi
push 0x100ab68
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10b5c3c
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x2c]
xor ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10b5c73
cmp dword [eax + 0xc], 0
je 0x10b5c73
cmp dword [eax], 0
je 0x10b5c73
push dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push dword [ebp + 0xc]
call dword [eax + 0xc]
mov ebx, eax
mov esi, dword [esi + 0x28]
test esi, esi
je 0x10b5ca8
mov esi, dword [esi]
test esi, esi
je 0x10b5ca8
cmp dword [ebp + 0xc], 0
jl 0x10b5ca8
cmp dword [ebp + 8], 0xc8
je 0x10b5ca1
cmp dword [ebp + 8], 0x193
je 0x10b5ca1
cmp dword [ebp + 8], 0xc9
jne 0x10b5ca8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x10b5e0c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, ecx
mov dword [ebp - 4], eax
cmp edi, eax
jne 0x10b5e50
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b5e46
test byte [eax + 0x1c], 1
je 0x10b5e46
push 0x100b054
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
mov eax, 0x80070057
jmp 0x10b6027
push ebx
push eax
push 0x80
push 3
push eax
xor ebx, ebx
inc ebx
push ebx
push 0x80010000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x10b5ea9
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b5e96
test byte [eax + 0x1c], bl
je 0x10b5e96
push edi
push 0x100b054
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.010ae2f8
mov edi, eax
jmp 0x10b600a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
cmp eax, 0x78
jae 0x10b5ee8
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b5ede
test byte [eax + 0x1c], bl
je 0x10b5ede
push edi
push 0x100b054
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
mov edi, 0x8007000b
jmp 0x10b6001
push eax
call fcn.010a094e
pop ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x10b5f26
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b5f1c
test byte [eax + 0x1c], bl
je 0x10b5f1c
push dword [esi + 0xc]
push 0x100b054
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov edi, 0x8007000e
jmp 0x10b6001
push 0
lea ecx, [ebp - 4]
push ecx
push dword [esi + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10b5f73
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b5f60
test byte [eax + 0x1c], bl
je 0x10b5f60
push 0x100b054
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.010ae2f8
mov edi, eax
jmp 0x10b6001
mov eax, dword [esi + 0xc]
cmp dword [ebp - 4], eax
je 0x10b5f95
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b5ff8
test byte [eax + 0x1c], bl
je 0x10b5ff8
push 0x100b054
push 0x26
jmp 0x10b5fed
push eax
push dword [esi + 8]
call fcn.010baa3a
mov edi, eax
test edi, edi
jge 0x10b5fc9
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b6001
test byte [eax + 0x1c], bl
je 0x10b6001
push 0x100b054
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
jmp 0x10b6001
push dword [esi + 8]
call fcn.010baad0
test eax, eax
jne 0x10b5fff
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b5ff8
test byte [eax + 0x1c], bl
je 0x10b5ff8
push 0x100b054
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
mov edi, 0x80004005
jmp 0x10b6001
xor edi, edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
test edi, edi
jge 0x10b6025
mov eax, dword [esi + 8]
test eax, eax
je 0x10b6025
push eax
call fcn.010a093d
and dword [esi + 8], 0
and dword [esi + 0xc], 0
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x10ba24c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
add eax, eax
push ebx
xor ebx, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp + 0x18], ebx
cmp eax, ebx
je 0x10ba35f
cmp word [eax], bx
je 0x10ba35f
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x10ba344
cmp word [edi], bx
je 0x10ba344
cmp dword [ebp + 0x14], ebx
jne 0x10ba2b8
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba383
test byte [eax + 0x1c], 1
je 0x10ba383
push 0x100b42c
push 0xc
jmp 0x10ba378
push esi
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [0x10f1644]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20019
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x10ba331
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, ebx
jne 0x10ba331
cmp dword [ebp - 4], 1
je 0x10ba331
mov eax, dword [0x10ed030]
push 0xd
pop esi
cmp eax, 0x10ed030
je 0x10ba331
test byte [eax + 0x1c], 1
je 0x10ba331
push dword [ebp - 4]
push edi
push 0x100b42c
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
cmp dword [ebp + 0x18], ebx
je 0x10ba33f
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x10ba386
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba383
test byte [eax + 0x1c], 1
je 0x10ba383
push 0x100b42c
push 0xb
jmp 0x10ba378
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba383
test byte [eax + 0x1c], 1
je 0x10ba383
push 0x100b42c
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0x14
Function at 0x10ba391
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], edi
cmp eax, edi
je 0x10ba4a6
cmp word [eax], di
je 0x10ba4a6
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
je 0x10ba48b
cmp word [ebx], di
je 0x10ba48b
cmp dword [ebp + 0x14], edi
jne 0x10ba3fd
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba4ca
test byte [eax + 0x1c], 1
je 0x10ba4ca
push 0x100b42c
push 0x16
jmp 0x10ba4bf
push esi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x10f1644]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20019
push ecx
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x10ba478
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 2
je 0x10ba478
cmp dword [ebp - 8], 4
je 0x10ba478
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba475
test byte [eax + 0x1c], 1
je 0x10ba475
push dword [ebp - 8]
push ebx
push 0x100b42c
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
push 0xd
pop esi
cmp dword [ebp - 4], edi
je 0x10ba486
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x10ba4cd
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba4ca
test byte [eax + 0x1c], 1
je 0x10ba4ca
push 0x100b42c
push 0x15
jmp 0x10ba4bf
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba4ca
test byte [eax + 0x1c], 1
je 0x10ba4ca
push 0x100b42c
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0x10
Function at 0x10ba4d8
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x10ba5cc
cmp word [eax], di
je 0x10ba5cc
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
je 0x10ba5b1
cmp word [ebx], di
je 0x10ba5b1
push esi
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x10f1644]
push dword [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20006
push ecx
push edi
push edi
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
je 0x10ba55f
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba59e
test byte [eax + 0x1c], 1
je 0x10ba59e
push esi
push dword [ebp + 0xc]
push 0x100b42c
push 0x1a
jmp 0x10ba593
push 4
lea eax, [ebp + 0x18]
push eax
push 4
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
je 0x10ba59e
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba59e
test byte [eax + 0x1c], 1
je 0x10ba59e
push esi
push ebx
push 0x100b42c
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
cmp dword [ebp - 4], edi
je 0x10ba5ac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x10ba5f3
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba5f0
test byte [eax + 0x1c], 1
je 0x10ba5f0
push 0x100b42c
push 0x19
jmp 0x10ba5e5
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba5f0
test byte [eax + 0x1c], 1
je 0x10ba5f0
push 0x100b42c
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0x14
Function at 0x10ba5fe
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 8
mov dword [ebp - 4], edi
cmp eax, edi
je 0x10ba712
cmp word [eax], di
je 0x10ba712
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
je 0x10ba6f7
cmp word [ebx], di
je 0x10ba6f7
cmp dword [ebp + 0x14], edi
jne 0x10ba66a
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba736
test byte [eax + 0x1c], 1
je 0x10ba736
push 0x100b42c
push 0x1e
jmp 0x10ba72b
push esi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x10f1644]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20019
push ecx
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x10ba6e4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
jne 0x10ba6e4
cmp dword [ebp - 8], 0xb
je 0x10ba6e4
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba6e1
test byte [eax + 0x1c], 1
je 0x10ba6e1
push dword [ebp - 8]
push ebx
push 0x100b42c
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
push 0xd
pop esi
cmp dword [ebp - 4], edi
je 0x10ba6f2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x10ba739
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba736
test byte [eax + 0x1c], 1
je 0x10ba736
push 0x100b42c
push 0x1d
jmp 0x10ba72b
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba736
test byte [eax + 0x1c], 1
je 0x10ba736
push 0x100b42c
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0x10
Function at 0x10ba744
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x10ba838
cmp word [eax], di
je 0x10ba838
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
je 0x10ba81d
cmp word [ebx], di
je 0x10ba81d
push esi
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x10f1644]
push dword [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20006
push ecx
push edi
push edi
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
je 0x10ba7cb
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba80a
test byte [eax + 0x1c], 1
je 0x10ba80a
push esi
push dword [ebp + 0xc]
push 0x100b42c
push 0x22
jmp 0x10ba7ff
push 8
lea eax, [ebp + 0x18]
push eax
push 0xb
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
je 0x10ba80a
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba80a
test byte [eax + 0x1c], 1
je 0x10ba80a
push esi
push ebx
push 0x100b42c
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
cmp dword [ebp - 4], edi
je 0x10ba818
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x10ba85f
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba85c
test byte [eax + 0x1c], 1
je 0x10ba85c
push 0x100b42c
push 0x21
jmp 0x10ba851
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba85c
test byte [eax + 0x1c], 1
je 0x10ba85c
push 0x100b42c
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0x18

Function at 0x10ba86a
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x10ba8f6
cmp word [eax], di
je 0x10ba8f6
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x10ba8db
cmp word [esi], di
je 0x10ba8db
push ebx
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x10f1644]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20006
push ecx
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x10ba8c8
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
cmp dword [ebp - 4], edi
je 0x10ba8d6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
jmp 0x10ba91d
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba91a
test byte [eax + 0x1c], 1
je 0x10ba91a
push 0x100b42c
push 0x25
jmp 0x10ba90f
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba91a
test byte [eax + 0x1c], 1
je 0x10ba91a
push 0x100b42c
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
push 0x57
pop eax
pop edi
pop esi
leave
ret 0xc
Function at 0x10bb292
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x10bb3fc
cmp word [esi], bx
je 0x10bb3fc
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x10bb3e1
cmp word [eax], bx
je 0x10bb3e1
mov edi, dword [ebp + 0x18]
cmp edi, ebx
je 0x10bb3c6
cmp word [edi], bx
je 0x10bb3c6
lea eax, [ebp - 8]
push eax
push 0x7fffffff
push edi
call fcn.0104e2a2
cmp eax, ebx
jge 0x10bb322
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10bb31a
test byte [ecx + 0x1c], 1
je 0x10bb31a
push eax
push 0x100b42c
push 0x11
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
push 0x57
pop esi
jmp 0x10bb3b4
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [0x10f1644]
push dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x20006
push eax
push ebx
push ebx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
je 0x10bb370
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bb3b4
test byte [eax + 0x1c], 1
je 0x10bb3b4
push esi
push dword [ebp + 0xc]
push 0x100b42c
push 0x12
jmp 0x10bb3a9
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push ebx
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, ebx
je 0x10bb3b4
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bb3b4
test byte [eax + 0x1c], 1
je 0x10bb3b4
push esi
push edi
push 0x100b42c
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
cmp dword [ebp - 4], ebx
je 0x10bb3c2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10bb423
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bb420
test byte [eax + 0x1c], 1
je 0x10bb420
push 0x100b42c
push 0x10
jmp 0x10bb415
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bb420
test byte [eax + 0x1c], 1
je 0x10bb420
push 0x100b42c
push 0xf
jmp 0x10bb415
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bb420
test byte [eax + 0x1c], 1
je 0x10bb420
push 0x100b42c
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x10bbaa8
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x10ed860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x458]
push ebx
push eax
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], ebx
call sub.msvcrt.dll_memset
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
cmp esi, ebx
jne 0x10bbb49
mov dword [ebp - 0x460], 0x57
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bbd0d
test byte [eax + 0x1c], 1
je 0x10bbd0d
push 0x100b42c
push 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
jmp 0x10bbd0d
cmp edi, ebx
jne 0x10bbb7a
mov dword [ebp - 0x460], 0x57
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bbd0d
test byte [eax + 0x1c], 1
je 0x10bbd0d
push 0x100b42c
push 0x63
jmp 0x10bbb39
push esi
push edi
mov ebx, 0x100aecc
push ebx
mov edi, 0x104
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.010aceee
add esp, 0x14
test eax, eax
jge 0x10bbbdd
mov ecx, eax
and ecx, 0x1000ffff
mov dword [ebp - 0x460], ecx
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10bbd0d
test byte [ecx + 0x1c], 1
je 0x10bbd0d
push eax
push 0x100b42c
push 0x64
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
jmp 0x10bbd0d
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp eax, 0xffffffff
jne 0x10bbc34
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bbd0d
test byte [eax + 0x1c], 4
je 0x10bbd0d
lea ecx, [ebp - 0x20c]
push ecx
push 0x100b42c
push 0x65
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
jmp 0x10bbd0d
cmp dword [ebp - 0x45c], 0x10
je 0x10bbce6
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x468]
lea eax, [ebp - 0x20c]
push ebx
push edi
push eax
call fcn.010aceee
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x10bbcb5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10bbce6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x460], eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bbce6
test byte [eax + 0x1c], 1
je 0x10bbce6
push dword [ebp - 0x460]
lea ecx, [ebp - 0x20c]
push ecx
push 0x100b42c
push 0x66
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
jmp 0x10bbce6
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bbcda
test byte [eax + 0x1c], 1
je 0x10bbcda
push esi
push 0x100b42c
push 0x67
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
and esi, 0x1000ffff
mov dword [ebp - 0x460], esi
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10bbc34
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x460]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010a0b37
leave
ret 8
Function at 0x10bfb21
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10ed860]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov word [esi + 8], cx
cmp dword [0x10f1744], eax
jne 0x10bfbb6
push 0x110
push eax
lea eax, [ebp - 0x114]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [0x10f1744], 1
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10bfbb6
cmp dword [ebp - 0x114], 5
jb 0x10bfb9a
cmp dword [ebp - 0x110], 1
jae 0x10bfba3
cmp dword [ebp - 0x114], 6
jb 0x10bfbb6
cmp dword [ebp - 0x108], 2
jne 0x10bfbb6
mov dword [0x10edaa0], 0x7f
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.010a0b37
leave
ret