joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427cd0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104
call fcn.00444920
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x427d1f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x427d1f
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
add edx, 0x40
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_vfprintf]
add esp, 0xc
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x104]
push 0xff
push edx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x427e23
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov ebx, eax
test ebx, ebx
je 0x427dde
lea eax, [ebp - 4]
push eax
push 0
push 0
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
jne 0x427dde
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x427dde
mov eax, dword [ebp - 4]
cmp eax, 0x200
ja 0x427dde
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
lea eax, [esi + 2]
add eax, 3
and al, 0xfc
call fcn.00444920
lea ecx, [ebp - 4]
mov edi, esp
push ecx
push esi
push edi
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
je 0x427dde
mov edx, dword [ebp - 4]
push str.Service_0x
push edi
lea eax, [edx + 1]
and al, 0xfe
mov dword [ebp - 4], eax
shr eax, 1
mov word [edi + eax*2], 0
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x427e23
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
lea ecx, [ebp - 4]
push 0
push ecx
push 0
push 1
push 0
push 0
mov esi, eax
push 0
lea eax, [ebp - 0x104]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea edx, [ebp - 0x104]
push str.OpenSSL:_FATAL
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4449dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453f30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x52209c], 0xffffffff
or dword [0x5220a0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x522098]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x522094]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x5220a4], eax
call fcn.00444e11
cmp dword [0x51d530], 0
jne 0x444a5f
push 0x444e0e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00444dfc
push 0x45500c
push 0x455008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x522090]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x52208c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x455004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401458
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x100025a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1006bde9
call fcn.1006b65d
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [ebp - 0x428], 0
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
and dword [ebp - 4], 0
and dword [ebp - 0x430], 0
and dword [ebp - 0x418], 0
mov dword [ebp - 0x42c], ecx
push 0x60
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10006532
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10002622
push 2
mov ecx, esi
call fcn.10006532
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10002622
call fcn.10001cd6
mov esi, eax
jmp 0x10002727
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10002645
call fcn.10001cd6
jmp 0x1000271a
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000263b
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10002678
mov esi, 0x8007000e
jmp 0x1000271c
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
test edx, edx
ja 0x10002755
jb 0x10002693
cmp eax, 0xffffffff
ja 0x10002755
cmp eax, 0x400
jbe 0x100026a8
push eax
lea ecx, [ebp - 0x418]
call fcn.1003bc65
jmp 0x100026c8
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100026c8
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x1000266e
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push 0
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000263b
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1003bc65
mov esi, eax
test edi, edi
je 0x10002727
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10002740
lea ecx, [ebp - 0x418]
call fcn.10005d95
lea ecx, [ebp - 0x428]
call fcn.10005af7
mov eax, esi
call fcn.1006b5ae
ret 0x10
push 0x80070216
call fcn.1003bc65
int3
Function at 0x1000a082
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc0
mov eax, 0x1006c454
call fcn.1006b5ef
mov eax, dword [ebp - 0xc8]
xor ebx, ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc8], 0x1009c058
mov dword [0x1009c058], ebx
mov dword [0x1009c05c], ebx
mov dword [0x1009c060], ebx
xor ecx, ecx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], ebx
push eax
inc ecx
push ecx
push ebx
push str.Control_PanelInternational
push SysReAllocString
mov dword [ebp - 0xcc], ecx
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000a1f9
mov edi, dword [sym.imp.advapi32.dll_RegGetValueW]
lea eax, [ebp - 0xc0]
push eax
push ebx
push ebx
push 0x20000020
push str.Languages
push str.User_Profile
push dword [ebp - 0xc4]
mov dword [ebp - 0xc0], ebx
call edi
test eax, eax
jne 0x1000a1ed
cmp dword [ebp - 0xc0], 3
jbe 0x1000a1ed
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1000a1ed
lea eax, [ebp - 0xc0]
push eax
push esi
push ebx
push 0x20
push str.Languages
push str.User_Profile
push dword [ebp - 0xc4]
call edi
test eax, eax
jne 0x1000a1e5
mov ebx, dword [ebp - 0xc0]
cmp ebx, 3
jbe 0x1000a1e5
xor edx, edx
shr ebx, 1
push edx
pop ecx
mov eax, edx
mov edi, edx
mov word [esi + ebx*2 - 2], cx
je 0x1000a1e5
jmp 0x1000a190
cmp eax, ebx
jae 0x1000a196
inc eax
cmp word [esi + eax*2], dx
je 0x1000a18b
cmp word [esi + edi*2], dx
jne 0x1000a1e0
cmp edi, eax
jbe 0x1000a1e0
xor ecx, ecx
lea eax, [esi + eax*2]
mov word [ebp - 0xbc], cx
lea ecx, [ebp - 0xbc]
push 0x55
push ecx
push eax
call dword [sym.imp.kernel32.dll_ResolveLocaleName]
test eax, eax
je 0x1000a1db
cmp word [ebp - 0xbc], 0
je 0x1000a1db
lea eax, [ebp - 0xbc]
mov ecx, 0x1009c058
push eax
call fcn.1003bc65
lea eax, [edi + 1]
xor edx, edx
inc edi
cmp edi, ebx
jb 0x1000a190
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push dword [ebp - 0xc4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 0x1009c058
call fcn.1006b5a1
ret 4

Function at 0x1001224d
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, word [ecx]
mov edx, 0x1505
push esi
xor esi, esi
jmp 0x10012267
imul edx, edx, 0x21
movzx eax, ax
xor edx, eax
inc esi
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x1001225a
imul eax, edx, 0x41c64e6d
imul ecx, edx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1001512f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x10015171
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x10015171
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x10015171
cmp word [eax + 2], 0
je 0x10015171
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x10015171
add eax, 0x30
jmp 0x10015176
mov eax, 0x10073710
pop edi
pop esi
ret
Function at 0x1001e503
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1001e50f
or eax, 0xffffffff
pop esi
ret
movzx eax, word [esi]
push ebx
push edi
mov edi, 0x1505
xor ebx, ebx
jmp 0x1001e537
movzx ecx, ax
add eax, 0xffffffbf
cmp ax, 0x19
lea edx, [ecx + 0x20]
cmova edx, ecx
imul edi, edi, 0x21
xor edi, edx
inc ebx
movzx eax, word [esi + ebx*2]
test ax, ax
jne 0x1001e51d
imul eax, edi, 0x41c64e6d
imul ecx, edi, 0x10dcd
pop edi
pop ebx
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1003bc65
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1003bc74
pop dword [ebp - 0x48]
mov eax, 0x87e573c1
sub eax, 0x77e1b74d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x26dd2200
sub dword [ebp - 0x58], 0xd88adcb5
mov dword [ebp - 0x54], 0x88177aac
sub dword [ebp - 0x54], 0x55e42e67
mov dword [ebp - 0x50], 0xf3f12197
sub dword [ebp - 0x50], 0xa7a4dd69
mov dword [ebp - 0x4c], 0x27630d60
add dword [ebp - 0x4c], 0xd89cf2a0
lea eax, [ebp - 0x58]
push eax
mov eax, 0x90e6cc3f
add eax, 0x7f203641
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x61cf77f4
sub dword [ebp - 0x58], 0xed5d0e9e
mov dword [ebp - 0x54], 0xc1a3aad0
sub dword [ebp - 0x54], 0x8037495b
mov dword [ebp - 0x50], 0x2bd17350
sub dword [ebp - 0x50], 0xc86206e4
mov dword [ebp - 0x4c], 0x596712bf
sub dword [ebp - 0x4c], 0x596712bf
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x4845b
push 0
call eax
mov ecx, 0x325a
xor edx, edx
add edx, eax
mov edi, 0x100ac400
add edi, dword [ebp - 0x48]
mov esi, 0x5a9b203b
add esi, 0xc6bd52b1
add dword [ebp - 0x18], eax
mov ebx, dword [edi]
mov dword [ebp - 0x20], 0xd519f723
xor ebx, esi
add dword [ebp - 0x28], ebx
mov dword [edx], ebx
add dword [ebp - 0x2c], edi
add edx, 0x8c7a5d3d
sub edx, 0x8c7a5d39
add edi, 0x618e03d6
sub edi, 0x618e03d2
loop 0x1003bd87
add eax, 0xc434e9c9
sub eax, 0xc4342d8e
mov ebx, eax
add eax, 0x2ca7eccd
add eax, 0xd3581338
mov ecx, 0xae85a6a9
add ecx, 0x617a5957
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10047d0b
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
test byte [0x1009b9c0], 0x20
push esi
push edi
mov esi, ecx
je 0x10047d40
push dword [ebx + 0xc]
mov edx, 0x10089d30
push dword [ebx + 8]
call fcn.1003bc65
mov eax, dword [0x10097054]
mov ecx, 0x10097054
push 0x1c135e
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 0xc
dec eax
mov dword [ebp - 0x10], esi
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, esi
mov esi, dword [ebp - 4]
push ebx
mov ebx, ecx
mov ecx, edi
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x10]
jne 0x10047d90
cmp ecx, edi
je 0x10047dc0
mov esi, eax
mov dword [ebp - 0x10], ecx
shr esi, 0xc
mov edi, eax
dec esi
mov edx, ecx
shl esi, 0xc
xor esi, eax
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
mov esi, dword [ebp - 4]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, edi
jne 0x10047d90
cmp ecx, dword [ebp - 0x10]
jne 0x10047d90
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x1001b130
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x1001b148
mov ebx, 0x10000
lea edi, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x1001b15b
mov edi, 0xfff80000
mov eax, dword [0x101ca9a4]
mov ecx, dword [0x101ca9b0]
test eax, eax
jne 0x1001b175
test ecx, ecx
je 0x1001b188
mov eax, ecx
mov dword [0x101ca9a4], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x1001b188
cmp edx, ebx
jb 0x1001b188
cmp edx, edi
jbe 0x1001b20e
mov eax, ecx
mov dword [0x101ca9a4], eax
test ecx, ecx
je 0x1001b1b2
test eax, eax
je 0x1001b1a6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001b1a6
cmp ecx, ebx
jb 0x1001b1a6
cmp ecx, edi
jbe 0x1001b20e
mov eax, dword [eax + 4]
mov dword [0x101ca9a4], eax
test eax, eax
jne 0x1001b197
movzx eax, si
mov ecx, ebx
sub esi, eax
mov edx, esi
call fcn.100586a0
test eax, eax
jne 0x1001b1d1
mov edx, edi
mov ecx, esi
call fcn.100586a0
test eax, eax
je 0x1001b235
mov dword [eax], 0x52727464
xor edx, edx
mov dword [eax + 8], 0
mov esi, 0x2a7
mov ecx, dword [0x101ca9b0]
mov dword [eax + 4], ecx
lea ecx, [eax + 0xff60]
mov dword [0x101ca9a4], eax
mov dword [0x101ca9b0], eax
mov edi, edi
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x60
dec esi
jne 0x1001b200
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x1001b235
cmp esi, edi
ja 0x1001b235
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.1011e040
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1001b131
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x1001b148
mov ebx, 0x10000
lea edi, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x1001b15b
mov edi, 0xfff80000
mov eax, dword [0x101ca9a4]
mov ecx, dword [0x101ca9b0]
test eax, eax
jne 0x1001b175
test ecx, ecx
je 0x1001b188
mov eax, ecx
mov dword [0x101ca9a4], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x1001b188
cmp edx, ebx
jb 0x1001b188
cmp edx, edi
jbe 0x1001b20e
mov eax, ecx
mov dword [0x101ca9a4], eax
test ecx, ecx
je 0x1001b1b2
test eax, eax
je 0x1001b1a6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001b1a6
cmp ecx, ebx
jb 0x1001b1a6
cmp ecx, edi
jbe 0x1001b20e
mov eax, dword [eax + 4]
mov dword [0x101ca9a4], eax
test eax, eax
jne 0x1001b197
movzx eax, si
mov ecx, ebx
sub esi, eax
mov edx, esi
call fcn.100586a0
test eax, eax
jne 0x1001b1d1
mov edx, edi
mov ecx, esi
call fcn.100586a0
test eax, eax
je 0x1001b235
mov dword [eax], 0x52727464
xor edx, edx
mov dword [eax + 8], 0
mov esi, 0x2a7
mov ecx, dword [0x101ca9b0]
mov dword [eax + 4], ecx
lea ecx, [eax + 0xff60]
mov dword [0x101ca9a4], eax
mov dword [0x101ca9b0], eax
mov edi, edi
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x60
dec esi
jne 0x1001b200
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x1001b235
cmp esi, edi
ja 0x1001b235
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.1011e040
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x1001b270
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov ecx, dword [0x101ca9b0]
push ebx
mov ebx, 0x101ca9b0
test ecx, ecx
je 0x1001b2dc
push esi
push edi
cmp dword [ecx], 0x52727464
jne 0x1001b2d1
lea edi, [ecx + 0x10000]
xor edx, edx
lea esi, [ecx + 0xa0]
mov eax, dword [esi]
test eax, eax
je 0x1001b2a6
cmp eax, ecx
jb 0x1001b2d1
cmp eax, edi
jae 0x1001b2d1
inc edx
add esi, 0x60
cmp edx, 0x2a9
jb 0x1001b298
mov eax, dword [ecx + 4]
push 0x8000
push 0
push ecx
mov dword [ebx], eax
call dword [sym.imp.kernel32.dll_VirtualFree]
mov dword [0x101ca9a4], 0
jmp 0x1001b2d4
lea ebx, [ecx + 4]
mov ecx, dword [ebx]
test ecx, ecx
jne 0x1001b282
pop edi
pop esi
pop ebx
ret

Function at 0x1001b760
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x101ca9b8]
push edi
mov edi, ecx
test eax, eax
jne 0x1001b7d5
call dword [sym.imp.kernel32.dll_GetCurrentThread]
cmp edi, eax
jne 0x1001b77a
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.100586a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001b790
lea edi, [eax + 8]
jmp 0x1001b7ad
push edi
call dword [sym.imp.kernel32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001b7c2
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edi, eax
call fcn.10115871
add esp, 4
pop esi
mov dword [0x101ca9b8], edi
mov eax, edi
mov dword [0x101ca99c], 0
pop edi
ret
mov eax, dword [0x101ca9a0]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
mov dword [0x101ca9a0], esi
pop esi
pop edi
ret
Function at 0x10022b50
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x101bb518]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101cb288], 0
je 0x10022b95
mov eax, dword [0x101cb284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10115876
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.1011e040
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x160]
movdqa xmmword [ebp - 0x160], xmm0
push eax
movdqa xmmword [ebp - 0x150], xmm0
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
push dword [ebp - 0x160]
mov edx, dword [ebp - 0x120]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x124]
push dword [ebp - 0xe]
push dword [ebp - 0x118]
call fcn.100586a0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov dword [0x101cb284], eax
mov dword [0x101cb288], 1
call fcn.10115876
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x10036760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10036791
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10036780
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1004ee10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013a0b3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101bb518]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
test byte [0x101cb200], 1
je 0x1004ee5f
push dword [0x101cb20c]
mov ecx, 0x1016d2b0
push dword [0x101cb208]
call fcn.100586a0
add esp, 8
push 0xc
call fcn.100586a0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x1004ee98
mov dword [eax], vtable.appv::utility::scope_guard_func.0
mov byte [esp + 0x20], 1
mov dword [eax], vtable.._AV__scope_guard_func_impl_V___Bind__00XQ6AXXZ___V_std___utility_appv__.0
mov dword [eax + 4], 0x1004dcb0
mov byte [esp + 0x20], 0
jmp 0x1004ee9a
xor eax, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 3
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x1004eeba
call fcn.100586a0
mov esi, dword [edi + 8]
lea eax, [edi + 8]
test esi, esi
je 0x1004eeeb
xorps xmm0, xmm0
lea ecx, [esi + 0x20]
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
call fcn.100586a0
lea ecx, [esi + 0x28]
call fcn.100586a0
lea ecx, [esi + 0x30]
call fcn.100586a0
lea eax, [edi + 8]
mov ecx, eax
call fcn.100586a0
xorps xmm0, xmm0
lea ecx, [edi + 0x30]
movdqu xmmword [edi + 0x10], xmm0
movdqu xmmword [edi + 0x20], xmm0
call fcn.100586a0
lea ecx, [edi + 0x38]
call fcn.100586a0
lea ecx, [edi + 0x40]
call fcn.100586a0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.100586a0
xor eax, eax
mov edx, 0x80
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100586a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100586af
pop dword [ebp - 0x44]
mov eax, 0x2890b3e
sub eax, 0xf283848f
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x873ad
push 0
mov eax, 0xbeff7dbc
sub eax, 0xaeea2b68
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xb107967c
add ecx, 0x4ef8b06a
xor ebx, ebx
add ebx, eax
mov esi, 0x99b5519b
add esi, 0x76695e65
add esi, dword [ebp - 0x44]
mov edx, 0xa105c76a
mov dword [ebp - 0xc], 0x62139d20
mov edi, dword [esi]
add dword [ebp - 8], 0x6965f1ce
sub edi, edx
xor dword [ebp - 0x30], 0xd53c4c97
mov dword [ebx], edi
xor dword [ebp - 0x1c], 0x869d3e4e
add ebx, 0x4a2f35aa
add ebx, 0xb5d0ca5a
add esi, 0xcedbec9a
sub esi, 0xcedbec96
loop 0x1005870a
add eax, 0x10e6b
xor ebx, ebx
add ebx, eax
add eax, 0x72659632
sub eax, 0x7265962d
mov ecx, 0xd99d57aa
add ecx, 0x3662a856
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x10058dd0
Capabilities:
Listen for remote procedure calls

Disassembly:
push esi
push 1
push dword [ecx + 8]
push dword [ecx + 4]
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
mov esi, eax
cmp esi, 0x6b1
je 0x10058dfc
test esi, esi
je 0x10058dfc
call fcn.100586a0
or eax, esi
or edx, 0x2125
pop esi
ret
mov edx, 0x80
xor eax, eax
pop esi
ret