joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100121d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x1001230a
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
mov dword [ebp - 0xc], ecx
lea eax, [edi + edi]
push eax
call fcn.1000aba0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100122dd
mov bl, byte [eax + 8]
mov edi, dword [ebp - 8]
mov ecx, dword [ecx]
movzx edx, bl
xor edx, 0x811c9dc5
mov edi, dword [edi + 0x18]
imul edx, edx, 0x1000193
and edi, edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 4], edx
cmp edi, esi
jne 0x10012269
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100122d3
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
jne 0x100122a0
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp edx, eax
je 0x10012298
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x100122d3
cmp edi, edx
je 0x100122b0
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
je 0x100122e6
cmp edi, edx
jne 0x100122a4
mov ebx, dword [eax + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
jne 0x10012235
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100122d3
push str.invalid_hash_bucket_count
call fcn.1001edee
int3
Function at 0x1002adc0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002adff
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002adff
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002adff
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002adff
cmp dword [ecx + 0x74], 0xe
jbe 0x1002adff
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002f10e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10041ea0
push 0x10041e98
push str.FlsAlloc
push 0x1f
call fcn.1002ef79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002f142
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003e1f0]
call esi
jmp 0x1002f148
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002f18c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10041eb0
push 0x10041ea8
push str.FlsGetValue
push 0x21
call fcn.1002ef79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002f1c3
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003e1f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002f1cb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10041eb8
push 0x10041eb0
push str.FlsSetValue
push 0x22
call fcn.1002ef79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002f205
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1003e1f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10034232
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100342cf
push ebx
push esi
call fcn.100341fb
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100309d6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003427c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100342ce
push edi
push eax
call fcn.1002f934
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1003429c
call fcn.1002e9ee
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100342cd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100309d6
add esp, 0x20
test eax, eax
jne 0x100342bb
push edi
call fcn.1002e9ee
jmp 0x100342c3
push ebx
call fcn.1002e9ee
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100342d2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100342e3
pop esi
ret
push ebx
push edi
push esi
call fcn.100341fb
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1002f934
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1003430b
push ebx
push esi
push edi
call fcn.10021240
add esp, 0xc
push 0
call fcn.1002e9ee
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100346db
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10034320

Function at 0x10036960
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1002bfdc
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100369cf
cmp esi, dword [ebp - 4]
je 0x100369ca
cmp dword [ebp + 0xc], 0
je 0x100369ca
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100369a7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100364b2
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100369d1
xor eax, eax
inc eax
jmp 0x100369d1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10036a36
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1004e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1002bfdc
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1002bfdc
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10036aad
cmp word [ecx], dx
je 0x10036aad
mov eax, dword [0x100425e4]
push edi
dec eax
push eax
push 0x100424d0
call fcn.100369d5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10036b20
cmp word [eax], dx
je 0x10036b20
mov eax, dword [edi]
test eax, eax
je 0x10036ad1
cmp word [eax], dx
je 0x10036ad1
lea eax, [ebp - 0x10]
push eax
call fcn.100363b8
jmp 0x10036ada
lea eax, [ebp - 0x10]
push eax
call fcn.10036453
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10036b4a
mov eax, dword [0x100424cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100421c0
call fcn.100369d5
add esp, 0xc
test al, al
je 0x10036b4a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10036b15
cmp word [eax], di
je 0x10036b15
lea eax, [ebp - 0x10]
push eax
call fcn.100363b8
pop ecx
jmp 0x10036b4c
lea eax, [ebp - 0x10]
push eax
call fcn.10036453
jmp 0x10036b12
mov eax, dword [edi]
test eax, eax
je 0x10036b37
cmp word [eax], dx
je 0x10036b37
lea eax, [ebp - 0x10]
push eax
call fcn.1003636d
pop ecx
jmp 0x10036b4a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10036c15
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003685a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10036c15
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10036c15
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10036c15
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10036ba2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1002f3a7
test ebx, ebx
je 0x10036c10
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1002f3a7
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10036c15
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10036c15
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10039df1
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10036c17
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f73e
leave
ret
Function at 0x1003bb10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003bb3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003bb3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40375c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403785
cmp al, 0x22
je 0x40377d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403771
cmp byte [esi], 0x22
jne 0x40378f
inc esi
jmp 0x40378f
cmp al, 0x20
jle 0x40378f
inc esi
cmp byte [esi], 0x20
jg 0x403789
mov al, byte [esi]
test al, al
je 0x403799
cmp al, 0x20
jle 0x403782
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.00403807
push 0x405004
push section..data
call fcn.004037ed
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4037c9
movzx eax, word [ebp - 0x14]
jmp 0x4037cc
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040381f
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x1012d6c
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0xa00008eb
and al, 0
add byte [eax], al
add byte [eax], al
jmp 0x1012d76
pushal
call 0x1012d7c
pop ebp
sub ebp, 0x10
sub ebp, 0xc12d6c
jmp 0x1012d92
mov eax, 0xc12d6c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0xdbd80391
xor byte [eax], dl
inc eax
dec ecx
jne 0x1012da9
jmp 0x1012dbc
add byte [ebp + 0x1a408092], cl
pop esp
sbb bl, byte [eax]
sbb bl, byte [edx + ebx + 0x18]
lodsd eax, dword [esi]
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
adc byte [eax + 0x69], dl
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
pop esp
sub dword [ecx + edx*4 - 0x46d46e6f], edx
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
jae 0x1012d6b
pop ecx
sbb dl, byte [eax]
popfd
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
push esp
sbb al, 0xf5
mov ch, 0x6d
sbb byte [ebp - 0x12063e4b], dl
fdiv qword [ecx + 0x4e61f991]
xor dword [ecx - 0x64a4270], edx
shl byte [edx + eax*8 + 0x2c], 1
jns 0x1012d92
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
js 0x1012dc2
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
sbb al, 0xf5
mov ch, 0x6d
sbb byte [ebp + 0x1accc5b5], bh
adc al, 0x99
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
sbb al, byte [ebx*4 + 0x1a919191]
sbb al, 0x81
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
push eax
js 0x1012db7
mov al, byte [0x95531293]
fcomp dword [esi + 0x6e6e6514]
outsb dx, byte [esi]
int3
Function at 0x100026f0
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov edx, 0x90c3
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x30]
mov ecx, dword [esi]
cmp ecx, 0x340fd48b
jne 0x10002758
mov eax, dword [esi + 4]
cmp eax, 0x24a48dc3
jne 0x1000272f
cmp dword [esi + 8], 0
je 0x1000279b
cmp eax, 0xeb24248d
jne 0x1000273f
cmp dword [esi + 8], 0xcccccc03
je 0x1000279b
cmp eax, 0x24a48d
jne 0x10002758
cmp dword [esi + 8], 0xeb000000
jne 0x10002758
cmp dword [esi + 0xc], 0xcccccc03
je 0x1000279b
cmp ecx, 0xba
jne 0x10002776
mov eax, 0xbac3
cmp word [esi + 4], ax
jne 0x10002776
mov eax, 0xe2ff
cmp word [esi + 0xa], ax
je 0x1000279b
cmp ecx, 0x1ebd48b
jne 0x100028bc
mov eax, 0x68c3
cmp word [esi + 4], ax
jne 0x100028bc
cmp word [esi + 0xa], dx
jne 0x100028bc
push 0xffffffffffffffff
lea eax, [ebp - 4]
mov edx, 0x10
push eax
push 0x40
mov ecx, esi
call fcn.1000cd80
test eax, eax
js 0x100028c1
push 0xffffffffffffffff
lea eax, [ebp - 8]
mov edx, 0x10
push eax
push 0x40
mov ecx, 0x10002610
call fcn.1000cd80
mov dword [ebp - 0xc], eax
test eax, eax
jns 0x10002800
mov ecx, dword [ebp - 4]
cmp ecx, 0x40
je 0x100028c1
push 0xffffffffffffffff
lea eax, [ebp - 4]
mov edx, 0xc
push eax
push ecx
mov ecx, esi
call fcn.1000cd80
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [edi + 0x2c], 0x10
mov eax, 0x10002610
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
mov eax, 0x1eb
movups xmmword [ebp - 0x1c], xmm0
mov word [ebp - 0x1a], ax
mov eax, 0x90c3
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 8]
mov byte [ebp - 0x17], 0x68
mov dword [ebp - 0x16], 0x10002630
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [esi], xmm0
cmp eax, 0x40
je 0x10002858
push 0xffffffffffffffff
lea ecx, [ebp - 8]
mov edx, 0x10
push ecx
push eax
mov ecx, 0x10002610
call fcn.1000cd80
mov eax, dword [ebp - 4]
cmp eax, 0x40
je 0x10002873
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov edx, 0xc
push ecx
push eax
mov ecx, esi
call fcn.1000cd80
mov ecx, dword fs:[0x30]
mov eax, dword [ecx + 0xa4]
cmp eax, 6
je 0x1000289c
cmp eax, 0xa
jne 0x100028b1
mov ecx, edi
call fcn.10002640
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ecx + 0xa8]
add eax, 0xfffffffe
cmp eax, 2
ja 0x100028b1
mov ecx, edi
call fcn.10002640
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 0xe0070102
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x10002b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword fs:[0x30]
mov edx, 0x454fbb20
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 8]
call fcn.1000b3b0
mov byte [ebp - 4], 0
mov ecx, eax
push dword [ebp - 4]
call fcn.100034e0
mov esp, ebp
pop ebp
ret
Function at 0x10002ba0
Capabilities:
Check os version

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, 0x38
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
call fcn.10002b60
mov edi, eax
mov edx, 7
xor eax, eax
mov dword [esi + 0x34], edi
push 0xffffffffffffffff
mov ecx, edi
cmp byte [edi], 0x68
sete al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
call fcn.1000cd80
test eax, eax
js 0x10002d1f
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov edx, 7
push eax
push 0x40
mov ecx, 0x10002610
call fcn.1000cd80
mov esi, eax
test esi, esi
js 0x10002d1f
mov eax, dword [ebp - 8]
mov edx, edi
push ecx
push 0x10
push 0
mov dword [eax + 0x2c], 0xffffffff
mov ecx, 0x10002610
movups xmm0, xmmword [edi]
movups xmmword [eax + 0x38], xmm0
lea eax, [ebp - 4]
movaps xmmword [ebp - 0x30], xmm0
push eax
lea eax, [ebp - 8]
push eax
call fcn.1000b9a0
cmp dword [ebp - 0x14], 0
je 0x10002c6b
mov ecx, dword [ebp - 8]
mov eax, 0x10
sub eax, dword [ebp - 8]
add ecx, 0x10002610
mov edx, dword [ebp - 4]
push ecx
push eax
push 0
push 0
add edx, edi
push 0
call fcn.1000b9a0
jmp 0x10002c92
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [ebp - 4]
add eax, 0x10002610
add ecx, edi
mov byte [eax], 0x68
lea eax, [edx + 1]
add eax, 0x10002610
mov dword [eax], ecx
lea eax, [edx + 5]
add eax, 0x10002610
mov byte [eax], 0xc3
cmp dword [ebp - 4], 6
jae 0x10002c99
int3
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xa4]
cmp ecx, 6
ja 0x10002ccd
cmp dword [eax + 0xa8], 1
ja 0x10002cba
mov eax, 0x10002b20
jmp 0x10002cd2
cmp ecx, 6
jne 0x10002ccd
cmp dword [eax + 0xa8], 1
mov eax, 0x10002b10
ja 0x10002cd2
mov eax, 0x10002b10
mov dword [ebp - 0x2f], eax
mov eax, dword [ebp - 0xc]
mov byte [ebp - 0x30], 0x68
mov byte [ebp - 0x2b], 0xc3
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [edi], xmm0
cmp eax, 0x40
je 0x10002d02
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
mov ecx, 0x10002610
push edx
push eax
mov edx, 7
call fcn.1000cd80
mov eax, dword [ebp - 0x10]
cmp eax, 0x40
je 0x10002d1d
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edx, 7
push ecx
push eax
mov ecx, edi
call fcn.1000cd80
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10005030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov esi, ecx
mov ebx, 0xeeeeeeee
push edi
mov edi, edx
mov dword [ebp - 8], esi
mov ecx, 4
mov dword [ebp + 8], ebx
rep stosd dword es:[edi], eax
xor al, al
mov dword [ebp - 4], ebx
xor ecx, ecx
lea edi, [edx + 0x10]
cmp dword [ebp + 0x10], 0
rep stosb byte es:[edi], al
mov dword [edx], 0x7fed7fed
mov dword [edx + 8], 0x7fed7fed
mov dword [edx + 0xc], 0x7fed7fed
je 0x10005109
mov edi, edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx]
add ecx, ebx
movzx edi, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 4]
mov esi, dword [eax + edi*4]
mov eax, ebx
xor esi, ecx
shl eax, 5
add eax, esi
mov dword [edx], esi
mov ecx, dword [edx + 8]
add eax, ebx
add ecx, dword [ebp + 8]
lea ebx, [edi + 3]
add ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + edi*4 + 0x400]
mov eax, dword [ebp + 8]
xor esi, ecx
shl eax, 5
lea ecx, [edi + 3]
add eax, esi
mov dword [edx + 8], esi
add eax, dword [ebp + 8]
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ecx
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
mov esi, dword [eax + edi*4 + 0x800]
mov eax, dword [ebp - 4]
xor esi, ecx
shl eax, 5
lea ecx, [edi + 3]
add eax, esi
mov dword [edx + 0xc], esi
add eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
add ecx, eax
sub dword [ebp + 0x10], 1
mov dword [ebp - 4], ecx
jne 0x10005080
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100052b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
sub eax, 0x10
mov edi, eax
mov eax, dword [eax + 0x10]
sub eax, 0x10
mov edx, dword [eax + 0x30]
test edx, edx
je 0x1000531a
mov ecx, dword [edx]
mov esi, dword [edx + 4]
and ecx, 0xffdfffdf
and esi, 0xffdfffdf
cmp ecx, 0x45004b
jne 0x1000531a
cmp esi, 0x4e0052
jne 0x1000531a
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0xc]
and ecx, 0xffdfffdf
and esi, 0xffdfffdf
cmp ecx, 0x4c0045
jne 0x1000531a
cmp esi, 0x120013
jne 0x1000531a
cmp word [edx + 0x10], 0x2e
je 0x10005320
cmp edi, eax
jne 0x100052c3
xor eax, eax
pop edi
pop esi
ret

Function at 0x10005630
Capabilities:
Check os version

Disassembly:
mov ecx, dword [0x1000f074]
mov edx, dword fs:[0x30]
movzx eax, word [ecx + 0x910]
mov word [edx + 0x228], ax
movzx eax, word [ecx + 0x914]
mov word [edx + 0x22a], ax
jmp fcn.10005530
Function at 0x100059b0
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d0
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 0x24], ebx
call fcn.1000cc80
cmp eax, 0xffffffff
je 0x10005bba
mov esi, dword [sym.imp.ntdll.dll_swprintf]
push eax
lea eax, [ebp - 0x48c]
push 0x10001dbc
push eax
call esi
add esp, 8
lea edx, [ebp - 0x48c]
lea ecx, [ebp - 8]
call fcn.10005790
test eax, eax
js 0x10005bba
push ebx
lea eax, [ebp - 0x8cc]
push 0x10001d30
push eax
call esi
add eax, eax
mov dword [ebp - 0x44], 0x18
mov word [ebp - 0x20], ax
add esp, 0xc
mov eax, 0x440
mov dword [ebp - 0x38], 0
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x8cc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
push 0xf001f
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtOpenSection]
mov ebx, dword [sym.imp.ntdll.dll_NtClose]
test eax, eax
jns 0x10005afe
test edi, edi
je 0x10005abf
mov eax, dword [ebp + 8]
push 0
add eax, 0xa90
mov dword [ebp - 0x28], 0
push 0x8000000
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push 4
push eax
lea eax, [ebp - 0x44]
push eax
push 0xf001f
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
jns 0x10005afe
push dword [ebp - 8]
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
call ebx
push ecx
mov edx, 0x10001df8
lea ecx, [ebp - 8]
call fcn.10005790
test eax, eax
js 0x10005bba
push dword [ebp - 8]
lea edx, [ebp - 0x20]
push 6
lea ecx, [ebp - 0xc]
call fcn.10005800
test eax, eax
jne 0x10005afe
push dword [ebp - 8]
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
call ebx
push 4
push 0
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0xa90
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov esi, eax
test esi, esi
jns 0x10005b49
push dword [ebp - 0xc]
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x10005ba1
mov esi, dword [ebp - 0x14]
xor eax, eax
mov edx, dword [ebp - 0x10]
mov ecx, esi
shr ecx, 2
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
xor al, al
and esi, 0xfffffffc
and ecx, 3
lea edi, [edx + esi]
mov edx, dword [ebp - 0x24]
rep stosb byte es:[edi], al
push ecx
lea ecx, [ebp - 0x18]
call fcn.1000cbd0
mov esi, eax
test esi, esi
js 0x10005ba1
mov eax, dword [ebp - 0x10]
push 2
push 0
push 0
add eax, 0x68
push eax
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
push dword [ebp - 0x18]
mov esi, eax
call ebx
push dword [ebp - 0xc]
call ebx
mov eax, dword [ebp - 0x10]
test esi, esi
jns 0x10005bbc
test eax, eax
je 0x10005bba
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4