joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100813c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x10081409
mov al, byte [esi]
push eax
call fcn.1008d560
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x100813e7
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x100827e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10082801
cmp dword [esi + 0x8c], 0
je 0x10082801
push 2
push 3
push esi
call fcn.1008db30
add esp, 0xc
push dword [ebp + 0xc]
call fcn.1008f700
add esp, 4
test esi, esi
je 0x10082824
cmp dword [esi + 0x8c], 0
je 0x10082824
push 3
push esi
call fcn.1008db70
add esp, 8
pop esi
pop ebp
ret
Function at 0x1008a8e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x608], 0
je 0x1008a924
push esi
push 1
push edi
call fcn.1007db20
push dword [edi + 0x59c]
mov eax, dword [edi + 0x608]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.1007db20
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x1008a95a
push dword [edi + 0x598]
lea eax, [eax + eax*2]
push 1
add eax, 0x1018ca88
push 2
push eax
call fcn.1006486b
push dword [edi + 0x598]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1006486b
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x1008ce50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.1008ce70
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.1006bb8f
Function at 0x1009a4d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.10175937
add esp, 0x18
test eax, eax
je 0x1009a4f2
cmp eax, 0xffffffff
jne 0x1009a4f4
xor eax, eax
pop ebp
ret
Function at 0x1009c4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x101df230]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101ebbf4], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x160], ebx
jne 0x1009c4f6
call fcn.1009f150
test al, al
je 0x1009c507
mov byte [0x101ebbf4], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031bc0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x9c0]
test eax, eax
je 0x1009c528
push 0x400
push eax
call fcn.100c5ee0
add esp, 8
call fcn.1009f150
test al, al
jne 0x1009c4f6
push esi
push edi
nop word [eax + eax]
mov esi, 2
mov dword [ebp - 0x150], 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x14c], eax
nop
lea eax, [ebp - 0x190]
push eax
call fcn.1008f2b0
push 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x180], xmm0
movups xmmword [ebp - 0x170], xmm0
call fcn.1008a880
movups xmm1, xmmword [ebp - 0x180]
add esp, 8
lea ecx, [esi - 1]
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
push eax
movd eax, xmm1
push eax
push 0
push ecx
call fcn.100776a0
imul esi, dword [ebp - 0x168]
mov ebx, eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x154], edx
push eax
mov dword [ebp - 0x158], esi
call fcn.1008f2b0
mov eax, dword [eax + 8]
cdq
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.1008f2b0
mov edx, dword [ebp - 0x148]
add esp, 8
inc edx
mov dword [ebp - 0x15c], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, esi
push 0
push edx
adc eax, edi
push eax
push ecx
call fcn.100776a0
shld edx, eax, 8
shl eax, 8
xor ebx, eax
mov eax, dword [ebp - 0x154]
xor eax, edx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.1008f2b0
lea esi, [eax + 8]
lea eax, [ebp - 0x1d0]
push eax
call fcn.1008f2b0
add esp, 8
mov ecx, dword [eax]
add ecx, dword [esi]
mov eax, dword [ebp - 0x148]
mov esi, dword [ebp - 0x15c]
add eax, 2
imul ecx, eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x148], esi
shl ecx, 0x10
xor eax, ecx
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x14c]
movups xmm0, xmmword [ebp - 0x170]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], eax
jne 0x1009c550
movsd xmm0, qword [0x101905e8]
lea eax, [ebp - 0x44]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.100c5c00
add esp, 0x10
call fcn.1009f150
test al, al
je 0x1009c530
lea eax, [ebp - 0x144]
mov byte [ebp - 0x144], 0
push 0x100
push eax
call fcn.100c5e20
add esp, 8
cmp byte [ebp - 0x144], 0
pop edi
pop esi
je 0x1009c6f3
lea eax, [ebp - 0x144]
push 0x400
push eax
call fcn.100c5ee0
add esp, 8
call fcn.1009f150
test al, al
jne 0x1009c4f6
push 0x1018f6d8
push dword [ebp - 0x160]
call fcn.1008aa40
add esp, 8
call fcn.1009f150
xor edx, edx
mov ecx, 0x23
test al, al
pop ebx
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031bc0
mov esp, ebp
pop ebp
ret
Function at 0x100a89e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x100a8a0f
push 0x10191210
push edx
call fcn.1008a960
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x100a8a26
push ecx
push 0x1019122c
push edx
call fcn.1008aa40
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x100a8a3d
push edi
call fcn.100a8740
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x100a8a51
push edi
call fcn.100a7790
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x100a8a65
push edi
call fcn.100a8720
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x100a8a75
push edi
call fcn.100a88c0
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x100ba8b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x101dfcc0]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100ba8dd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x100ba924
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x100ba92a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100ba98b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x100ba950
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x100ba9b7
mov eax, dword [esi + 4]
push 1
push 0x101956be
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x101956bf
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x100ba990
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101194b0
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x1011959c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
cmp esi, 3
jl 0x1011952d
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + 0x101b87d0]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x101b87d0]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x101b87d0]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + 0x101b87d0]
mov byte [edx], al
jmp 0x10119581
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x10119541
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + 0x101b87d0]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x101b87d0]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x1011956b
lea eax, [esi + 0x3c]
jmp 0x10119578
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x101b87d0]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
sub esi, 3
add ebx, 4
add edi, 3
inc edx
test esi, esi
jg 0x101194d0
pop edi
pop esi
mov eax, ebx
mov byte [edx], 0
pop ebx
ret
mov eax, dword [esp + 0xc]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
ret
Function at 0x1011ccb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.10031c10
mov eax, dword [0x101df230]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x1011cd16
cmp edi, dword [esi]
je 0x1011cd0d
test ebp, ebp
je 0x1011cd90
test ebx, ebx
js 0x1011cd90
mov eax, 1
mov dword [esi], edi
jmp 0x1011cd1c
mov edi, dword [esi]
test edi, edi
je 0x1011cd90
test ebp, ebp
je 0x1011ceab
push edi
call fcn.100e1fe0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x1011cd50
push 0x101b8d60
push 0x74
push 0x101b8d7c
call fcn.100d07c0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x1011cdab
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.100c1d10
add esp, 0xc
test eax, eax
je 0x1011cd90
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.100c1ec0
add esp, 0xc
test eax, eax
je 0x1011cd90
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.100c1c70
add esp, 0xc
test eax, eax
jne 0x1011cdc7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10031bc0
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x1011cd90
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.100545a0
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x1011cdea
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10054b20
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x1011cdf0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.100c1d10
add esp, 0xc
test eax, eax
je 0x1011cd90
push edi
call fcn.100e1fe0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.100c1ec0
add esp, 0x10
test eax, eax
je 0x1011cd90
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x1011ce40
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.100c1d10
add esp, 0xc
test eax, eax
je 0x1011cd90
push edi
call fcn.100e1fe0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.100c1ec0
add esp, 0x10
test eax, eax
je 0x1011cd90
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.100c1f90
add esp, 8
test eax, eax
je 0x1011cd90
mov eax, 1
jmp 0x1011cd92
test eax, eax
je 0x1011ce89
jmp 0x1011cdee
Function at 0x40a547
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00419d70
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00409fdc
push esi
call fcn.004199f3
pop ecx
push esi
mov ebx, eax
call fcn.0040a483
test al, al
je 0x40a601
push esi
call fcn.00409fdc
test al, al
je 0x40a5b1
add ebx, 4
cmp dword [ebp + 0x10], ebx
jbe 0x40a6ca
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0041bb6f
push esi
add edi, 8
push edi
call fcn.00419a3b
add esp, 0x14
mov al, 1
jmp 0x40a6cc
cmp word [esi], 0x5c
jne 0x40a6ca
add esi, 2
cmp word [esi], 0x5c
jne 0x40a6ca
add ebx, 6
cmp dword [ebp + 0x10], ebx
jbe 0x40a6ca
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0041bb6f
lea eax, [edi + 8]
push 0x4266b0
push eax
call fcn.00419a3b
push esi
add edi, 0xe
push edi
call fcn.00419a3b
add esp, 0x1c
jmp 0x40a5aa
lea eax, [ebp - 0x1000]
push eax
mov edi, 0x7ff
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40a6ca
cmp eax, edi
ja 0x40a6ca
movzx eax, word [esi]
push eax
call fcn.00409dc2
test al, al
je 0x40a671
add ebx, 6
cmp dword [ebp + 0x10], ebx
jbe 0x40a6ca
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0041bb6f
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [edi + 8]
push eax
call fcn.0041bb6f
push esi
add edi, 0xc
push edi
call fcn.00419a3b
add esp, 0x20
jmp 0x40a5aa
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.00409de7
lea eax, [ebp - 0x1000]
push eax
call fcn.004199f3
lea eax, [eax + ebx + 4]
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x40a6ca
mov edi, dword [ebp + 0xc]
push 4
push str.__
push edi
call fcn.0041bb6f
lea eax, [ebp - 0x1000]
push eax
lea eax, [edi + 8]
push eax
call fcn.00419a3b
add esp, 0x14
push dword [ebp + 0x10]
push esi
push edi
call fcn.00410735
jmp 0x40a5aa
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10005dfe
Capabilities:
Accept command line arguments

Disassembly:
push 0xd8
mov eax, 0x1013bfce
call fcn.100fb169
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x74]
call fcn.10122123
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
call fcn.10122123
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.SoftwareMicrosoftOfficeClickToRunDelayLaunchApps
lea ecx, [ebp - 0x5c]
call fcn.10122123
mov byte [ebp - 4], 3
push ecx
push ecx
push 1
push ecx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 0x101d8470
call fcn.10122123
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004aa2
test esi, esi
je 0x10005ea8
call dword [sym.imp.kernel32.dll_GetTickCount64]
push edx
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000b781
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.1000c1e3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10004aa2
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
xor eax, eax
mov word [ebp - 0x44], ax
push str._waittolaunch
lea ecx, [ebp - 0x44]
call fcn.10122123
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
xor eax, eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 7
push dword [0x101ce048]
lea ecx, [ebp - 0x5c]
call fcn.10122123
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
call fcn.1000b6a4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [eax]
call fcn.10122123
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.10003e67
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
call fcn.10004aa2
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x10005f53
call fcn.1000b67c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.10004aa2
lea ecx, [ebp - 0x2c]
call fcn.10122123
test al, al
je 0x10005f9f
lea ecx, [ebp - 0xa4]
call fcn.100e6c34
mov byte [ebp - 4], 0xb
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100e6eb4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.100e6cb1
jmp 0x10005fa8
lea eax, [ebp - 0x2c]
push eax
call fcn.10122123
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.10004aa2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10004aa2
mov byte [ebp - 4], bl
jmp 0x10006010
lea ecx, [ebp - 0xd0]
call fcn.10122123
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10004aa2
call fcn.100fb0ba
ret
Function at 0x1000c1e3
Capabilities:
Set registry value

Disassembly:
push 0x3cc
mov eax, 0x1013d214
call fcn.100fb0fb
mov dword [ebp - 0x3d0], ecx
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov edi, dword [ebp + 8]
mov edx, esi
and dword [ebp - 0x3d4], 0
call fcn.10122123
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x3d4], ebx
call fcn.10122123
mov dword [ebp - 4], 4
mov eax, ebx
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x40]
and eax, 0xfffffffe
mov dword [ebp - 0x3d4], eax
call fcn.10004aa2
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.1000b94c
mov ecx, dword [ebp - 0x3d0]
mov bl, al
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x3d8], eax
test eax, eax
je 0x1000c335
cmp dword [edi + 0x10], 0x3fff
jbe 0x1000c2a3
test bl, bl
mov edx, 0x1015e490
mov eax, str.EXPAND_SZ
cmovne eax, edx
mov dword [ebp - 0x3d0], eax
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x3d0]
push eax
push ecx
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.10122123
jmp 0x1000c35e
mov eax, dword [esi + 0x10]
lea edx, [eax*2 + 2]
test eax, eax
jne 0x1000c2b8
mov eax, 0x1015e478
jmp 0x1000c2c2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000c2c2
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x1000c2cc
mov ecx, dword [edi]
push edx
push eax
movzx eax, bl
xor eax, 1
inc eax
push eax
push 0
push ecx
push dword [ebp - 0x3d8]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x1000c321
test bl, bl
mov edx, 0x1015e490
mov ecx, str.EXPAND_SZ
cmovne ecx, edx
mov dword [ebp - 0x3d8], ecx
mov ecx, dword [ebp - 0x3d0]
add ecx, 8
push ecx
push esi
push edi
lea ecx, [ebp - 0x3d8]
push ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.10122123
jmp 0x1000c35e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004aa2
call fcn.100fb0ad
ret 0xc
test bl, bl
mov eax, 0x1015e490
mov ecx, str.EXPAND_SZ
cmovne ecx, eax
lea eax, [ebp - 0x3d0]
push eax
push ecx
mov dword [ebp - 0x3d0], ecx
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.10122123
push 0x101c8f84
lea eax, [ebp - 0x3cc]
push eax
call fcn.10122123
int3
Function at 0x1003b52a
Capabilities:
Get geographical location

Disassembly:
push 0x74
mov eax, 0x10142ba1
call fcn.100fb0fb
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x78], edi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x80], edi
and dword [ebp - 0x7c], 0
push str.CountryCode
call fcn.10122123
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 4]
push edx
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10122123
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
jne 0x1003b59f
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea eax, [ebp - 0x5c]
push 0x19
jmp 0x1003b5ae
push 0x1015d1bc
lea ecx, [ebp - 0x74]
call fcn.10122123
push 0xa
pop ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10122123
mov dword [ebp - 4], 5
test bl, 2
je 0x1003b5cf
lea ecx, [ebp - 0x74]
and ebx, 0xfffffffd
call fcn.10122123
mov byte [ebp - 4], 6
test bl, 1
je 0x1003b5e3
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffe
call fcn.10122123
mov ecx, edi
call fcn.100049bb
or ebx, 4
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x7c], ebx
je 0x1003b601
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10122123
lea ecx, [ebp - 0x2c]
call fcn.10122123
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1003b622
mov dword [ebp - 4], 7
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
mov eax, edi
call fcn.100fb0ad
ret
Function at 0x10045cb8
Capabilities:
Get geographical location

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
push 0xffffffffffffffff
push 0x10143963
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xb0
mov eax, dword [0x101cd15c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x10045e08
push str.Microsoft.Office.Experimentation.Configs.EcsPersistentStore
lea ecx, [ebp - 0xb8]
call fcn.10122123
and dword [ebp - 4], 0
mov ecx, dword [0x101d4fc4]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.10048ef0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.10122123
push 0x1015d1bc
lea ecx, [ebp - 0x34]
call fcn.10122123
push str.CountryCode
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.10122123
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.10122123
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x88]
call fcn.10122123
lea eax, [ebp - 0xc0]
mov byte [ebp - 0x70], 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.10122123
lea ecx, [ebp - 0x4c]
call fcn.10122123
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.10122123
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10030b54
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.1000b94c
test al, al
jne 0x10045ddf
push esi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.10026749
lea ecx, [ebp - 0x64]
call fcn.10122123
lea ecx, [ebp - 0xa0]
call fcn.10122123
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x10045e08
call fcn.1000b67c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100fa279
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret