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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1007a00c]
mov ebx, edx
mov edi, ecx
xor eax, ebp
mov dword [esp + 0x20], eax
push ecx
call fcn.1001b320
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1003b2ef
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.10069260
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 0x18]
mov ecx, edi
push 8
push esi
call fcn.1001b220
mov dword [esp + 4], ebx
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x58]
mov dword [esp + 8], eax
mov edx, dword [esi + 0x5c]
mov dword [esp + 0xc], edx
lock cmpxchg8b qword [esi + 0x58]
xor edx, dword [esp + 0xc]
xor eax, dword [esp + 8]
or eax, edx
jne 0x1003b30a
mov eax, dword [esp + 4]
mov dword [eax + 0x64], ecx
mov ecx, eax
mov dword [eax + 0x60], ebx
call fcn.1003b440
test al, al
je 0x1003b36a
mov ecx, dword [esp + 4]
lea ebx, [esp + 0x18]
mov edx, ebx
call fcn.1001f700
mov edx, dword [esp + 0x14]
cmp dword [ebx], edx
jae 0x1003b3b9
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_aBuffer.BufferLength__.value_____len_
mov ecx, 0x6db
int3
lea ebx, [esp + 0x10]
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.1002b490
xor ecx, ecx
mov eax, dword [ebx]
lea esi, [esp + 0x18]
mov dword [ebx], ecx
mov ecx, dword [esp + 4]
mov edx, esi
mov dword [esi], eax
call fcn.1003b490
mov ebx, dword [esi]
xor eax, eax
mov dword [esi], eax
test ebx, ebx
je 0x1003b3ac
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 1
call esi
lea ecx, [esp + 0x10]
call fcn.1002b4f0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 4]
lea eax, [esp + 0x14]
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov ecx, esi
push ebx
call fcn.1003b560
add esp, 4
mov eax, 8
mov ecx, edi
push eax
push ebx
call fcn.1001b220
movsd xmm0, qword [esp + 0x18]
mov ecx, edi
mov eax, 8
movsd qword [esi + 0x68], xmm0
push eax
push ebx
call fcn.1001b220
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x70]
mov dword [esp + 8], eax
mov edi, dword [esi + 0x74]
mov edx, edi
lock cmpxchg8b qword [esi + 0x70]
xor eax, dword [esp + 8]
xor edx, edi
or eax, edx
jne 0x1003b40b
mov ecx, dword [esp + 4]
xor eax, eax
mov dword [ecx + 0x7c], eax
mov dword [ecx + 0x78], eax
jmp 0x1003b2dc
Function at 0x1003ba60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x1007a00c]
mov esi, edx
mov edi, ecx
xor eax, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
cmp byte [ecx + 0x38], 0
je 0x1003ba9a
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ebx, eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov dword [edi + 0x30], ebx
mov ebx, dword [edi + 0x3c]
test ebx, ebx
je 0x1003bbcf
mov eax, dword [ebx]
mov dword [esp + 8], esi
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call esi
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.10019bf0
mov esi, dword [edi + 0x44]
mov dword [esp + 4], edi
test esi, esi
je 0x1003bbd7
lea ebx, [edi + 0x44]
lea edi, [esp + 0x18]
push 1
push edi
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::NowUnfuzzed_bool_
add esp, 8
movsd xmm0, qword [edi + 0x10]
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x1003bbb5
mov ecx, dword [ebx]
mov dword [ebx], 0
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 4]
lea edx, [edi + 0x48]
test ecx, ecx
jne 0x1003bbc5
mov eax, dword [edx]
mov dword [edx], 0
mov dword [esp + 0x10], eax
mov esi, dword [edi + 0x3c]
mov eax, dword [esi]
mov ebx, dword [eax + 0x20]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
mov ebx, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [edi + 0x64], ecx
mov dword [edi + 0x60], ebx
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x58]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0x5c]
mov edx, edi
lock cmpxchg8b qword [esi + 0x58]
xor eax, dword [esp + 0xc]
xor edx, edi
or eax, edx
jne 0x1003bb60
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x38], 0
je 0x1003bba0
mov dword [eax + 0x30], 0
add eax, 0x18
push eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.10069260
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, ebx
call fcn.1002c6d0
mov ecx, dword [esp + 0x10]
jmp 0x1003bb21
call fcn.1002c6d0
jmp 0x1003bb3c
mov dword [esi], 0
jmp 0x1003bb85
mov ecx, dword [esp + 0x10]
jmp 0x1003bb25
Function at 0x1003f4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1007a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x1003f512
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x1c]
push eax
push edi
push ebx
push 0x10
push str.AppsUseLightTheme
push ebx
push esi
call dword [sym.imp.advapi32.dll_RegGetValueW]
or eax, dword [edi]
sete bl
push esi
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069260
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10041540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov esi, 8
mov dword [ebp - 0x10], edx
dec ecx
add eax, eax
mul esi
mov edi, eax
cmovo edi, ecx
push edi
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov ebx, eax
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp + 0x10]
add esp, 0xc
test edx, edx
jle 0x100415a2
mov eax, dword [ebp + 0xc]
mov ecx, edx
movsd xmm0, qword [eax + esi - 8]
movsd qword [ebx + esi - 8], xmm0
movsd xmm0, qword [eax + esi]
movsd qword [ebx + esi], xmm0
add esi, 0x10
dec ecx
jne 0x10041586
mov ecx, dword [ebp + 8]
shl edx, 4
cmp dword [ecx + 0x14], 7
jbe 0x100415b0
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push edx
push ebx
push 3
push 0
push ecx
push eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x100415e5
mov byte [esi + 4], 1
mov dword [esi], 8
push ebx
call sym.mozglue.dll__aligned_free
add esp, 4
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 4], 0
jmp 0x100415d2

Function at 0x10041600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1007a00c]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x1007b5fc], 0
je 0x1004164a
mov eax, dword [0x1007b5f8]
add eax, 0xfffffffb
cmp eax, 1
ja 0x1004164a
mov byte [esi + 4], 1
mov dword [esi], 2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069260
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [ebp - 0x28]
mov ecx, edi
call fcn.1003f530
cmp byte [edi + 4], 1
je 0x10041720
lea ebx, [ebp - 0x28]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x34], eax
call fcn.1003c6e0
cmp byte [ebx + 4], 1
mov edx, dword [ebx]
je 0x1004172e
xor edi, edi
mov ecx, ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], 0
call fcn.100424a0
mov ecx, ebx
mov edx, str.Enabled
push 8
call fcn.10042600
add esp, 4
movzx eax, byte [ebp + 0xc]
cmp dword [ebp - 0x14], 7
mov dword [ebp - 0x2c], eax
mov eax, ebx
jbe 0x100416b8
mov eax, dword [ebp - 0x28]
mov ecx, 4
lea edx, [ebp - 0x2c]
push ecx
push edx
push ecx
push edi
push eax
push dword [ebp - 0x34]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ecx, ebx
mov edi, eax
call fcn.10042450
test edi, edi
jne 0x10041736
cmp byte [0x1007b5e4], 0
mov eax, dword [ebp - 0x30]
mov bl, byte [ebp + 0xc]
jne 0x100416ee
test bl, bl
jne 0x10041713
mov byte [0x1007b5e4], bl
mov byte [esi + 4], 0
test eax, eax
je 0x10041705
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10041636
lea ecx, [ebp - 0x28]
call fcn.10041750
mov eax, dword [ebp - 0x30]
jmp 0x100416ee
mov eax, dword [ebp - 0x28]
mov byte [esi + 4], 1
mov dword [esi], eax
jmp 0x10041636
mov byte [esi + 4], 1
mov dword [esi], edx
jmp 0x10041705
mov eax, dword [ebp - 0x30]
mov byte [esi + 4], 1
mov dword [esi], 8
jmp 0x100416f8
Function at 0x10041750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1007a00c]
lea edi, [ebp - 0x2c]
mov esi, ecx
mov edx, 0x1006b018
mov ecx, edi
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.10041d30
mov edi, dword [edi]
test edi, edi
jne 0x1004179f
mov byte [esi + 4], 1
mov dword [esi], 0xb
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069260
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [ebp - 0x28]
mov ecx, ebx
call fcn.1003c6e0
cmp byte [ebx + 4], 1
je 0x1004190a
mov edi, dword [ebp - 0x28]
movzx eax, word [edi]
test ax, ax
je 0x100417dc
lea ecx, [edi + 2]
lea edx, [eax - 0x41]
cmp dx, 0x19
ja 0x100417d1
add eax, 0x20
mov word [ecx - 2], ax
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100417c1
push 0x12
call sym.mozglue.dll_moz_xmalloc
add esp, 4
xor ecx, ecx
mov word [eax + 0x10], 0
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov eax, 0
movzx edx, word [edi]
test dx, dx
je 0x10041829
lea ecx, [edi + 2]
xor eax, eax
movzx edx, dx
rol eax, 5
xor eax, edx
movzx edx, word [ecx]
add ecx, 2
imul eax, eax, 0x9e3779b9
test dx, dx
jne 0x10041810
mov dword [ebp - 0x34], edi
sub esp, 0x10
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
call fcn.10042400
add esp, 0x10
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
lea ebx, [ebp - 0x28]
mov edx, edi
mov ecx, ebx
push eax
call fcn.10042600
add esp, 4
mov ecx, ebx
mov edx, str.MozillaFirefoxSkeletonUILock_
push 0x20
call fcn.10042600
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
lea ecx, [ebp - 0x28]
mov edx, ebx
push eax
call fcn.10042600
lea ecx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 7
jbe 0x100418a4
mov ecx, dword [ebp - 0x28]
xor eax, eax
push eax
push 0x4000000
push 2
push eax
push eax
push 0xc0000000
push ecx
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x100418fe
mov byte [esi + 4], 0
lea ecx, [ebp - 0x28]
call fcn.10042450
push dword [ebp - 0x30]
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [ebp - 0x34]
call sym.mozglue.dll__aligned_free
add esp, 4
test edi, edi
mov dword [ebp - 0x2c], 0
je 0x1004178b
mov ecx, edi
call fcn.100421c0
jmp 0x1004178b
mov byte [esi + 4], 1
mov dword [esi], 0xa
jmp 0x100418c5
mov eax, dword [ebp - 0x28]
mov byte [esi + 4], 1
mov dword [ebp - 0x2c], 0
mov dword [esi], eax
jmp 0x100418f2
Function at 0x10041920
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1007a00c]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x1007b5e8], edi
jne 0x10041959
mov byte [esi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069260
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [ebp - 0x28]
mov dword [0x1007b5e8], edi
mov ecx, ebx
call fcn.1003f530
cmp byte [ebx + 4], 1
je 0x10041a24
lea ebx, [ebp - 0x28]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x30], eax
call fcn.1003c6e0
cmp byte [ebx + 4], 1
mov edx, dword [ebx]
je 0x10041a2f
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], 0
call fcn.100424a0
mov ecx, ebx
mov edx, str.Theme
push 6
call fcn.10042600
add esp, 4
cmp dword [ebp - 0x14], 7
mov eax, ebx
mov dword [ebp - 0x2c], edi
jbe 0x100419c9
mov eax, dword [ebp - 0x28]
mov ecx, 4
lea edx, [ebp - 0x2c]
push ecx
push edx
push ecx
xor ecx, ecx
push ecx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ecx, ebx
mov edi, eax
call fcn.10042450
test edi, edi
jne 0x10041a40
mov bl, 1
mov byte [esi + 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10041a04
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.advapi32.dll_RegCloseKey]
test bl, bl
jne 0x10041945
mov dword [0x1007b5e8], 0
jmp 0x10041945
mov eax, dword [ebp - 0x28]
mov byte [esi + 4], 1
mov dword [esi], eax
jmp 0x10041a15
mov byte [esi + 4], 1
mov dword [esi], edx
push dword [ebp - 0x30]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10041a15
mov byte [esi + 4], 1
mov dword [esi], 8
xor ebx, ebx
jmp 0x100419f4

Function at 0x10041ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov ecx, dword [0x1007a00c]
mov eax, dword [ebp + 8]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], ecx
cmp dword [eax + 0x14], 7
jbe 0x10041add
mov eax, dword [eax]
lea edi, [ebp - 0x18]
lea ebx, [ebp - 0x14]
push edi
push ebx
push ecx
push 0x10
push eax
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
mov eax, 8
jne 0x10041afd
mov eax, dword [ebp - 0x14]
setne byte [esi + 4]
mov dword [esi], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069260
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10041b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x1007a00c]
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, edx
xor eax, ebp
mov ecx, edi
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [edi + 0x14], 7
jbe 0x10041b4e
mov ecx, dword [edi]
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push ecx
push esi
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10041b81
mov byte [ebx + 0xc], 1
mov dword [ebx], 8
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.10069260
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], ebx
mov ebx, dword [esp + 0x24]
test bl, 0xf
je 0x10041b9c
mov ebx, dword [esp]
mov byte [ebx + 0xc], 1
mov dword [ebx], 0xe
jmp 0x10041b6c
xor eax, eax
dec eax
add ebx, ebx
cmovb ebx, eax
push ebx
call sym.mozglue.dll_malloc
add esp, 4
test eax, eax
je 0x10041c01
push ebx
xor ebx, ebx
push ebx
mov dword [esp + 0xc], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 7
jbe 0x10041bca
mov edi, dword [edi]
lea eax, [esp + 0x24]
push eax
push dword [esp + 8]
push ebx
push 8
push edi
push ebx
push esi
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, dword [esp]
test eax, eax
je 0x10041c13
mov byte [ebx + 0xc], 1
mov dword [ebx], 8
push dword [esp + 4]
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10041b6c
mov ebx, dword [esp]
mov byte [ebx + 0xc], 1
mov dword [ebx], 4
jmp 0x10041b6c
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov eax, 0x10
mov edx, 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], 0x10
cmp esi, 0x10
jb 0x10041cb0
mov ebx, dword [esp + 4]
xor ecx, ecx
mov eax, 0x10
xor edx, edx
xor edi, edi
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
cmp edx, ecx
jne 0x10041c85
lea ecx, [esp + 0x18]
movsd qword [esp + 8], xmm1
movsd qword [esp + 0x10], xmm0
call fcn.10042220
test al, al
je 0x10041ce3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 8]
shl edx, 4
mov ecx, esi
inc edi
add ebx, 0x10
movsd qword [eax + edx], xmm0
movsd qword [eax + edx + 8], xmm1
shr ecx, 4
mov edx, dword [esp + 0x1c]
inc edx
cmp edi, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
jb 0x10041c47
mov ebx, dword [esp]
cmp eax, 0x10
mov byte [ebx + 0xc], 0
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
je 0x10041cd8
mov dword [ebx], eax
xor eax, eax
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
jmp 0x10041bf0
mov dword [ebx], 0x10
jmp 0x10041bf0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp]
cmp eax, 0x10
mov byte [ebx + 0xc], 1
mov dword [ebx], 4
je 0x10041bf0
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10041bf0
Function at 0x10045480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
movzx edx, byte [ebp + 0x1a]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], edx
mov esi, dword [0x1007b664]
mov edi, dword [0x1007b660]
mov eax, edi
mov edx, esi
lock cmpxchg8b qword [0x1007b660]
xor edx, esi
xor eax, edi
or eax, edx
jne 0x100454a2
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esi, dword [0x1007b65c]
mov edi, dword [0x1007b658]
mov eax, edi
mov edx, esi
lock cmpxchg8b qword [0x1007b658]
xor edx, esi
xor eax, edi
or eax, edx
jne 0x100454c8
mov eax, dword [ebp - 0x18]
and eax, 1
xchg dword [0x1007b650], eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10045500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [0x1007b66c]
mov ebx, dword [0x1007b668]
mov eax, ebx
mov edx, ecx
lock cmpxchg8b qword [0x1007b668]
xor edx, ecx
xor eax, ebx
or eax, edx
jne 0x10045504
mov eax, ebx
mov edx, ecx
pop ebx
pop ebp
ret

Function at 0x10045530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [0x1007b66c]
mov edi, dword [0x1007b668]
mov eax, edi
mov edx, esi
lock cmpxchg8b qword [0x1007b668]
xor edx, esi
xor eax, edi
or eax, edx
jne 0x1004553c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10045be0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1007a00c]
xor eax, ebp
mov dword [esp + 0x20], eax
cmp byte [0x1007b6c8], 0
jne 0x10045d8c
mov byte [0x1007b6c8], 1
push 0x1000
push 0x1007b690
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
push str.MOZ_TIMESTAMP_MODE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x10045d9f
xor ebx, ebx
mov eax, esp
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
setne al
mov byte [0x1007a230], al
mov al, byte [0x1007a230]
test al, 1
je 0x10045d87
test bl, bl
jne 0x10045ddf
lea esi, [esp + 0x14]
xor eax, eax
xor ecx, ecx
cpuid
mov dword [esi - 4], eax
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
push 0xc
push str.GenuntelineI
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10045de6
mov eax, 0x80000000
xor ecx, ecx
cpuid
xor ecx, ecx
cmp eax, 0x80000007
jb 0x10045ca9
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov cl, dh
mov byte [0x1007b670], cl
mov eax, dword [esp]
mov ecx, dword [esp + 4]
lea esi, [esp + 0xc]
mov dword [0x1007a22c], ecx
mov dword [0x1007a228], eax
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [ecx], eax
mov dword [esi], eax
lea eax, [esp + 8]
push eax
push esi
push ecx
call dword [sym.imp.kernel32.dll_GetSystemTimeAdjustment]
mov eax, dword [esi]
test eax, eax
je 0x10045e06
mov ebx, dword [0x1007a22c]
dec eax
mov ecx, 0xd1b71759
mov esi, dword [0x1007a228]
mul ecx
mov eax, 0x2710
shr edx, 0xd
imul ecx, edx, 0x2710
add ecx, eax
mov edi, ebx
mov eax, esi
imul edi, ecx
mul ecx
add edx, edi
push 0
mov ecx, 0x2710
push ecx
push edx
push eax
call fcn.1006a070
shld edx, eax, 2
shl eax, 2
mov ecx, 0x7d0
imul edi, ebx, 0x7d0
mov dword [0x1007b678], eax
mov eax, esi
mov dword [0x1007b67c], edx
mul ecx
add edi, edx
mov dword [0x1007b688], eax
mov edx, 0x1388
mov eax, esi
mov dword [0x1007b68c], edi
mul edx
imul edi, ebx, 0x1388
add edi, edx
mov dword [0x1007b6b0], eax
mov eax, esi
mov edx, 0x32
imul esi, ebx, 0x32
mul edx
mov dword [0x1007b6b4], edi
add esi, edx
mov dword [0x1007b680], eax
mov dword [0x1007b684], esi
call fcn.10045e20
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.10069260
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
push 0x1006ed61
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x10045e18
push 0x1006ed5d
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x10045c31
mov byte [0x1007a230], 0
mov al, byte [0x1007a230]
test al, 1
jne 0x10045c5b
jmp 0x10045d87
mov cl, 1
jmp 0x10045ca9
push 0xc
push str.AuthcAMDenti
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x10045c89
xor ecx, ecx
jmp 0x10045ca9
mov eax, 0x26161
mov dword [esp + 0xc], 0x26161
jmp 0x10045ce6
mov bl, 1
jmp 0x10045c33