joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f770
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008708d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ca4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov ecx, dword [edi + 0x48]
je 0x1001f90c
test ecx, ecx
jne 0x1001f8c4
push dword [edi + 0x28]
call fcn.1001b260
add esp, 4
mov dword [edi + 0x34], eax
mov ecx, edi
call fcn.1001c590
mov dword [edi + 0x48], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push dword [edi + 0x34]
mov dword [ebp - 4], 0
push dword [edi + 0x28]
call ebx
test eax, eax
je 0x1001f8ae
push dword [edi + 0x34]
lea eax, [ebp + 8]
push eax
call fcn.1000ca50
lea esi, [edi + 0x2c]
add esp, 8
cmp esi, eax
je 0x1001f82e
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [esi]
mov dword [esi], ecx
test eax, eax
je 0x1001f82e
push eax
call fcn.1005cc7e
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001f83e
push eax
call fcn.1005cc7e
add esp, 4
push dword [edi + 0x34]
push dword [edi + 0x28]
push dword [esi]
call fcn.1005e7e0
mov esi, dword [edi + 0x28]
mov edx, dword [edi + 0x48]
sub edx, esi
mov dword [ebp + 8], 0xe9
sub edx, 5
mov eax, dword [esi]
cmp al, 0xe8
movzx ecx, al
cmovne ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x13], edx
mov byte [ebp - 0x14], cl
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
movzx eax, byte [ebp - 0x10]
mov byte [esi + 4], al
mov eax, dword [edi + 0x34]
sub eax, 5
push eax
mov eax, dword [edi + 0x28]
add eax, 5
push 0x90
push eax
call fcn.1005ed60
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20
push dword [edi + 0x34]
push dword [edi + 0x28]
call ebx
test eax, eax
jne 0x1001f92e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x38]
mov ebx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
mov ecx, edx
mov esi, dword [eax + 0x1c]
mov eax, ebx
shrd ecx, eax, 8
mov eax, ebx
mov byte [esi + 1], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi], dl
shrd edx, eax, 0x18
mov eax, ebx
mov byte [esi + 4], bl
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
jmp 0x1001f92e
test ecx, ecx
je 0x1001f92e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x1c]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov eax, dword [edi + 0x38]
push dword [eax + 0x20]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001f960
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008708d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ca4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov ecx, dword [edi + 0x48]
je 0x1001fafc
test ecx, ecx
jne 0x1001fab4
push dword [edi + 0x28]
call fcn.1001b260
add esp, 4
mov dword [edi + 0x34], eax
mov ecx, edi
call fcn.1001c9b0
mov dword [edi + 0x48], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push dword [edi + 0x34]
mov dword [ebp - 4], 0
push dword [edi + 0x28]
call ebx
test eax, eax
je 0x1001fa9e
push dword [edi + 0x34]
lea eax, [ebp + 8]
push eax
call fcn.1000ca50
lea esi, [edi + 0x2c]
add esp, 8
cmp esi, eax
je 0x1001fa1e
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [esi]
mov dword [esi], ecx
test eax, eax
je 0x1001fa1e
push eax
call fcn.1005cc7e
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001fa2e
push eax
call fcn.1005cc7e
add esp, 4
push dword [edi + 0x34]
push dword [edi + 0x28]
push dword [esi]
call fcn.1005e7e0
mov esi, dword [edi + 0x28]
mov edx, dword [edi + 0x48]
sub edx, esi
mov dword [ebp + 8], 0xe9
sub edx, 5
mov eax, dword [esi]
cmp al, 0xe8
movzx ecx, al
cmovne ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x13], edx
mov byte [ebp - 0x14], cl
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
movzx eax, byte [ebp - 0x10]
mov byte [esi + 4], al
mov eax, dword [edi + 0x34]
sub eax, 5
push eax
mov eax, dword [edi + 0x28]
add eax, 5
push 0x90
push eax
call fcn.1005ed60
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20
push dword [edi + 0x34]
push dword [edi + 0x28]
call ebx
test eax, eax
jne 0x1001fb1e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x38]
mov ebx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
mov ecx, edx
mov esi, dword [eax + 0x1c]
mov eax, ebx
shrd ecx, eax, 8
mov eax, ebx
mov byte [esi + 1], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi], dl
shrd edx, eax, 0x18
mov eax, ebx
mov byte [esi + 4], bl
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
jmp 0x1001fb1e
test ecx, ecx
je 0x1001fb1e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x1c]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov eax, dword [edi + 0x38]
push dword [eax + 0x20]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10031cb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008708d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ca4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov ecx, dword [edi + 0x48]
je 0x10031e4c
test ecx, ecx
jne 0x10031e04
push dword [edi + 0x28]
call fcn.1001b260
add esp, 4
mov dword [edi + 0x34], eax
mov ecx, edi
call fcn.10031890
mov dword [edi + 0x48], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push dword [edi + 0x34]
mov dword [ebp - 4], 0
push dword [edi + 0x28]
call ebx
test eax, eax
je 0x10031dee
push dword [edi + 0x34]
lea eax, [ebp + 8]
push eax
call fcn.1000ca50
lea esi, [edi + 0x2c]
add esp, 8
cmp esi, eax
je 0x10031d6e
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [esi]
mov dword [esi], ecx
test eax, eax
je 0x10031d6e
push eax
call fcn.1005cc7e
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x10031d7e
push eax
call fcn.1005cc7e
add esp, 4
push dword [edi + 0x34]
push dword [edi + 0x28]
push dword [esi]
call fcn.1005e7e0
mov esi, dword [edi + 0x28]
mov edx, dword [edi + 0x48]
sub edx, esi
mov dword [ebp + 8], 0xe9
sub edx, 5
mov eax, dword [esi]
cmp al, 0xe8
movzx ecx, al
cmovne ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x13], edx
mov byte [ebp - 0x14], cl
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
movzx eax, byte [ebp - 0x10]
mov byte [esi + 4], al
mov eax, dword [edi + 0x34]
sub eax, 5
push eax
mov eax, dword [edi + 0x28]
add eax, 5
push 0x90
push eax
call fcn.1005ed60
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20
push dword [edi + 0x34]
push dword [edi + 0x28]
call ebx
test eax, eax
jne 0x10031e6e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x38]
mov ebx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
mov ecx, edx
mov esi, dword [eax + 0x1c]
mov eax, ebx
shrd ecx, eax, 8
mov eax, ebx
mov byte [esi + 1], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi], dl
shrd edx, eax, 0x18
mov eax, ebx
mov byte [esi + 4], bl
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
jmp 0x10031e6e
test ecx, ecx
je 0x10031e6e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x1c]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov eax, dword [edi + 0x38]
push dword [eax + 0x20]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10032f00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008708d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ca4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov ecx, dword [edi + 0x48]
je 0x1003309c
test ecx, ecx
jne 0x10033054
push dword [edi + 0x28]
call fcn.1001b260
add esp, 4
mov dword [edi + 0x34], eax
mov ecx, edi
call fcn.100326c0
mov dword [edi + 0x48], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push dword [edi + 0x34]
mov dword [ebp - 4], 0
push dword [edi + 0x28]
call ebx
test eax, eax
je 0x1003303e
push dword [edi + 0x34]
lea eax, [ebp + 8]
push eax
call fcn.1000ca50
lea esi, [edi + 0x2c]
add esp, 8
cmp esi, eax
je 0x10032fbe
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [esi]
mov dword [esi], ecx
test eax, eax
je 0x10032fbe
push eax
call fcn.1005cc7e
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x10032fce
push eax
call fcn.1005cc7e
add esp, 4
push dword [edi + 0x34]
push dword [edi + 0x28]
push dword [esi]
call fcn.1005e7e0
mov esi, dword [edi + 0x28]
mov edx, dword [edi + 0x48]
sub edx, esi
mov dword [ebp + 8], 0xe9
sub edx, 5
mov eax, dword [esi]
cmp al, 0xe8
movzx ecx, al
cmovne ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x13], edx
mov byte [ebp - 0x14], cl
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
movzx eax, byte [ebp - 0x10]
mov byte [esi + 4], al
mov eax, dword [edi + 0x34]
sub eax, 5
push eax
mov eax, dword [edi + 0x28]
add eax, 5
push 0x90
push eax
call fcn.1005ed60
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20
push dword [edi + 0x34]
push dword [edi + 0x28]
call ebx
test eax, eax
jne 0x100330be
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x38]
mov ebx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
mov ecx, edx
mov esi, dword [eax + 0x1c]
mov eax, ebx
shrd ecx, eax, 8
mov eax, ebx
mov byte [esi + 1], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi], dl
shrd edx, eax, 0x18
mov eax, ebx
mov byte [esi + 4], bl
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
jmp 0x100330be
test ecx, ecx
je 0x100330be
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x1c]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov eax, dword [edi + 0x38]
push dword [eax + 0x20]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100330f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008708d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ca4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov ecx, dword [edi + 0x48]
je 0x1003328c
test ecx, ecx
jne 0x10033244
push dword [edi + 0x28]
call fcn.1001b260
add esp, 4
mov dword [edi + 0x34], eax
mov ecx, edi
call fcn.10032ae0
mov dword [edi + 0x48], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push dword [edi + 0x34]
mov dword [ebp - 4], 0
push dword [edi + 0x28]
call ebx
test eax, eax
je 0x1003322e
push dword [edi + 0x34]
lea eax, [ebp + 8]
push eax
call fcn.1000ca50
lea esi, [edi + 0x2c]
add esp, 8
cmp esi, eax
je 0x100331ae
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [esi]
mov dword [esi], ecx
test eax, eax
je 0x100331ae
push eax
call fcn.1005cc7e
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x100331be
push eax
call fcn.1005cc7e
add esp, 4
push dword [edi + 0x34]
push dword [edi + 0x28]
push dword [esi]
call fcn.1005e7e0
mov esi, dword [edi + 0x28]
mov edx, dword [edi + 0x48]
sub edx, esi
mov dword [ebp + 8], 0xe9
sub edx, 5
mov eax, dword [esi]
cmp al, 0xe8
movzx ecx, al
cmovne ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x13], edx
mov byte [ebp - 0x14], cl
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
movzx eax, byte [ebp - 0x10]
mov byte [esi + 4], al
mov eax, dword [edi + 0x34]
sub eax, 5
push eax
mov eax, dword [edi + 0x28]
add eax, 5
push 0x90
push eax
call fcn.1005ed60
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20
push dword [edi + 0x34]
push dword [edi + 0x28]
call ebx
test eax, eax
jne 0x100332ae
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x38]
mov ebx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
mov ecx, edx
mov esi, dword [eax + 0x1c]
mov eax, ebx
shrd ecx, eax, 8
mov eax, ebx
mov byte [esi + 1], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi], dl
shrd edx, eax, 0x18
mov eax, ebx
mov byte [esi + 4], bl
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
jmp 0x100332ae
test ecx, ecx
je 0x100332ae
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x1c]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov eax, dword [edi + 0x38]
push dword [eax + 0x20]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10038e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100881bb
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x100ca4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 3
push eax
push 9
push 0x100c8b68
mov dword [ebp - 0x144], 0
call fcn.10039220
add esp, 0xc
lea ecx, [ebp - 0x144]
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
cmovae eax, dword [ebp - 0x140]
push ecx
push 0x20119
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [edi], eax
test eax, eax
je 0x10038f33
or esi, 0xffffffff
jmp 0x10038fe9
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1005ed60
lea eax, [ebp - 0x128]
mov dword [ebp - 0x148], 0xff
push eax
push 4
push 0x100c8bb0
call fcn.10039220
add esp, 0x18
lea ecx, [ebp - 0x148]
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0xffff
push eax
push 0x1008ce8c
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [edi], eax
push dword [ebp - 0x144]
test eax, eax
je 0x10038fba
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0xfffffffe
jmp 0x10038fe9
cmp dword [ebp - 0x148], 0x25
jae 0x10038fd0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0xfffffffd
jmp 0x10038fe9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.100394e0
mov esi, 1
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x1003901f
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039015
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003908f
push ecx
push edx
call fcn.1005cc67
add esp, 8
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp ecx, 0x10
jb 0x10039070
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003908f
push ecx
push edx
call fcn.1005cc67
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cf9d
mov esp, ebp
pop ebp
ret 4
call fcn.1006231f
int3
Function at 0x100390a0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
mov ebx, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x100390d5
push dword [ebp - 4]
call fcn.10068a41
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1003913a
mov edx, esi
test esi, esi
je 0x100390ef
nop
cmp dword [edx + 0x1a0], 6
je 0x10039111
mov edx, dword [edx]
test edx, edx
jne 0x100390e0
mov eax, dword [ebx]
xor ecx, ecx
mov dword [eax], ecx
mov word [eax + 4], cx
test esi, esi
je 0x10039106
push esi
call fcn.1006244c
add esp, 4
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx]
mov eax, dword [edx + 0x194]
push esi
mov dword [ecx], eax
mov ax, word [edx + 0x198]
mov word [ecx + 4], ax
call fcn.1006244c
add esp, 4
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10039147
push esi
call fcn.1006244c
add esp, 4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10039150
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100881fd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100ca4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov esi, dword [ecx]
lea eax, [ebp - 0x28]
push eax
push 2
push 0x100c8b58
mov dword [ebp - 4], 1
call fcn.10039220
add esp, 0xc
push 0
push 0
push 0
push 0
push esi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0x14]
neg eax
sbb esi, esi
neg esi
cmp ecx, 0x10
jb 0x100391f8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100391ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039214
push ecx
push edx
call fcn.1005cc67
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cf9d
mov esp, ebp
pop ebp
ret
call fcn.1006231f
int3
Function at 0x10039220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov edx, 8
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1005cc75
lea ebx, [edi*8]
mov dword [ebp - 4], eax
add esp, 4
xor edx, edx
test ebx, ebx
jle 0x10039273
mov edi, dword [ebp + 8]
mov esi, eax
sub edi, esi
lea ecx, [edx + esi]
mov al, byte [edi + ecx]
xor al, dl
inc edx
mov byte [ecx], al
cmp edx, ebx
jl 0x10039261
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov ecx, edx
mov edi, edx
mov dword [ebp - 0x10], edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039280
sub ecx, ebx
sar ecx, 1
lea eax, [edx + ecx*2]
mov dword [ebp - 0x18], eax
cmp edx, eax
je 0x100393a4
nop dword [eax]
mov dl, byte [edi]
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov byte [ebp + 0xf], dl
mov dword [ebp - 8], ecx
cmp edi, ecx
jae 0x100392ce
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ecx, 0x10
jb 0x100392c1
mov eax, dword [esi]
mov byte [eax + edi], dl
mov byte [eax + edi + 1], 0
jmp 0x1003938f
mov eax, 0x7fffffff
sub eax, edi
cmp eax, 1
jb 0x100393be
lea ebx, [edi + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x100392f3
mov ebx, 0x7fffffff
jmp 0x10039311
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10039309
mov ebx, 0x7fffffff
jmp 0x10039311
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, esi
push eax
call fcn.10019be0
cmp dword [ebp - 8], 0x10
lea ecx, [edi + 1]
mov dword [esi + 0x14], ebx
mov dword [ebp - 0xc], eax
lea ebx, [edi + eax]
mov dword [esi + 0x10], ecx
mov dword [ebp - 0x14], ebx
push edi
jb 0x10039377
mov ebx, dword [esi]
push ebx
push eax
call fcn.1005e7e0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp + 0xf]
mov byte [eax], cl
mov ecx, dword [ebp - 8]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x1003936b
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100393c3
mov ebx, edx
push ecx
push ebx
call fcn.1005cc67
add esp, 8
jmp 0x1003938a
push esi
push eax
call fcn.1005e7e0
mov cl, byte [ebp + 0xf]
add esp, 0xc
mov byte [ebx], cl
mov byte [ebx + 1], 0
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov edi, dword [ebp - 0x10]
add edi, 2
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0x18]
jne 0x100392a0
mov edx, dword [ebp - 4]
push edx
call fcn.1005cc7e
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x100393b5
mov esi, dword [esi]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10019830
call fcn.1006231f
int3