joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b5e78
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x6b5ea4
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x6b5ead
call fcn.006b4ab8
mov eax, 0xa
call fcn.005c8ccc
call fcn.006b4ab8
call fcn.006b5e44
test al, al
jne 0x6b5e82
pop ebx
ret

Function at 0x6b6530
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd4
mov byte [0x6d87e9], 0
push 0x6b66bc
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
push 0x6b66d8
push ebx
call fcn.00414030
mov esi, eax
test esi, esi
je 0x6b65d8
lea eax, [esp + 2]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x6b65d8
cmp word [esp], 0
je 0x6b65d8
mov byte [0x6d87e9], 1
movzx eax, word [esp + 2]
sub ax, 0x14c
je 0x6b659c
sub ax, 0xb4
je 0x6b65a8
sub ax, 0x8464
je 0x6b65b4
sub ax, 0x2400
je 0x6b65c0
jmp 0x6b65cc
mov byte [0x6cf7b5], 1
jmp 0x6b6674
mov byte [0x6cf7b5], 3
jmp 0x6b6674
mov byte [0x6cf7b5], 2
jmp 0x6b6674
mov byte [0x6cf7b5], 4
jmp 0x6b6674
mov byte [0x6cf7b5], 0
jmp 0x6b6674
push 0x6b66f8
push ebx
call fcn.00414030
test eax, eax
je 0x6b6620
lea edx, [esp + 8]
push edx
call eax
push 0x6b6720
push ebx
call fcn.00414030
mov esi, eax
test esi, esi
je 0x6b662a
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x6b662a
cmp dword [esp + 4], 0
je 0x6b662a
mov byte [0x6d87e9], 1
jmp 0x6b662a
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 8]
sub ax, 1
jb 0x6b6649
sub ax, 5
je 0x6b6652
sub ax, 3
je 0x6b665b
sub ax, 3
je 0x6b6664
jmp 0x6b666d
mov byte [0x6cf7b5], 1
jmp 0x6b6674
mov byte [0x6cf7b5], 3
jmp 0x6b6674
mov byte [0x6cf7b5], 2
jmp 0x6b6674
mov byte [0x6cf7b5], 4
jmp 0x6b6674
mov byte [0x6cf7b5], 0
cmp byte [0x6d87e9], 0
je 0x6b66b5
call fcn.0060c2a8
test al, al
je 0x6b66ae
push 0x6b6740
push ebx
call fcn.00414030
test eax, eax
je 0x6b66ae
push 0x6b6774
push 0x6b6794
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414030
test eax, eax
jne 0x6b66b5
mov byte [0x6d87e9], 0
add esp, 0x2c
pop esi
pop ebx
ret

Function at 0x6b67b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x6b6820
mov edx, 0x80000002
xor eax, eax
call fcn.005c7a60
test eax, eax
jne 0x6b6819
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x6b6874
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6b6810
cmp dword [ebp - 0xc], 4
jne 0x6b6810
cmp dword [ebp - 8], 4
jne 0x6b6810
movzx eax, word [ebp - 0x10]
mov word [0x6d8800], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov esp, ebp
pop ebp
ret
Function at 0x40fb20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401e38
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404ef8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00404f58
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x40fcd5
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x40fbf6
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404fa8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x40fcd5
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404a04
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.00405008
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x40fcd5
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x40fc73
mov dword [ebp - 0x8c], 0
jmp 0x40fc7f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x40fcb6
mov dword [ebp - 0x90], 0
jmp 0x40fcc2
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x40fbc4
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404d70
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x40fcfd
jmp 0x40fcfc
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x484d09
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x484a08
add edi, edi
mov edi, 0x8cc00378
or edi, edi
call fcn.00484d3f
and esi, esi
or edi, edi
xor dword [ebx], eax
dec esi
add ebx, 2
or edi, esi
cmp ebx, ecx
jl fcn.00484d09
add esi, edi
or edi, edi
and esi, edi
ret
Function at 0xd68b88
Capabilities:
Encode data using xor

Disassembly:
push 0xd68886
mov esi, dword [esp]
add esp, 4
sub ecx, ebx
call fcn.00d68bc2
mov ecx, ecx
and ecx, ecx
add ecx, ecx
xor dword [edi], esi
add ecx, ecx
and ecx, ebx
and ebx, ecx
add edi, 2
or ebx, ecx
mov ebx, ecx
cmp edi, eax
jl fcn.00d68b88
or ebx, ecx
ret
Function at 0x40ebe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4011c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4011b0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov ebx, 6
push ebx
lea eax, [ebp - 0x2c]
xor edi, edi
push 0x401fe0
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], edi
call esi
push 0x11
lea ecx, [ebp - 0x48]
push 0x401f78
push ecx
call esi
push 0xc
lea edx, [ebp - 0x64]
push 0x401ec0
push edx
call esi
mov ecx, dword [ebp - 0x58]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x70], 0x645e306a
mov dword [ebp - 0x6c], 0x10408bad
mov dword [ebp - 0x78], ebx
call esi
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x70], 0xf3c708b
mov dword [ebp - 0x6c], 0x8b3848b7
lea ecx, [eax + 0x10]
mov dword [ebp - 0x78], ebx
call esi
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x78]
add ecx, 0x20
mov dword [ebp - 0x70], 0x8904247c
mov dword [ebp - 0x6c], 0xa4f3fc4f
mov dword [ebp - 0x78], ebx
call esi
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x70], 0xc3
mov dword [ebp - 0x6c], edi
lea ecx, [eax + 0x30]
mov dword [ebp - 0x78], ebx
call esi
mov ecx, dword [ebp - 0x58]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaCyVar]
push ecx
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x10
push ecx
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x20
push ecx
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
push ecx
call esi
mov ecx, dword [ebp - 0x20]
push 1
push 1
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00401bd8
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 0x7c], eax
call esi
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x20]
push edi
push edi
push 0x207
push edx
push eax
call fcn.00401c20
call esi
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x48]
push edx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x78], 0x2011
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarCopy]
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0x40edad
jmp 0x40ed77
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x7c]
xor edi, edi
lea eax, [ebp - 0x2c]
push ecx
push edi
mov dword [ebp - 0x7c], eax
call esi
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x80], edx
call esi
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x64]
push edx
push edi
mov dword [ebp - 0x84], ecx
call esi
ret
Function at 0x100014c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x1004ee60
call fcn.1003d8d0
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x10001501
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001511
Capabilities:
Check for debugger via api
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.100014c0
test eax, eax
jne 0x100015e1
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], ebx
jne 0x100015e1
movaps xmm0, xmmword [0x1004d770]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x4e707177
mov dword [ebp - 0x20], 0x7b7d716c
mov word [ebp - 0x1c], 0x6d6d
mov byte [ebp - 0x1a], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x19
jb 0x10001575
mov byte [ebp - 0x1a], bl
mov cl, 0x5b
mov dword [ebp - 0x18], 0x3f2f355b
mov eax, ebx
mov dword [ebp - 0x14], 0x3f753737
mov word [ebp - 0x10], 0x3737
mov byte [ebp - 0xe], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 9
jae 0x100015af
mov cl, byte [ebp - 0x18]
jmp 0x100015a0
lea eax, [ebp - 0x17]
mov byte [ebp - 0xe], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x33]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100015e9
push ebx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x100015e9
cmp dword [ebp - 0xc], ebx
je 0x100015e9
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003c8c4
leave
ret

Function at 0x100015f6
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1004d650]
xor edx, edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x49537f59
mov ecx, edx
mov dword [ebp - 0x18], 0x4e594852
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x1000161c
mov byte [ebp - 0x14], dl
mov cl, 0x74
mov dword [ebp - 0x10], 0x6111f74
mov eax, edx
mov dword [ebp - 0xc], 0x4718111a
mov dword [ebp - 8], 0x18105a46
mov word [ebp - 4], 0x18
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x1000165a
mov cl, byte [ebp - 0x10]
jmp 0x1000164b
lea eax, [ebp - 0xf]
mov byte [ebp - 3], dl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2b]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000d7fe
cmp al, 0xe9
jne 0x10001685
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret
Function at 0x10001687
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x4a4e5327
mov cl, 0x27
mov dword [ebp - 0xc], 0x53426042
mov dword [ebp - 8], 0x424a4e73
mov eax, edx
mov byte [ebp - 4], dl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x100016ba
mov cl, byte [ebp - 0x10]
jmp 0x100016ab
mov byte [ebp - 4], dl
mov cl, 0x2c
mov dword [ebp - 0x20], 0x5e49472c
mov eax, edx
mov dword [ebp - 0x1c], 0x1f404942
mov dword [ebp - 0x18], 0x4048021e
mov word [ebp - 0x14], 0x40
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x100016eb
mov cl, byte [ebp - 0x20]
jmp 0x100016dc
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x13], dl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0xf]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000d7fe
cmp al, 0xe9
jne 0x10001716
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret

Function at 0x10001718
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push 0x54
pop ecx
xor ebx, ebx
mov dword [ebp - 0x20], 0x4f5e7c3b
mov dl, 0x3b
mov dword [ebp - 0x1c], 0x5058526f
mov byte [ebp - 0x18], 0x78
mov eax, ebx
mov byte [ebp - 0x17], cl
mov dword [ebp - 0x16], 0x4f554e
xor byte [ebp + eax - 0x1f], dl
inc eax
cmp eax, 0xc
jae 0x10001753
mov dl, byte [ebp - 0x20]
jmp 0x10001744
mov byte [ebp - 0x13], bl
mov eax, ebx
mov byte [ebp - 0x10], cl
mov dword [ebp - 0xf], 0x3a26313f
mov dword [ebp - 0xb], 0x66673831
mov dword [ebp - 7], 0x3838307a
mov byte [ebp - 3], bl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001782
mov cl, byte [ebp - 0x10]
jmp 0x10001773
lea eax, [ebp - 0xf]
mov byte [ebp - 3], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000d7fe
pop ebx
cmp al, 0xe9
jne 0x100017ae
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret
Function at 0x100017b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str._aDubfsbWuhdbttF]
push ebx
xor ebx, ebx
movups xmmword [ebp - 0x28], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x100017d0
mov byte [ebp - 0x19], bl
mov cl, 0x51
mov dword [ebp - 0x18], 0x3141a51
mov eax, ebx
mov dword [ebp - 0x14], 0x621d141f
mov dword [ebp - 0x10], 0x3d357f63
mov word [ebp - 0xc], 0x3d
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x1000180e
mov cl, byte [ebp - 0x18]
jmp 0x100017ff
lea eax, [ebp - 0x17]
mov byte [ebp - 0xb], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x27]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.1003c8c4
leave
ret

Function at 0x100018d9
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1004ee80
push 0x1003c895
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x10054040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 0x50], 0
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001953
xor al, al
jmp 0x100019d3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov byte [eax], 0xc3
lea eax, [ebp - 0x20]
push eax
push 0x140
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000197c
xor al, al
jmp 0x100019d3
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100019c1
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1003c8c4
leave
ret
Function at 0x10001e9e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x1004d990]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x6769
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001ebb
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002207
cmp eax, 0xba2d38a3
jne 0x10001f0d
movaps xmm0, xmmword [str._nNkk_Pedoy_hf]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10001ee9
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002207
cmp eax, 0x27b35bb1
sete al
leave
ret
xor al, al
leave
ret
Function at 0x10002155
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
push 0x3fc
xor esi, esi
push esi
push 0x10057464
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, 0x10057460
push 8
push esi
call fcn.100021d2
mov edx, eax
push 8
shl edx, 0x18
pop ebx
mov ecx, edx
lea eax, [edx + edx]
sar ecx, 0x1f
and ecx, 0x4c11db7
mov edx, ecx
xor edx, eax
sub ebx, 1
jne 0x10002182
push 0x20
push edx
call fcn.100021d2
mov dword [edi], eax
inc esi
add edi, 4
cmp edi, 0x1005785c
jle 0x10002172
pop edi
pop esi
pop ebx
call fcn.10001a3c
test al, al
je 0x100021cf
call fcn.10001e9e
test al, al
je 0x100021cf
call fcn.10001f11
test al, al
setne al
ret
xor al, al
ret

Function at 0x10002207
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x10042854
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x100022ba
cmp dword [ebp - 0x408], eax
je 0x100022ba
push ebx
push dword [ebp - 0x408]
mov ebx, 0x400
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x100022aa
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.100022cb
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10002273
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
not esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003c8c4
leave
ret 4

Function at 0x100022cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100022fc
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10057460]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x100022de
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x10003086
Capabilities:
Encode data using xor

Disassembly:
push 0x1c
mov eax, 0x1003e1c3
call fcn.1003dd2e
mov esi, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x10042857
call fcn.10003d99
xor edx, edx
mov dword [ebp - 4], edx
mov al, byte [esi + 2]
mov dword [ebp - 0x10], ebx
cmp al, 0xff
je 0x100031d7
cmp al, bl
jne 0x100030eb
movaps xmm0, xmmword [0x1004d0e0]
mov ecx, edx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x3f37
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100030d6
lea eax, [ebp - 0x23]
jmp 0x100031cc
jle 0x100031d7
mov ecx, edx
cmp al, 5
jge 0x10003124
movaps xmm0, xmmword [0x1004d7a0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x77607369
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1000310c
mov byte [ebp - 0x14], dl
lea eax, [ebp - 0x27]
jmp 0x100031cf
cmp al, 0xa
jge 0x1000314c
movaps xmm0, xmmword [0x1004d200]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x33313724
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1000313d
jmp 0x10003119
cmp al, 0x1a
jge 0x1000317a
movaps xmm0, xmmword [0x1004ce70]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x1217
mov byte [ebp - 0x16], 0x19
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1000316b
jmp 0x10003119
mov byte [ebp - 0x12], dl
cmp al, 0x65
jge 0x100031a4
movaps xmm0, xmmword [0x1004cf70]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x3532
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x10003192
jmp 0x100030e3
movaps xmm0, xmmword [0x1004cb20]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x191e1911
mov word [ebp - 0x14], 0x171e
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x100031bc
lea eax, [ebp - 0x27]
mov byte [ebp - 0x12], dl
push eax
mov ecx, edi
call fcn.10003b49
mov eax, edi
call fcn.1003dd0b
ret 4