joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100869ac
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100ab714
push 0x100ab70c
push str.FlsAlloc
push 0x1f
call fcn.10086874
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100869e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x1009b174]
call esi
jmp 0x100869e6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10086a2a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100ab724
push 0x100ab71c
push str.FlsGetValue
push 0x21
call fcn.10086874
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10086a61
push dword [ebp + 8]
mov ecx, esi
call dword [0x1009b174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10086a69
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100ab72c
push 0x100ab724
push str.FlsSetValue
push 0x22
call fcn.10086874
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10086aa3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1009b174]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100895f8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10067ef0
mov eax, dword [0x100bc140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10082b6b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1008963a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10089796
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10092410
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100c00d0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1008a39d
mov ecx, dword [esi*4 + 0x100c00d0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1008978f
cmp eax, dword [ecx + edi + 0x24]
jne 0x1008978f
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008978f
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008a39d
add esp, 0x14
test edx, edx
jl 0x1008978f
jg 0x10089705
test eax, eax
jb 0x1008978f
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1008978f
jl 0x1008971f
cmp dword [ebp - 0x1008], eax
ja 0x1008978f
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1008973d
test ebx, ebx
je 0x10089776
cmp ecx, edi
jae 0x10089776
mov al, byte [ecx]
cmp al, 0xd
jne 0x10089757
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10089763
cmp byte [ecx + 1], 0xa
jne 0x10089763
inc ecx
jmp 0x10089763
movzx eax, al
movsx eax, byte [eax + 0x100bc940]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1008973d
cmp edx, ebx
jne 0x1008973d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10089794
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100670b1
leave
ret
Function at 0x10089835
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100c00d0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10089875
cmp byte [ebx], 0xa
jne 0x10089875
or byte [edi + eax + 0x28], 4
jmp 0x1008987a
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10089979
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1008995c
inc eax
cmp dl, 0xd
je 0x100898a6
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100898cc
cmp eax, ecx
jae 0x100898da
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1008988e
jmp 0x10089979
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10089957
cmp dword [ebp - 0x10], 0
je 0x10089957
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100c00d0]
test byte [eax + edi + 0x28], 0x48
je 0x10089931
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1008991c
mov byte [esi], dl
jmp 0x1008992d
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100c00d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10089979
cmp byte [ebp - 1], 0xa
jne 0x10089940
cmp esi, ebx
jne 0x10089940
mov byte [esi], 0xa
jmp 0x10089978
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1008a3bb
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10089979
mov byte [esi], 0xd
jmp 0x10089978
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100c00d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10089976
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10089979
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10089982
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100c00d0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100899c8
cmp word [ebx], dx
jne 0x100899c8
or byte [eax + edi + 0x28], 4
jmp 0x100899cd
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10089b30
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10089b10
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10089a0e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10089a44
cmp eax, edx
jae 0x10089a52
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100899e9
jmp 0x10089b30
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10089b0b
cmp dword [ebp - 0x18], 0
je 0x10089b0b
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100c00d0]
test byte [eax + edi + 0x28], 0x48
je 0x10089ae1
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10089aa5
mov word [esi], cx
jmp 0x10089adc
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100c00d0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100c00d0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100c00d0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10089b30
pop eax
cmp word [ebp - 4], ax
jne 0x10089af1
cmp esi, ebx
jne 0x10089af1
mov word [esi], ax
jmp 0x10089b2d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1008a3bb
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10089b30
push 0xd
pop eax
jmp 0x10089aec
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100c00d0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10089b2a
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10089b30
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1008af8b
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 0x1008b028
push ebx
push esi
call fcn.1008af54
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.1008a505
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1008afd5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1008b027
push edi
push eax
call fcn.10081c6b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1008aff5
call fcn.10081c31
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1008b026
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1008a505
add esp, 0x20
test eax, eax
jne 0x1008b014
push edi
call fcn.10081c31
jmp 0x1008b01c
push ebx
call fcn.10081c31
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 0x100923b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100923dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100923dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10008fff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1000900e
pop dword [ebp - 0x3c]
mov eax, 0x1000900e
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x2d6b09e9
add dword [ebp - 0x4c], 0x20e73b62
mov dword [ebp - 0x48], 0x5254240e
add dword [ebp - 0x48], 0xdfdf2837
mov dword [ebp - 0x44], 0xfc07c8d2
sub dword [ebp - 0x44], 0xafbb84a4
mov dword [ebp - 0x40], 0xdb236ff8
add dword [ebp - 0x40], 0x24dc9008
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x70d3e76
sub eax, 0xf70c9e72
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xf717bd6b
sub dword [ebp - 0x4c], 0x82a55415
mov dword [ebp - 0x48], 0x7c5c11c1
sub dword [ebp - 0x48], 0x3aefb04c
mov dword [ebp - 0x44], 0x924e2253
sub dword [ebp - 0x44], 0x2edeb5e7
mov dword [ebp - 0x40], 0x92bc67b3
sub dword [ebp - 0x40], 0x92bc67b3
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x6d01992e
sub eax, 0x5d00f926
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x35792
push 0
call eax
mov ecx, 0x43c0
xor edx, edx
add edx, eax
mov edi, 0x63e648f0
add edi, 0xac1aaf10
add edi, dword [ebp - 0x3c]
mov esi, 0xe2ee0ace
sub esi, 0xc446e8ee
xor dword [ebp - 0x14], 0x398377c9
mov ebx, dword [edi]
sub dword [ebp - 0x38], ebx
xor ebx, esi
add dword [ebp - 0x38], ecx
mov dword [edx], ebx
add dword [ebp - 0x2c], eax
add edx, 0xf004c3e3
sub edx, 0xf004c3df
add edi, 0xa6b6290c
add edi, 0x5949d6f8
loop 0x10009127
add eax, 0x2ce94bf1
sub eax, 0x2ce84a1e
mov ebx, eax
add eax, 0x1f7cdee0
add eax, 0xe0832125
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10005baf
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, esp
mov dword [esp + 0x1070], eax
push esi
mov esi, dword [esp + 0x107c]
push edi
mov edi, dword [esp + 0x1084]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x100c4ef4]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x100c4f18]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x108c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x100c4f18]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
mov ecx, 0x800
cvtdq2pd xmm0, xmm0
push ecx
andps xmm0, xmmword [0x100c4f30]
divsd xmm0, qword [0x100c4f00]
addsd xmm0, qword [0x100c4ef8]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x7c]
push eax
push 0x1002
push ecx
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
lea eax, [esp + 0x7c]
push 0x100c2e18
push eax
call fcn.10071c23
test eax, eax
mov ecx, 0x100c2e24
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.10071c23
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x1078]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.100587af
add esp, 0x1074
ret 0xc
Function at 0x1000fffd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x134
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x70], eax
movzx eax, word [ebp + 0x7c]
push esi
mov esi, dword [0x1011fbe8]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x98], ecx
push esi
inc edi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x1001016e
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x1001016e
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1001016e
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x1001016d
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x9c], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x100100e7
push 3
lea eax, [ebp - 0x90]
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.10010db8
push dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x90]
cmove edi, ecx
cmp dword [ebp - 0x94], eax
je 0x1001015f
push dword [ebp - 0x94]
call fcn.10071c23
pop ecx
jmp 0x1001015f
mov ecx, 0x1234
cmp cx, ax
jne 0x1001015f
or dword [ebp - 0xbc], 0xffffffff
lea eax, [ebp - 0x90]
push 3
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x94], eax
call fcn.10010db8
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb8], eax
cmp eax, ecx
je 0x10010139
push eax
call fcn.10071c23
pop ecx
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x98]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x9c]
test edi, edi
jne 0x1001005e
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100587af
add ebp, 0x74
leave
ret 4
Function at 0x10010183
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x4a8
mov eax, dword [0x1011ca44]
xor eax, esp
mov dword [esp + 0x4a4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x4b4]
lea eax, [esp + 0x2a4]
push esi
mov esi, dword [esp + 0x4bc]
mov ebx, 0x208
push edi
push ebx
push 0
push eax
call fcn.1005c640
push ebx
lea eax, [esp + 0xb4]
push 0
push eax
call fcn.1005c640
push 0x44
pop edi
push edi
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.1005c640
push ebp
lea eax, [esp + 0x2d4]
mov dword [esp + 0x88], edi
push ebx
push eax
call fcn.10071c23
push esi
push ebp
push 0x100c6a40
lea eax, [esp + 0xe0]
push ebx
push eax
call fcn.10071c23
add esp, 0x44
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x64]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x2d0]
push eax
call fcn.10071c23
mov ebx, dword [sym.imp.kernel32.dll_GetLastError]
add esp, 0x28
test eax, eax
jne 0x100102c7
call ebx
mov esi, eax
mov edi, 0x2e4
cmp esi, edi
jne 0x100102c0
lea eax, [esp + 0xa4]
mov dword [esp + 0x24], 0x3c
xor ecx, ecx
mov dword [esp + 0x34], eax
xorps xmm0, xmm0
mov dword [esp + 0x28], 0x40
lea eax, [esp + 0x24]
movlpd qword [esp + 0x48], xmm0
push eax
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], 0x100c6a4c
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100102fa
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x100102fa
mov dword [esp + 0x14], eax
jmp 0x100102cb
call fcn.10071c23
jmp 0x100102f8
mov eax, dword [esp + 0x14]
push eax
call fcn.10004cff
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
je 0x100102ea
mov esi, dword [esp + 0x10]
jmp 0x100102ee
call ebx
mov esi, eax
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, esi
push ebp
call fcn.10071c23
pop ecx
mov ecx, dword [esp + 0x4b4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100587af
add esp, 0x4a8
ret
Function at 0x10011b8b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1fac]
mov eax, 0x202c
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x1fa8], eax
push ebx
push esi
mov esi, dword [ebp + 0x1fb4]
lea eax, [ebp - 0x60]
push edi
mov ebx, 0x1000
xor edi, edi
push ebx
push edi
push eax
call fcn.1005c640
push ebx
lea eax, [ebp + 0xfa0]
push edi
push eax
call fcn.1005c640
add esp, 0x18
lea eax, [ebp - 0x60]
push eax
push 0x800
call dword [sym.imp.kernel32.dll_GetTempPathW]
push 3
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1fa0]
push 4
push eax
call fcn.10071c23
lea eax, [ebp + 0x1fa0]
push eax
call fcn.10071c23
add esp, 0x14
cmp eax, 0x64
jae 0x10011c3e
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x80], vtable.ATL::CSimpleDialog_110__1_.0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ff90
cmp dword [ebp - 0x6c], edi
je 0x10011cb1
push dword [ebp - 0x6c]
call fcn.10071c23
jmp 0x10011cb1
lea eax, [ebp + 0xfa0]
push eax
push edi
push 0x100c6a50
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
test eax, eax
je 0x10011cac
lea ecx, [ebp + 0xfa0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10011c62
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 8]
cmp ecx, ebx
jae 0x10011cce
xor eax, eax
mov word [ebp + ecx + 0xfa0], ax
lea eax, [ebp + 0xfa0]
push eax
push str._s.exe
push ebx
push esi
call fcn.10071c23
push edi
push esi
call fcn.10071c23
add esp, 0x18
cmp eax, 0xffffffff
jne 0x10011c3e
xor eax, eax
jmp 0x10011cb6
call fcn.10071c23
mov eax, 0x80004005
mov ecx, dword [ebp + 0x1fa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100587af
add ebp, 0x1fac
leave
ret
call fcn.10071c23
int3

Function at 0x10013e25
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x790], eax
push esi
lea eax, [ebp - 0x74]
xor esi, esi
push eax
push 0x20019
push esi
push 0x100c6928
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10013e97
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x800
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push str.Allow_Unsigned_Installers
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x74]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10013e97
xor eax, eax
inc eax
jmp 0x10013ec2
push str.TOOLKIT_ALLOW_UNSIGNED
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10071c23
add esp, 0xc
test eax, eax
jne 0x10013ec0
cmp dword [ebp - 0x78], eax
je 0x10013ec0
push dword [ebp - 0x78]
call fcn.10071c23
pop ecx
jmp 0x10013e92
xor eax, eax
mov ecx, dword [ebp + 0x790]
xor ecx, ebp
pop esi
call fcn.100587af
add ebp, 0x794
leave
ret
Function at 0x100164bd
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x3844
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, esp
mov dword [esp + 0x3840], eax
cmp dword [0x1011f344], 0
je 0x100166a6
push ebx
push ebp
push edi
mov ebx, 0x1000
lea eax, [esp + 0x184c]
push ebx
xor ebp, ebp
push ebp
push eax
call fcn.1005c640
push ebx
lea eax, [esp + 0x285c]
push ebp
push eax
call fcn.1005c640
mov ebx, 0x800
lea eax, [esp + 0x64]
push ebx
push ebp
push eax
call fcn.1005c640
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x38]
add esp, 0x24
mov dword [esp + 0xc], ebx
push eax
push 0x20019
push ebp
push 0x100c6da0
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x100166a3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0xc]
push esi
push eax
lea eax, [esp + 0x1854]
push eax
push ebp
push ebp
push 0x100c6df8
push dword [esp + 0x2c]
call ebx
mov esi, eax
lea eax, [esp + 0x1850]
push eax
push 0x100c6e18
push 0x100c6e70
lea eax, [esp + 0x285c]
push 0x1000
push eax
call fcn.10071c23
add esp, 0x14
test esi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1001669c
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebp
lea eax, [esp + 0x285c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1001669c
lea eax, [esp + 0x10]
mov edi, 0x800
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], edi
push eax
push ebp
push ebp
push 0x100c6e7c
push dword [esp + 0x30]
call ebx
test eax, eax
jne 0x1001669c
mov ebx, 0x1000
lea eax, [esp + 0x850]
push ebx
push ebp
push eax
call fcn.1005c640
lea eax, [esp + 0x5c]
push eax
push str._slib_bundles
lea eax, [esp + 0x864]
push ebx
push eax
call fcn.10071c23
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x870]
push eax
call fcn.10071c23
add esp, 0x24
test eax, eax
jne 0x10016696
push str._requested.list
lea eax, [esp + 0x854]
mov dword [esp + 0x18], ebp
push edi
push eax
call fcn.10071c23
push 0x100c6ed0
lea eax, [esp + 0x860]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10071c23
add esp, 0x18
test eax, eax
jne 0x10016696
mov edx, dword [0x1011f344]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x1001666e
push dword [esp + 0x14]
sub ecx, edi
sar ecx, 1
push ecx
push 2
push edx
call fcn.10071c23
push dword [esp + 0x24]
call fcn.1007cbc1
add esp, 0x14
push dword [esp + 0x18]
call esi
push dword [esp + 0x18]
call esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3840]
xor ecx, esp
call fcn.100587af
add esp, 0x3844
ret