joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100109dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
mov dword [ebp - 8], 0xf6af1124
push edi
mov ebx, ecx
mov dword [ebp - 8], eax
jmp 0x10010a4d
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x10010a09
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
xor eax, eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x10010a4a
push 0x19d9
push 0xf40
push 0x3dc2
push 0x74de
push 0x3877
push 0x2633
push eax
push 0x60e2
push 0x2f40
push 0x26b3
call fcn.10010a7e
add esp, 0x28
xor eax, eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffee
jle 0x100109f5
lea eax, [ebp - 0x20]
push eax
call fcn.10008f49
mov esi, eax
lea edi, [ebp - 0x14]
pop ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10010999
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + eax*8]
sub eax, 0x12c
mov esp, ebp
pop ebp
ret
Function at 0x10010a7e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10010c0d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x50]
imul eax, dword [eax], 0xe5a9
cmp eax, 0x15bb0028
jge 0x10010b30
mov dword [ebp - 0xc], 1
jmp 0x10010b34
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xfffb
jne 0x10010b46
mov dword [ebp - 0x10], 1
jmp 0x10010b4a
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jge 0x10010b59
mov dword [ebp - 0x54], 1
jmp 0x10010b5d
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 2
ja 0x10010b76
mov dword [ebp - 0x14], 1
jmp 0x10010b7a
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jle 0x10010b93
mov eax, 0x41bd43d9
test eax, eax
je 0x10010b93
and dword [ebp - 0x18], 0
jmp 0x10010b9a
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
je 0x10010bad
mov dword [ebp - 0x1c], 1
jmp 0x10010bb1
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
je 0x10010bc4
mov dword [ebp - 0x20], 1
jmp 0x10010bc8
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x10010bdb
mov dword [ebp - 0x64], 1
jmp 0x10010bdf
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax], 1
jl 0x10010bf8
mov dword [ebp - 0x24], 1
jmp 0x10010bfc
and dword [ebp - 0x24], 0
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.10018d20
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x10010c15
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x10016b05
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10016be5
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10016b6e
mov eax, 0xd145
test eax, eax
jne 0x10016b6e
and dword [ebp - 8], 0
jmp 0x10016b75
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10016b93
mov dword [ebp - 0x10], 1
jmp 0x10016b97
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jg 0x10016baa
mov dword [ebp - 0x30], 1
jmp 0x10016bae
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0xfffffff9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, 7
cmp eax, 0xbf0ddd9c
ja 0x10016bd7
mov dword [ebp - 0x14], 1
jmp 0x10016bdb
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x10016bff
push 0x18f7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x1001ecfb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001ed3b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001ed39
push 0x18f7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1001ed83
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001ed69
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1001ed83
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10018d20
and dword [eax], 0
jmp 0x1001ed5e
mov esp, ebp
pop ebp
ret

Function at 0x1001ef91
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001efb8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1001efd6
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1001efd6
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x1002fa0b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002fa20
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
jmp 0x1002fa28
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebp
ret

Function at 0x1003108d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100310b1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x273d5943
jmp 0x100310cb
push 0x18f7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x10033c30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 0x7349
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 0x8f3
push 0
push 0x4613
call fcn.10033ded
add esp, 0x18
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10033c6f
xor eax, eax
jmp 0x10033de9
push 0x124
push 1
push 0x51c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10033a27
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033ca1
xor eax, eax
jmp 0x10033de9
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10033ab9
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x10033cc0
xor eax, eax
jmp 0x10033de9
push 0x3437
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x22a2
push dword [ebp - 0x10]
call fcn.10033883
add esp, 0x20
push 0x2604
push 0x3bac
push dword [ebp - 4]
push 0x1e17
push dword [ebp - 8]
push 0x4a50
push 0x5735
push 0x3554
push 0x4de4
push 0x2ad
push dword [ebp + 8]
push 0
push 0x3501
call fcn.10029e30
add esp, 0x34
push 0x117f
push 0x3d11
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10033b1f
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x10033d66
push 1
push 0x5a5c
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0x1f92
call fcn.1002fbad
add esp, 0x14
push dword [ebp - 4]
call fcn.1003349c
pop ecx
test eax, eax
jne 0x10033d77
xor eax, eax
jmp 0x10033de9
push 1
push 0x63bb
lea eax, [ebp - 4]
push eax
push 0x6713
call fcn.10033bb1
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10033dd1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10033dae
xor eax, eax
jmp 0x10033de9
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10033dc7
xor eax, eax
jmp 0x10033de9
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10033de2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10033de6
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004a1c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004a1eb
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1004a21b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1004a21b
push 0x18f7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x1004b860
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004b895
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax + 0xc], ecx
jmp 0x1004b8a1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov esp, ebp
pop ebp
ret

Function at 0x1004b8a5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004b8ec
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1004b8fb
push 0x1e24
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret

Function at 0x1004ba72
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004bab9
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1004bad9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1004bad9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov esp, ebp
pop ebp
ret
Function at 0x1007e7f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10088330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10070d6c
mov dword [ebp - 0x14], eax
cmp dword [0x142b0534], esi
jne 0x1007e8e8
push 0x800
push esi
push 0x10007b0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007e875
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007e9c8
push esi
push esi
push 0x10007b0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007e9c8
push 0x10007b24
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007e9c8
push eax
call ebx
push 0x10007b30
push edi
mov dword [0x142b0534], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b40
push edi
mov dword [0x142b0538], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b54
push edi
mov dword [0x142b053c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x142b0544], eax
test eax, eax
je 0x1007e8e5
push 0x10007b70
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x142b0540], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007e90d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007e900
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007e922
push 4
pop eax
jmp 0x1007e9ca
cmp dword [ebp - 0x14], esi
je 0x1007e922
push dword [0x142b0534]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007e907
mov eax, dword [0x142b0540]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007e980
cmp dword [0x142b0544], edi
je 0x1007e980
push eax
call ebx
push dword [0x142b0544]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007e980
test eax, eax
je 0x1007e980
call ecx
test eax, eax
je 0x1007e975
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007e975
test byte [ebp - 8], 1
jne 0x1007e980
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007e9b0
mov eax, dword [0x142b0538]
cmp eax, edi
je 0x1007e9ad
push eax
call ebx
test eax, eax
je 0x1007e9ad
call eax
mov esi, eax
test esi, esi
je 0x1007e9ad
mov eax, dword [0x142b053c]
cmp eax, edi
je 0x1007e9ad
push eax
call ebx
test eax, eax
je 0x1007e9ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x142b0534]
call ebx
test eax, eax
je 0x1007e9c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007e9ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x100010b6
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
lea eax, [ebp - 0xa8]
push ebx
push eax
mov dword [ebp - 0xa8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000119e
cmp dword [ebp - 0x98], 2
jne 0x1000119e
cmp dword [ebp - 0xa4], 6
jb 0x1000119e
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 8]
push ecx
push 0x18
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000119e
push esi
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push edi
push eax
push ebx
push ebx
push 0x19
push dword [ebp - 8]
call esi
test eax, eax
jne 0x1000118e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000118e
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x1000118e
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 0x19
push dword [ebp - 8]
call esi
test eax, eax
je 0x10001187
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov al, byte [eax]
dec al
movzx eax, al
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
cmp dword [eax], 0x3000
jb 0x10001187
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
pop edi
pop esi
jne 0x100011a2
xor eax, eax
jmp 0x100011f6
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100011f4
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x1000c1e0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100011eb
cmp dword [ebp - 4], ebx
je 0x100011eb
push 1
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret

Function at 0x100019a5
Capabilities:
Encode data using xor

Disassembly:
push dword [esp + 4]
call fcn.10004844
test eax, eax
pop ecx
jle 0x100019cc
mov ecx, dword [esp + 4]
mov dx, word [ecx]
xor dx, 0x4d
sub edx, 0xff
mov word [ecx], dx
inc ecx
inc ecx
dec eax
jne 0x100019b7
ret

Function at 0x100019cd
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.10003fa0
pop ecx
xor ecx, ecx
test eax, eax
jle 0x100019e8
xor byte [ecx + esi], 0xf
inc ecx
cmp ecx, eax
jl 0x100019df
pop esi
ret
Function at 0x10002347
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x10002361
xor esi, esi
jmp 0x1000238f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.10004950
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x100023ca
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x100023c3
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1000245f
xor esi, esi
jmp 0x1000245f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x100023ed
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x10002400
xor esi, esi
jmp 0x10002456
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x10002412
jmp 0x100023dd
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10002456
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x10002448
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.10004950
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.100044c0
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.100024c6
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10002e7c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.10002e3e
mov edi, eax
cmp edi, esi
je 0x10002ebc
cmp dword [ebp - 4], esi
je 0x10002eb5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10002f59
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x10002f2d
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.10002e7c
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x10002f1a
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x10002edf
cmp dword [ebp - 4], esi
je 0x10002f28
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x10002f59
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10002f40
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x10002f57
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4