joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0db
Capabilities:
Create service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x20c
mov word [ebp - 0x41c], ax
xor edi, edi
lea eax, [ebp - 0x41a]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x103
lea eax, [ebp - 0x41c]
push eax
push edi
mov dword [ebp - 0x420], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x100a139
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100a2c1
xor eax, eax
push 0x20
mov word [ebp - 0x216], ax
pop eax
push 0x2f
mov word [ebp - 0xc], ax
pop eax
push 0x56
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
push 0x107
lea eax, [ebp - 0x41c]
push eax
call fcn.01004473
cmp eax, edi
jl 0x100a2c1
push esi
xor eax, eax
push 0x1fe
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
mov esi, 0x100
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1b
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
test eax, eax
jne 0x100a1c7
push 9
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1b
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x100a2ae
push ebx
mov dword [ebp - 0x424], edi
cmp dword [ebp - 0x420], edi
je 0x100a1f9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push edi
push dword [0x100fe00]
lea eax, [ebp - 0x41c]
push edi
push edi
push eax
push 1
push 3
push 0x20
push 0xf01ff
lea eax, [ebp - 0x20c]
push eax
push 0x1001ff8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
cmp ebx, edi
jne 0x100a256
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x424], eax
cmp eax, 0x430
jne 0x100a2a2
mov eax, dword [ebp - 0x420]
inc dword [ebp - 0x420]
cmp eax, 0xe
jge 0x100a2a2
jmp 0x100a1e0
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x20
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
test eax, eax
jne 0x100a27f
push 9
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1b
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push 1
push ebx
call dword [0x100fe18]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
jmp 0x100a2ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.01001d10
leave
ret
Function at 0x100b171
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
mov esi, 0x104
push edi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, esi
jle 0x100b1e5
push 0
push eax
lea ecx, [ebp - 0x218]
call fcn.01002465
test al, al
jne 0x100b1e5
lea ecx, [ebp - 0x218]
call fcn.01001e08
push 0xe
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001d10
leave
ret
push ebx
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call fcn.01008e2c
test eax, eax
jge 0x100b20f
push 0xe
pop ebx
lea ecx, [ebp - 0x218]
call fcn.01001e08
mov eax, ebx
pop ebx
jmp 0x100b1d7
xor esi, esi
mov eax, edi
test edi, edi
je 0x100b237
movzx ecx, word [edi]
test cx, cx
je 0x100b233
push eax
call fcn.01008175
pop ecx
movzx ecx, word [eax]
cmp cx, 0x5c
jne 0x100b21a
mov esi, eax
jmp 0x100b21a
test esi, esi
jne 0x100b23c
xor ebx, ebx
inc ebx
jmp 0x100b1ff
mov ecx, dword [ebp - 0x218]
xor eax, eax
sub esi, edi
sar esi, 1
push eax
mov word [ecx + esi*2], ax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
jne 0x100b1ff
push 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x21c], eax
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x100b287
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x100b297
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b295
and eax, edi
or eax, esi
mov ebx, eax
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x100b2b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b2b3
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jne 0x100b2e3
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100b2df
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b2e1
and eax, edi
or eax, esi
jmp 0x100b2e1
call eax
mov ebx, eax
cmp dword [ebp - 0x21c], 0
je 0x100b2f8
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x100b1ff
Function at 0x100b355
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
cmp dword [0x100fe08], 0xffffffff
mov ebx, eax
jne 0x100b438
lea eax, [ebp - 0x868]
push eax
mov dword [0x100fe08], edi
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x868], 0x20019
call fcn.01004283
pop ecx
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x868]
push edi
push 0x100b500
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b438
lea eax, [ebp - 0x858]
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x858]
push eax
push edi
push edi
push 0x100b4f0
push dword [ebp - 0x86c]
mov dword [ebp - 0x860], 0x28
mov dword [ebp - 0x868], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b421
mov eax, dword [ebp - 0x864]
mov eax, dword [eax]
and eax, 3
mov dword [0x100fe08], eax
push dword [ebp - 0x86c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x864]
call fcn.01008e06
test dword [0x100fe08], 3
je 0x100b4aa
xor eax, eax
push 0x800
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x808]
cmp dword [ebp + 0xc], edi
je 0x100b486
push dword [ebp + 0xc]
push 0x100b4cc
push 0x401
push eax
call fcn.01008f12
add esp, 0x14
jmp 0x100b499
push 0x100b4c0
push 0x401
push eax
call fcn.01008f12
add esp, 0x10
cmp eax, edi
jl 0x100b4aa
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001d10
leave
ret
Function at 0x100ba67
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x100bbb0
push 0xf01ff
push 0x1001ff8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x100bb7c
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x100bb19
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, 0x3e8
push ebx
mov dword [ebp - 0x28], 4
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100bafc
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp eax, 5
jge 0x100bb09
cmp dword [ebp - 0x28], 3
jne 0x100bb09
push ebx
call esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100bae8
cmp dword [ebp - 0x28], 1
pop ebx
je 0x100bb59
mov dword [ebp - 4], 0x80004005
jmp 0x100bb70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
sub eax, 0x41c
je 0x100bb4d
sub eax, 8
je 0x100bb48
dec eax
dec eax
je 0x100bb48
sub eax, 0xf
je 0x100bb48
push dword [ebp - 4]
push 0x100bc20
call fcn.0100b355
pop ecx
pop ecx
jmp 0x100bb54
mov dword [ebp - 4], esi
jmp 0x100bb59
mov dword [ebp - 4], 0x652
cmp dword [ebp - 4], esi
jne 0x100bb70
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp eax, 1
je 0x100bb70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
jmp 0x100bba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
sub eax, 0x424
je 0x100bba2
sub eax, 0xc
je 0x100bba2
push dword [ebp - 4]
push 0x100bbf8
call fcn.0100b355
pop ecx
pop ecx
jmp 0x100bba5
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100bbc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100bbcc
mov dword [ebp - 4], eax
call fcn.0100b355
pop ecx
pop ecx
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x100bc53
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc08
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0xc00]
push ecx
push 0x2001f
xor esi, esi
push esi
push ebx
push eax
mov dword [ebp - 0xc08], eax
call fcn.01002171
add esp, 0x14
cmp eax, esi
je 0x100bc9e
cmp eax, 2
sete al
jmp 0x100bda8
push edi
lea ecx, [ebp - 0xbfc]
call fcn.01008d3a
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100bcc9
push dword [ebp - 0xbfc]
push dword [ebp - 0xc00]
call fcn.0100bc53
pop ecx
pop ecx
test al, al
je 0x100bd08
mov eax, dword [ebp - 0xbf8]
push esi
push esi
push esi
push esi
mov dword [ebp - 0xc04], eax
lea eax, [ebp - 0xc04]
push eax
push dword [ebp - 0xbfc]
push esi
push dword [ebp - 0xc00]
call edi
cmp eax, esi
je 0x100bcb2
push dword [ebp - 0xc00]
cmp eax, 0x103
je 0x100bd10
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100bd71
push dword [ebp - 0xc00]
jmp 0x100bd00
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push dword [ebp - 0xc08]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp edi, esi
je 0x100bd8d
xor eax, eax
push 0x800
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push esi
push eax
call sub.msvcrt.dll_memset
push ebx
push 0x100bdb8
lea eax, [ebp - 0x808]
push 0x401
push eax
call fcn.01008f12
add esp, 0x1c
test eax, eax
jl 0x100bd71
lea eax, [ebp - 0x808]
push edi
push eax
call fcn.0100b355
pop ecx
pop ecx
cmp dword [ebp - 0xbf8], 0x1f4
jle 0x100bd89
push dword [ebp - 0xbfc]
call fcn.01008836
pop ecx
xor al, al
jmp 0x100bda7
cmp dword [ebp - 0xbf8], 0x1f4
jle 0x100bda5
push dword [ebp - 0xbfc]
call fcn.01008836
pop ecx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001d10
leave
ret
Function at 0x440b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a000]
push edi
or ebp, 0xffffffff
jmp 0x440ba2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440ba9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440b98
mov eax, 1
add ebx, ebx
jne 0x440bbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440bb0
jne 0x440bcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440bb0
xor ecx, ecx
sub eax, 3
jb 0x440be0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440c52
mov ebp, eax
add ebx, ebx
jne 0x440beb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x440bf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x440c1c
inc ecx
add ebx, ebx
jne 0x440c08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x440bfd
jne 0x440c19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440bfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x440c3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x440c2d
jmp 0x440b9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x440c3c
add edi, ecx
jmp 0x440b9e
pop esi
mov edi, esi
mov ecx, 0x22
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x440c5a
cmp byte [edi], 1
jne 0x440c5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x440c5f
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440cd7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x40bb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x40bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440c8c
mov ecx, edi
jns 0x440cbb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40bf8]
or eax, eax
je 0x440cd1
mov dword [ebx], eax
add ebx, 4
jmp 0x440ca9
call dword [esi + 0x40c08]
mov ebp, dword [esi + 0x40bfc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x440d0b
sub esp, 0xffffff80
jmp 0x401344
Function at 0x10004c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x10004c7f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x10004c54
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x10004c91
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x10004ca5
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x10004ceb
xor ecx, ecx
cmp edi, 0x100
jb 0x10004cc8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x100055ec
jle 0x100055e7
cmp eax, 3
jg 0x100055e7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x100055de
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x100055cc
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.10011ef0
mov eax, 1
ret 0x10

Function at 0x10005b60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x10005bac
jle 0x10005ba7
cmp eax, 3
jg 0x10005ba7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x10005b9e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x10005b8c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.10006a50
mov eax, 1
ret 0x10
Function at 0x10006080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x124]
sub eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
je 0x100061c2
dec eax
je 0x100060c6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
mov ecx, dword [esi + 0x20]
push esi
mov edi, ecx
lea eax, [esp + 0x20]
and ecx, 0x1f
mov ebx, 1
push 1
push eax
shr edi, 5
shl ebx, cl
call fcn.10005610
test eax, eax
mov ebp, dword [esp + 0x124]
je 0x10006104
push esi
push 1
push ebp
call fcn.10005610
test eax, eax
je 0x10006104
mov eax, 1
jmp 0x10006106
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + edi*4 + 0x1c]
cmp ecx, 1
mov dword [edi], ebx
je 0x10006177
dec ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x10006164
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.10005990
test eax, eax
je 0x10006164
push esi
push ebp
push ebp
push ebp
call fcn.10005990
test eax, eax
je 0x10006164
mov ecx, dword [esp + 0x120]
push esi
push ebp
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.10005a00
test eax, eax
je 0x10006164
mov eax, 1
jmp 0x10006166
xor eax, eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor edx, ebx
dec ecx
mov dword [edi], edx
mov dword [esp + 0x10], ecx
jne 0x1000611a
test eax, eax
je 0x100060b7
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push ebp
push ebp
call fcn.10005a00
test eax, eax
je 0x100060b7
mov ecx, dword [esp + 0x120]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.10011ef0
test eax, eax
je 0x100060b7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor esi, esi
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x124]
je 0x10006219
mov ebx, dword [esp + 0x120]
mov eax, edx
shr eax, 5
mov ecx, edx
mov ebx, dword [ebx + eax*4]
and ecx, 0x1f
shr ebx, cl
mov ebp, dword [edi + eax*4]
and ebx, 1
xor esi, ebx
mov ebx, esi
not ebx
and ebx, 1
shl ebx, cl
not ebx
and ebx, ebp
mov ebp, esi
and ebp, 1
shl ebp, cl
or ebx, ebp
inc edx
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x100061d1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ebx*4 - 4]
xor eax, eax
test esi, esi
sete al
shl edx, cl
shr edx, cl
mov dword [edi + ebx*4 - 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x10007440
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
sub eax, 0x182
je 0x10007474
sub eax, 0x64
je 0x10007474
sub eax, 0x64
cmp word [esp + 0x20], 6
jb 0x10007474
push 0xc
call fcn.1000d220
add esp, 0x24
ret
push 4
call fcn.1000d220
add esp, 0x24
ret
Function at 0x1000c770
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x1000c795
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x1000c99c
cmp ebx, 0x40
ja 0x1000c99c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x1000c7c3
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.10011ef0
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.10011ef0
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x1000c93e
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x1000c930
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.1000b030
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x1000c8c2
push ebx
push edx
call fcn.10011ef0
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000c914
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.1000b030
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x1000c907
jmp 0x1000c918
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x1000c89b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x1000c854
mov edi, dword [esp + 0x544]
test edi, edi
je 0x1000c95b
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000c98a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x10011ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10011eff
pop dword [ebp - 0x18]
mov eax, 0xb16f71d6
sub eax, 0xa16e52d7
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x352f9
push 0
mov eax, 0xb298c935
add eax, 0x5d69a7c7
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xf5b92594
sub ecx, 0xf5b8f4a7
mov edx, eax
mov ebx, 0x1003da00
add ebx, dword [ebp - 0x18]
mov edi, 0x4ee60a7
add dword [ebp - 0x14], 0xf5491d50
mov esi, dword [ebx]
mov dword [ebp - 4], 0x2e3b264
add esi, edi
add dword [ebp - 4], 0x6d9c827b
mov dword [edx], esi
xor dword [ebp - 4], ecx
add edx, 0x5e4df12e
add edx, 0xa1b20ed6
add ebx, 4
loop 0x10011f52
add eax, 0xb687
mov ebx, eax
add eax, 0xb75c0eb8
sub eax, 0xb75c0eb3
mov ecx, 0x5c8bc742
add ecx, 0xb37438be
add ecx, dword [ebp - 0x18]
call ebx
leave
ret