joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021ed
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x214], eax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x21c], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 3
push ebx
push 0x1001578
push esi
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x1002407
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push dword [ebp - 0x210]
call ebx
mov esi, eax
test esi, esi
jne 0x10023e3
push 0x10011d0
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov edi, dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
test eax, eax
jne 0x10022d9
push dword [0x1004018]
call fcn.01002191
test eax, eax
je 0x10022c3
push dword [0x100401c]
call fcn.01002191
test eax, eax
jne 0x10022d9
push dword [0x100401c]
push dword [0x1004018]
push 0x1001528
call edi
add esp, 0xc
push dword [0x1004018]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x10023d9
push dword [0x1004018]
push dword [ebp - 0x21c]
push dword [ebp - 0x214]
push 0x10014b8
call edi
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x10014a0
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x208
call ebx
mov esi, eax
test esi, esi
jne 0x1002364
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
neg eax
sbb eax, eax
inc eax
pop ecx
pop ecx
jne 0x100236f
push 0x1001474
jmp 0x10023de
push esi
push 0x1001428
call edi
pop ecx
jmp 0x10023e0
mov ecx, dword [0x100401c]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x100237a
sub eax, edx
sar eax, 1
add eax, eax
push eax
push ecx
push 1
push 0
push dword [ebp - 0x21c]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, 0x1001410
test esi, esi
je 0x10023b2
mov eax, 0x1001400
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [0x100401c]
push dword [0x1004018]
push dword [ebp - 0x214]
push 0x1001370
call edi
add esp, 0x1c
jmp 0x10023f9
push 0x1001320
call edi
pop ecx
jmp 0x10023f9
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x10012d8
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 0xc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002415
push esi
push 0x1001250
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002d4d
leave
ret 0xc
Function at 0x100242d
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
sete dl
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, 0x100175c
mov dword [ebp - 0x634], edi
mov esi, edx
neg esi
sbb esi, esi
not esi
and esi, eax
mov dword [ebp - 0x638], ecx
mov dword [ebp - 0x630], 0x208
mov dword [ebp - 0x628], ebx
test edx, edx
jne 0x10025a2
mov dword [ebp - 0x628], 0x1001738
mov dword [ebp - 0x620], eax
push dword [ebp - 0x620]
mov ebx, dword [sym.imp.msvcrt.dll_wprintf]
and dword [ecx], 0
push 0x1001700
call ebx
pop ecx
pop ecx
push edi
push 1
push 0
push dword [ebp - 0x620]
mov edi, 0x80000003
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x624], eax
test eax, eax
je 0x10025f5
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 2
push dword [ebp - 0x628]
push esi
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 0x624], eax
test eax, eax
jne 0x10025da
mov word [ebp - 6], ax
mov esi, 0x208
push esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10025bb
xor eax, eax
push 0x10016e8
mov word [ebp - 0x20e], ax
lea eax, [ebp - 0x61c]
push esi
push eax
call sub.msvcrt.dll_wcscat_s
add esp, 0xc
test eax, eax
jne 0x10025f5
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x620]
push edi
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov dword [ebp - 0x624], eax
test eax, eax
jne 0x10025ad
push dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
inc eax
push eax
push 0
push dword [ebp - 0x620]
mov dword [ecx], eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x624], eax
jmp 0x10025f5
mov dword [ebp - 0x620], ebx
jmp 0x10024a1
push eax
push dword [ebp - 0x620]
push 0x1001690
jmp 0x10025d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x620]
mov dword [ebp - 0x624], eax
push 0x1001620
call ebx
add esp, 0xc
jmp 0x10025f5
test esi, esi
jne 0x10025e3
mov esi, 0x1001614
push eax
push esi
push dword [ebp - 0x628]
push 0x10015b0
call ebx
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x624]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002d4d
leave
ret 0x10
Function at 0x10026e1
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1001a60
push 0x80000002
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x218], eax
cmp eax, esi
jne 0x100280d
push ebx
push edi
push esi
push dword [ebp - 0x210]
call fcn.01002611
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
push esi
push esi
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x218], eax
cmp eax, esi
jne 0x10027f1
xor ebx, ebx
cmp dword [ebp - 0x214], esi
jbe 0x10027ff
mov edi, dword [sym.imp.msvcrt.dll_wprintf]
push 0x1001a58
call edi
pop ecx
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x10027da
push dword [ebp - 0x224]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x220]
push eax
push dword [ebp - 0x210]
call fcn.01002611
jmp 0x10027e6
push eax
push ebx
push 0x1001a00
call edi
add esp, 0xc
inc ebx
cmp ebx, dword [ebp - 0x214]
jb 0x1002785
jmp 0x10027ff
push eax
push 0x10019a8
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100281b
push eax
push 0x1001950
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002d4d
leave
ret 8

Function at 0x10067c1
Capabilities:
Get number of processors

Disassembly:
xor dl, 0xfe
call fcn.010065e8
not eax
mov edx, esp
push 4
push edx
xchg edi, ecx
push 0x15
push 0xffffffffffffffff
cld
inc eax
call fcn.010065e1
add esp, 4
cmp esi, edx
pop ebx
pop edi
call edi
call fcn.01006789
cmp dword [ebp + 0x6730], 0x107
not ecx
jle 0x1006729
sub esi, dword [esp + 0x28]
jbe 0x1006729
xchg ch, ch
sub eax, dword [esp + 0x30]
not edi
lea ecx, [esp + 1]
sbb edx, dword [ecx + 0x2b]
add edi, eax
idiv esi
not dl
sub eax, 0x1e34d
xchg edx, ecx
sub eax, 0x986b15
sbb eax, eax
push 0xfffffffffffffff4
sub ch, ah
imul edx, eax, 0xcfa924b3
jmp 0x100671f
sbb byte [ebp - 0xdb], dh
dec ecx
not edx
pop edi
lea edi, [edi + 0x64]
lea ecx, [ebp - 0x666a72d3]
inc esi
push dword [ebp - 0x236]
add edi, ebp
add esi, ecx
pop edx
ret
push 0x4c28bd4a
call fcn.010065e8
push esi
mov edx, dword fs:[0x30]
test edx, edx
js 0x1006422
push ebx
sub cl, 0xe8
inc ecx
adc ah, 0x8a
mov al, 0xa2
mov edx, dword [edx + 0xc]
mov ebx, dword [edx + 0x1c]
not esi
push 1
adc edi, ebx
not al
mov al, 2
or edi, ecx
mov ebx, dword [ebx + 8]
push 0x9cb37f46
jmp 0x1006400
Function at 0x10001f35
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001a1a0]
jne 0x10001f3f
repz ret
jmp fcn.10002b4c

Function at 0x10007286
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000381b
and dword [ebp - 4], 0
cmp dword [0x1001cc50], 0
mov ebx, eax
jne 0x10007337
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100073e8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100073e8
push eax
call fcn.100037a9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001cc50], eax
call esi
push eax
call fcn.100037a9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001cc54], eax
call esi
push eax
call fcn.100037a9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001cc58], eax
call esi
push eax
call fcn.100037a9
pop ecx
mov dword [0x1001cc60], eax
test eax, eax
je 0x10007337
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100037a9
pop ecx
mov dword [0x1001cc5c], eax
mov eax, dword [0x1001cc5c]
cmp eax, ebx
je 0x1000738f
cmp dword [0x1001cc60], ebx
je 0x1000738f
push eax
call fcn.10003824
push dword [0x1001cc60]
mov esi, eax
call fcn.10003824
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000738f
test edi, edi
je 0x1000738f
call esi
test eax, eax
je 0x10007386
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10007386
test byte [ebp - 0xc], 1
jne 0x1000738f
or dword [ebp + 0x10], 0x200000
jmp 0x100073c8
mov eax, dword [0x1001cc54]
cmp eax, ebx
je 0x100073c8
push eax
call fcn.10003824
pop ecx
test eax, eax
je 0x100073c8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100073c8
mov eax, dword [0x1001cc58]
cmp eax, ebx
je 0x100073c8
push eax
call fcn.10003824
pop ecx
test eax, eax
je 0x100073c8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001cc50]
call fcn.10003824
pop ecx
test eax, eax
je 0x100073e8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100073ea
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009d30
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [ecx + esi]
mov dl, al
sub dl, 0x41
cmp dl, 0x19
ja 0x10009d55
movsx eax, al
sub eax, 0x41
jmp 0x10009d96
mov dl, al
sub dl, 0x61
cmp dl, 0x19
ja 0x10009d67
movsx eax, al
sub eax, 0x47
jmp 0x10009d96
mov dl, al
sub dl, 0x30
cmp dl, 9
ja 0x10009d79
movsx eax, al
add eax, 4
jmp 0x10009d96
cmp al, 0x2b
jne 0x10009d84
mov eax, 0x3e
jmp 0x10009d96
cmp al, 0x2f
jne 0x10009d8f
mov eax, 0x3f
jmp 0x10009d96
cmp al, 0x3d
jne 0x10009dcc
or eax, 0xffffffff
mov dword [esp + ecx*4 + 4], eax
inc ecx
cmp ecx, 4
jl 0x10009d40
mov ecx, dword [esp + 4]
push edi
cmp ecx, 0xffffffff
je 0x10009dc4
mov edi, dword [esp + 0xc]
cmp edi, 0xffffffff
je 0x10009dc4
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp esi, 0xffffffff
jne 0x10009dd3
cmp edx, esi
je 0x10009de0
xor eax, eax
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
pop esi
add esp, 0x10
ret
xor eax, eax
cmp edx, 0xffffffff
setne al
add eax, 2
jmp 0x10009de5
mov eax, 1
shl ecx, 6
or ecx, edi
shl ecx, 6
and esi, 0x3f
or ecx, esi
mov esi, dword [esp + 0x20]
and edx, 0x3f
shl ecx, 6
or ecx, edx
mov edx, ecx
shr edx, 0x10
cmp eax, 1
mov byte [esi], dl
jle 0x10009e12
mov edx, ecx
shr edx, 8
mov byte [esi + 1], dl
cmp eax, 2
jle 0x10009dc6
pop edi
mov byte [esi + 2], cl
pop esi
add esp, 0x10
ret

Function at 0x1000b200
Capabilities:
Encode data using xor

Disassembly:
mov ax, word [esp + 0xc]
xor ecx, ecx
cmp cx, ax
jae 0x1000b251
mov edx, dword [esp + 8]
push esi
movzx esi, ax
mov eax, dword [esp + 8]
push edi
lea esp, [esp]
movzx di, byte [edx]
mov ecx, eax
shr ecx, 8
xor cx, di
mov edi, 0xff
and cx, di
movzx ecx, cx
movzx ecx, cx
shl eax, 8
xor ax, word [ecx*2 + 0x10015de0]
inc edx
sub esi, 1
movzx eax, ax
jne 0x1000b220
pop edi
pop esi
ret
mov ax, word [esp + 4]
ret

Function at 0x1000b3f0
Capabilities:
Encrypt data using rc4 prga
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 1
or bl, 0xff
sub bl, byte [eax]
push eax
push 0
mov byte [esp + 0x1c], bl
lea esi, [eax + 1]
call fcn.1000b200
xor edi, edi
add esp, 0xc
movzx eax, ax
cmp dword [esp + 0x18], edi
jbe 0x1000b454
push ebp
mov ebp, dword [esp + 0x18]
jmp 0x1000b426
mov bl, byte [esp + 0x14]
movzx ecx, bl
mov bl, byte [ecx + 0x10015ce0]
xor bl, byte [esi]
push 1
push esi
push eax
mov byte [edi + ebp], bl
call fcn.1000b200
add esp, 0xc
inc esi
movzx eax, ax
test bl, bl
je 0x1000b453
inc byte [esp + 0x14]
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x1000b422
pop ebp
push 1
lea edx, [esi + 1]
push edx
push 1
push esi
push eax
call fcn.1000b200
movzx eax, ax
add esp, 0xc
push eax
call fcn.1000b200
add esp, 0xc
test ax, ax
jbe 0x1000b47f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x1000b490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
or bl, 0xff
sub bl, byte [eax]
cmp dword [esp + 0x10], 1
mov byte [esp + 0xc], bl
jne 0x1000b4ab
xor eax, eax
pop ebx
pop ecx
ret
push ebp
push esi
push edi
push 1
push eax
push 0
lea esi, [eax + 1]
call fcn.1000b200
xor ebp, ebp
add esp, 0xc
movzx eax, ax
cmp dword [esp + 0x24], ebp
jbe 0x1000b522
mov edi, 2
sub edi, esi
mov dword [esp + 0x10], edi
jmp 0x1000b4e8
mov bl, byte [esp + 0x18]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
movzx ecx, bl
mov bl, byte [ecx + 0x10015ce0]
xor bl, byte [esi]
push 1
push esi
add edi, esi
push eax
mov byte [edi + edx - 2], bl
call fcn.1000b200
add esp, 0xc
movzx eax, ax
test bl, bl
je 0x1000b552
cmp edi, dword [esp + 0x1c]
jae 0x1000b555
inc byte [esp + 0x18]
inc ebp
inc esi
cmp ebp, dword [esp + 0x24]
jb 0x1000b4e0
push 1
lea ecx, [esi + 1]
push ecx
push 1
push esi
push eax
call fcn.1000b200
movzx edx, ax
add esp, 0xc
push edx
call fcn.1000b200
add esp, 0xc
xor cx, cx
cmp cx, ax
pop edi
pop esi
sbb eax, eax
not eax
and eax, ebp
pop ebp
pop ebx
pop ecx
ret
inc esi
jmp 0x1000b522
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x1000b560
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1034
call fcn.100089d0
mov eax, dword [0x1001a1a0]
xor eax, esp
mov dword [esp + 0x1030], eax
mov eax, dword [esp + 0x103c]
push ebx
push ebp
mov ebp, dword [esp + 0x1048]
push esi
mov esi, dword [esp + 0x1044]
or bl, 0xff
sub bl, byte [esi]
mov dword [esp + 0x10], esi
inc esi
push edi
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], 0
cmp ebp, 0x1000
jbe 0x1000b5dd
push ebp
call fcn.100022ab
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1000b5d9
push str.7p4lZIVVm5QrtbBKZt9XeU4lyjDQSHjjp5v8WMGUOYM_qhlb_3SDyQ
push eax
call fcn.1000b050
add esp, 8
xor eax, eax
jmp 0x1000b6c7
mov edi, eax
jmp 0x1000b5e1
lea edi, [esp + 0x40]
mov ecx, dword [esp + 0x14]
push 1
push ecx
push 0
call fcn.1000b200
add esp, 0xc
movzx eax, ax
mov dword [esp + 0x14], 0
test ebp, ebp
jbe 0x1000b63a
jmp 0x1000b607
mov bl, byte [esp + 0x13]
movzx edx, bl
mov bl, byte [edx + 0x10015ce0]
xor bl, byte [esi]
push 1
push esi
push eax
mov byte [edi], bl
call fcn.1000b200
add esp, 0xc
inc esi
movzx eax, ax
test bl, bl
je 0x1000b63a
mov ecx, dword [esp + 0x14]
inc byte [esp + 0x13]
inc ecx
inc edi
mov dword [esp + 0x14], ecx
cmp ecx, ebp
jb 0x1000b603
push 2
push esi
push eax
call fcn.1000b200
add esp, 0xc
test ax, ax
jbe 0x1000b664
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000b65c
push eax
call fcn.10001f2a
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x1001d38c]
test eax, eax
jne 0x1000b69a
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
push eax
call fcn.1000ca70
push 0x20
lea ecx, [esp + 0x28]
push ecx
push 0x1001bdfc
mov esi, eax
call fcn.1000b260
push eax
push esi
call fcn.1000c160
add esp, 0x18
mov dword [0x1001d38c], eax
mov edi, dword [esp + 0x18]
push ebp
test edi, edi
je 0x1000b6e0
mov edx, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push edi
push 0
push 0
call eax
push edi
mov esi, eax
call fcn.10001f2a
add esp, 4
test esi, esi
je 0x1000b5d2
lea eax, [esi - 1]
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001f35
add esp, 0x1034
ret
mov ecx, dword [esp + 0x20]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x4c]
push edx
push 0
push 0
call eax
mov esi, eax
jmp 0x1000b6bc
Function at 0x1000b700
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x1000b7ab
cmp byte [edi], 0
je 0x1000b7ab
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1000d3a4
call fcn.1000d3b6
mov esi, dword [esp + 0x1c]
mov bl, al
push 1
or al, 0xff
sub al, bl
push esi
push 0
mov byte [esi], al
call fcn.1000b200
movzx ecx, bl
mov dl, byte [ecx + 0x10015ce0]
xor dl, byte [edi]
movzx eax, ax
inc esi
push 1
push esi
push eax
mov byte [esi], dl
call fcn.1000b200
add esp, 0x1c
cmp byte [edi], 0
movzx eax, ax
mov ebp, 2
je 0x1000b798
sub edi, esi
lea esp, [esp]
inc bl
movzx ecx, bl
mov dl, byte [ecx + 0x10015ce0]
xor dl, byte [edi + esi + 1]
inc esi
push 1
push esi
push eax
mov byte [esi], dl
call fcn.1000b200
add esp, 0xc
inc ebp
cmp byte [edi + esi], 0
movzx eax, ax
jne 0x1000b770
inc esi
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
mov byte [esi + 1], al
pop esi
lea eax, [ebp + 2]
pop ebp
pop ebx
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x1000ca30
Capabilities:
Get system information on windows

Disassembly:
mov al, byte [0x1001d3ac]
sub esp, 0x24
test al, al
ja 0x1000ca67
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x1c]
mov al, 1
cmp edx, 2
je 0x1000ca62
push esi
inc al
mov esi, 1
mov cl, al
shl esi, cl
cmp esi, edx
jne 0x1000ca52
pop esi
mov byte [0x1001d3ac], al
add esp, 0x24
ret

Function at 0x1000ca70
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
push esi
call fcn.1000ca30
mov esi, dword [esp + 0x10]
movzx ebp, al
mov ecx, ebp
shr esi, cl
shl esi, cl
test esi, esi
je 0x1000cafd
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 1
push esi
call ebx
test eax, eax
jne 0x1000cafd
push edi
lea esp, [esp]
push 0x40
push esi
call ebx
test eax, eax
jne 0x1000cacc
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000cacc
mov edi, dword [esi + 0x3c]
push pe_nt_image_headers32
add edi, esi
push edi
call ebx
test eax, eax
jne 0x1000cacc
cmp dword [edi], 0x4550
je 0x1000caf6
or edx, 0xffffffff
mov ecx, ebp
shl edx, cl
add esi, edx
je 0x1000cae0
push 1
push esi
call ebx
test eax, eax
je 0x1000caa0
push str.Qi1GnqygDnaupI2XKp9yUHvaXFwqiRkj45FSQrL_zVNAmSvWyByCP9hAeOOutEdUkoEPhMPD_A
push 0
call fcn.1000b050
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
push str.RsycZQYTbYyEoQ9XpIiZlSu7dnxm9116Ia0ONMzUT16b_9FZVd040cUdwzzQQSrnuaNpXGsMA
push 0
call fcn.1000b050
add esp, 8
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x1000cb20
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1000cb41
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x1000cb44
push str.oQLsRzGKflKPPemsnNVjZcdi8Yg1xrYSX7gd_4nGgM82uEnpEpZ0GDkDsrj3TsEyw
push 0
call fcn.1000b050
add esp, 8
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
je 0x1000cb63
push str.pGf75h7WbDWMOcFJPcSju1BygJ82t4ss5EzQS2HlO9kXGjQa7q81uVhF1Ej_fK9d
push 0
call fcn.1000b050
add esp, 8
xor eax, eax
ret
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x1000cb7b
push str.pGf75h7WbDWMOcFJPcSju1BygJ82t4sr5RrUX3juaeNjTiYR5aQIoy1CVQ
push eax
call fcn.1000b050
add esp, 8
xor eax, eax
ret
mov eax, dword [eax + ecx + 0xc]
add eax, ecx
ret
Function at 0x10010bc5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10010c06
cmp dword [ebp - 0x398], 0
je 0x10010dd0
cmp dword [ebp + 0xc], 1
je 0x10010dd0
cmp dword [ebp + 0xc], 8
jne 0x10010d98
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
inc dword [edi]
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.1000ff22
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000fed7
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
invalid
lea esp, [ecx - 7]
invalid