joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fb50
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [0x448010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0xc]
dec eax
cmp eax, 2
jb 0x40fd7e
mov esi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x442c58
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and eax, 0xfffffffc
je 0x40fd29
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x40fd29
mov edx, dword [eax + 0x3c]
add edx, eax
je 0x40fd29
cmp dword [edx], 0x4550
jne 0x40fd29
movzx ecx, word [edx + 0x18]
cmp ecx, 0x10b
jne 0x40fd29
cmp dword [edx + 0x50], 0x137
jbe 0x40fd29
cmp dword [edx + 0x74], 0
je 0x40fd29
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x40fd29
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x40fd29
mov edi, ecx
add edi, eax
je 0x40fd29
mov edi, dword [edi + 0x14]
test edi, edi
je 0x40fd29
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
mov ebx, dword [eax + ecx + 0x10]
mov dword [ebp - 0x50], ebx
lea ebx, [edx + ecx]
mov dword [ebp - 0x4c], ecx
mov edx, edi
mov dword [ebp - 0x48], ebx
and edx, 0x3fffffff
mov ebx, dword [eax + ecx + 0x1c]
add ebx, eax
cmp edx, edi
cmovae edx, edi
lea edi, [ebp - 0x20]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x60], edx
mov edi, dword [eax + ecx + 0x18]
mov edx, dword [eax + ecx + 0x20]
mov ebx, edi
add edx, eax
and ebx, 0x3fffffff
mov dword [ebp - 0x5c], edx
cmp ebx, edi
cmovae ebx, edi
lea edi, [ebp - 0x20]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ebx
mov edx, dword [eax + ecx + 0x18]
add eax, dword [eax + ecx + 0x24]
mov edi, edx
and edi, 0x7fffffff
cmp edi, edx
cmovae edi, edx
add dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
je 0x40fd7e
cmp dword [ebp - 0x68], 0
je 0x40fd7e
cmp dword [ebp - 0x60], 0
je 0x40fd7e
cmp dword [ebp - 0x5c], 0
je 0x40fd7e
test ebx, ebx
je 0x40fd7e
test eax, eax
je 0x40fd7e
test edi, edi
je 0x40fd7e
lea ecx, [ebp - 0x58]
mov edx, 0x440dc4
call fcn.0040fd90
test eax, eax
je 0x40fd7e
mov eax, dword [eax]
lea ecx, [ebp - 0x58]
mov edx, 0x440619
mov dword [esi + 0x10], eax
call fcn.0040fd90
test eax, eax
je 0x40fd7e
mov eax, dword [eax]
lea ecx, [ebp - 0x58]
mov edx, 0x440174
mov dword [esi + 0x14], eax
call fcn.0040fd90
test eax, eax
je 0x40fd7e
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], 1
jmp 0x40fd7e
lea eax, [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c380
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x411390
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x448010]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push 0x31
push str._builds_worker_checkouts_gecko_security_sandbox_chromium_shim_base_file_version_info_win.cpp
push str.CreateFileVersionInfoWin
push eax
call fcn.00414cd0
add esp, 0x10
cmp dword [ebx + 0x14], 7
jbe 0x4113c9
mov ebx, dword [ebx]
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x4113f1
mov dword [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c380
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov edi, eax
mov dword [ebp - 0x20], 0
call fcn.00411600
test al, al
je 0x411430
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push edi
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, edi
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push eax
push edi
push dword [ebp - 0x2c]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
xor edi, edi
test eax, eax
je 0x411490
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0x43eea4
push dword [ebp - 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x411490
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411490
push 0x18
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
movzx eax, word [ebx + 2]
movzx ebx, word [ebx]
lea edx, [ebp - 0x28]
mov ecx, edi
push eax
push ebx
call fcn.004114a0
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [esi], edi
call fcn.00411680
jmp 0x4113dd
Function at 0x412ed0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x18], edx
mov esi, dword [ebp + 8]
mov eax, dword [0x448010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
mov ebx, dword [ecx + 0xc]
mov edi, dword [esi]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
xor edx, eax
imul edx, edx, 0x1000193
and edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 4]
mov eax, dword [ebx + edx*8]
lea edx, [edx + edx + 1]
mov dword [ebp - 0x20], edx
mov edx, eax
nop word cs:[eax + eax]
nop
cmp eax, ecx
mov esi, eax
je 0x412f4e
mov esi, dword [ebp - 0x20]
mov esi, dword [ebx + esi*4]
mov esi, dword [esi]
cmp esi, edx
je 0x412f6a
cmp dword [edx + 8], edi
je 0x412f5b
mov edx, dword [edx]
jmp 0x412f40
cmp edx, ecx
je 0x412f6a
mov esi, dword [ebp - 0x18]
mov dword [esi], edx
mov byte [esi + 4], 0
jmp 0x412f9d
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov edx, dword [ecx]
lea ecx, [esi + 4]
push eax
call fcn.00413100
add esp, 4
mov eax, dword [esi + 4]
mov ecx, esi
mov esi, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, esi
push eax
add eax, 8
push eax
call fcn.00412fc0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c380
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x412fc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov ebx, dword [ecx + 0xc]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, edi
xor edx, eax
imul eax, edx, 0x1000193
and eax, dword [ecx + 0x18]
mov edx, dword [ebx + eax*8]
add eax, eax
cmp edx, edi
je 0x413027
lea esi, [eax*4]
or esi, 4
mov esi, dword [ebx + esi]
mov esi, dword [esi]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
nop dword [eax]
cmp edx, esi
je 0x413060
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
jne 0x413030
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [edx], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
dec dword [edx + 8]
call fcn.00412830
mov edi, dword [ebp - 0x14]
xor eax, eax
jmp 0x4130c4
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
cmp ecx, edx
je 0x413098
mov esi, dword [ebp + 0xc]
mov ebx, esi
mov esi, dword [esi + 4]
mov dword [esi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov edi, dword [ecx + 4]
mov esi, dword [edx + 4]
mov dword [edx + 4], edi
mov edi, dword [ebx + 4]
mov dword [ecx + 4], edi
mov dword [ebx + 4], esi
mov esi, dword [ebp - 0x10]
mov edi, dword [esi + 4]
mov ebx, dword [esi + 0xc]
mov esi, dword [ebx + eax*4]
lea ecx, [ebx + eax*4]
cmp esi, edi
jne 0x4130d3
mov edx, dword [ebp + 0xc]
shl eax, 2
mov edi, dword [ebp - 0x14]
or eax, 4
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xc]
mov esi, eax
mov dword [esi], edx
call fcn.004134d0
mov esi, dword [ebp + 0xc]
mov al, 1
mov dword [edi], esi
mov byte [edi + 4], al
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
cmp esi, edx
mov esi, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
je 0x4130b8
or eax, 1
mov edx, dword [ebx + eax*4]
mov edx, dword [edx]
cmp edx, dword [ebp + 0xc]
mov dword [ebx + eax*4], edx
je 0x4130ba
mov edx, dword [ecx + 0xc]
lea esi, [edx + eax*4]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 4]
jmp 0x4130b8
Function at 0x413620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0x14], 7
jbe 0x41363a
mov esi, dword [esi]
test ebx, 0x7fffffff
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], esi
je 0x413661
lea ecx, [ebx + ebx]
mov eax, 0x811c9dc5
movzx edi, byte [esi]
inc esi
xor edi, eax
imul eax, edi, 0x1000193
dec ecx
jne 0x413650
jmp 0x413666
mov eax, 0x811c9dc5
mov ecx, dword [ebp - 0x10]
and eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0xc]
mov edi, dword [ecx + 4]
mov ecx, dword [edx + eax*8]
add eax, eax
mov dword [ebp - 0x1c], edi
cmp ecx, edi
mov dword [ebp - 0x14], ecx
je 0x413690
lea ecx, [eax*4]
or ecx, 4
mov ecx, dword [edx + ecx]
mov edi, dword [ecx]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x14], edi
je 0x413713
mov edi, dword [edi + 4]
cmp ebx, dword [edi + 0x18]
jne 0x413693
test ebx, ebx
je 0x4136d2
cmp dword [edi + 0x1c], 7
jbe 0x4136b0
mov ecx, dword [edi + 8]
jmp 0x4136b3
lea ecx, [edi + 8]
xor esi, esi
nop word cs:[eax + eax]
nop
mov edx, dword [ebp - 0x24]
movzx edx, word [edx + esi*2]
cmp dx, word [ecx + esi*2]
jne 0x413693
inc esi
cmp ebx, esi
jne 0x4136c0
mov eax, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x10]
dec dword [ecx + 8]
lea ecx, [esi + 8]
call fcn.0040dd20
push 0x24
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov esi, dword [ebp - 0x18]
xor eax, eax
mov dword [esi], edi
mov byte [esi + 4], al
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [edi]
cmp ecx, dword [ebp - 0x14]
je 0x413750
mov edx, dword [edi + 4]
mov ebx, dword [ebp - 0x14]
mov dword [edx], ecx
mov edx, dword [ecx + 4]
mov dword [edx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], edi
mov esi, dword [ecx + 4]
mov edx, dword [ebx + 4]
mov dword [ebx + 4], esi
mov esi, dword [edi + 4]
mov dword [ecx + 4], esi
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 4]
mov esi, dword [edx + 0xc]
mov ecx, dword [esi + eax*4]
lea edx, [esi + eax*4]
cmp ecx, ebx
jne 0x41377d
mov ecx, dword [ebp - 0x10]
shl eax, 2
mov dword [edx], edi
mov esi, dword [ebp - 0x18]
or eax, 4
add eax, dword [ecx + 0xc]
mov ecx, edi
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00413840
mov al, 1
jmp 0x413704
mov ebx, esi
cmp ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, edi
je 0x41376f
or eax, 1
mov ecx, dword [ebx + eax*4]
mov ecx, dword [ecx]
cmp ecx, edi
mov dword [ebx + eax*4], ecx
je 0x413771
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
lea edx, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 4]
jmp 0x41376f
Function at 0x413a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 7
jbe 0x413a4a
mov ecx, dword [ecx]
test esi, 0x7fffffff
mov dword [esp], edx
je 0x413a71
lea edi, [esi + esi]
mov eax, 0x811c9dc5
mov ebx, ecx
nop
movzx ebp, byte [ebx]
inc ebx
xor ebp, eax
imul eax, ebp, 0x1000193
dec edi
jne 0x413a60
jmp 0x413a76
mov eax, 0x811c9dc5
mov edi, dword [esp + 4]
mov edx, dword [edi + 4]
and eax, dword [edi + 0x18]
mov dword [esp + 8], edx
mov edx, dword [edi + 0xc]
mov ebp, dword [edx + eax*8]
mov dword [esp + 4], edx
lea eax, [eax + eax + 1]
mov dword [esp + 0xc], eax
mov edx, ebp
jmp 0x413aa2
mov edx, dword [edx]
cmp ebp, dword [esp + 8]
mov eax, ebp
je 0x413ab7
mov eax, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
cmp eax, edx
je 0x413b16
cmp dword [edx + 0x18], esi
jne 0x413aa0
cmp dword [edx + 0x1c], 7
jbe 0x413ad0
mov eax, dword [edx + 8]
test esi, esi
jne 0x413ad7
jmp 0x413b0f
lea eax, [edx + 8]
test esi, esi
je 0x413b0f
xor edi, edi
nop dword [eax]
movzx ebx, word [eax + edi*2]
cmp bx, word [ecx + edi*2]
jne 0x413aa0
inc edi
cmp esi, edi
jne 0x413ae0
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ebx, word [ecx + edi*2]
cmp bx, word [eax + edi*2]
jne 0x413b16
inc edi
cmp esi, edi
jne 0x413b00
mov eax, dword [esp]
mov dword [eax], edx
jmp 0x413b1f
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x413b30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebp, dword [esp + 0x1c]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
movzx eax, byte [ebp]
movzx esi, byte [ebp + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor esi, eax
imul eax, esi, 0x1000193
movzx esi, byte [ebp + 2]
xor esi, eax
imul eax, esi, 0x1000193
movzx esi, byte [ebp + 3]
mov ebp, dword [ebp]
xor esi, eax
imul edi, esi, 0x1000193
mov esi, dword [ecx + 0xc]
and edi, dword [ecx + 0x18]
mov eax, dword [esi + edi*8]
lea edi, [edi + edi + 1]
mov ecx, eax
nop word cs:[eax + eax]
cmp eax, ebx
mov edx, eax
je 0x413b9b
mov edx, dword [esi + edi*4]
mov edx, dword [edx]
cmp edx, ecx
je 0x413bd0
cmp dword [ecx + 8], ebp
je 0x413ba8
mov ecx, dword [ecx]
jmp 0x413b90
mov edx, ecx
mov dword [esp + 4], edi
nop
cmp eax, ebx
mov edi, eax
je 0x413bbf
mov edi, dword [esp + 4]
mov edi, dword [esi + edi*4]
mov edi, dword [edi]
cmp edi, edx
je 0x413bcc
cmp ebp, dword [edx + 8]
jne 0x413bcc
mov edx, dword [edx]
jmp 0x413bb0
cmp ecx, edx
jne 0x413bd4
mov ecx, ebx
mov edx, ebx
mov eax, dword [esp]
mov dword [eax], ecx
mov dword [eax + 4], edx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x413cb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
movzx edx, byte [ecx + 8]
movzx esi, byte [ecx + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xa]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xb]
xor esi, edx
imul edi, esi, 0x1000193
mov esi, dword [eax + 0xc]
and edi, dword [eax + 0x18]
lea ebx, [edi + edi]
lea edx, [esi + edi*8]
mov dword [ebp - 0x10], edx
cmp dword [esi + ebx*4 + 4], ecx
mov edx, dword [esi + edi*8]
je 0x413d18
cmp edx, ecx
jne 0x413d27
mov esi, dword [ebp - 0x10]
mov edi, ecx
jmp 0x413d23
cmp edx, ecx
je 0x413d4b
lea esi, [esi + ebx*4 + 4]
lea edi, [ecx + 4]
mov edx, dword [edi]
mov dword [esi], edx
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [edx], esi
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
dec dword [eax + 8]
call fcn.00412830
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov dword [esi], edx
lea esi, [edi + edi + 1]
lea edi, [eax + 4]
shl esi, 2
add esi, dword [eax + 0xc]
mov esi, esi
jmp 0x413d23
Function at 0x4144f0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [0x448010]
mov esi, ecx
xor ecx, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
cpuid
mov edi, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x38], 0
lea ecx, [esi + 0x28]
push eax
call fcn.0040d7a0
test edi, edi
jle 0x41468f
mov eax, 1
xor ecx, ecx
cpuid
cmp edi, 7
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], edx
jl 0x41455f
mov edi, eax
mov eax, 7
xor ecx, ecx
cpuid
shr bl, 5
mov eax, edi
and bl, 1
mov dword [ebp - 0x4c], ebx
mov ebx, eax
mov dword [esi], eax
and eax, 0xf
mov ecx, ebx
mov dword [esi + 0x10], eax
mov eax, ebx
shr ecx, 0xc
shr eax, 4
mov edx, ecx
and eax, 0xf
and ecx, 3
and edx, 0xf0
or edx, eax
mov eax, ebx
shr eax, 8
mov dword [esi + 0xc], edx
and eax, 0xf
mov dword [esi + 8], eax
mov eax, ebx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x48]
shr ebx, 0x14
shr eax, 0x10
and eax, 0xf
mov dword [esi + 0x14], eax
movzx eax, bl
mov dword [esi + 0x18], eax
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x1c], al
mov eax, ecx
shr ecx, 0x1a
shr eax, 0x19
and cl, 1
and al, 1
mov byte [esi + 0x1d], al
mov byte [esi + 0x1e], cl
mov ecx, dword [ebp - 0x50]
mov eax, ecx
and al, 1
mov byte [esi + 0x1f], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x20], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x21], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x22], al
mov eax, ecx
shr eax, 0x17
and al, 1
test ecx, ecx
mov byte [esi + 0x23], al
mov eax, ecx
setns byte [ebp - 0x48]
xor edi, edi
and eax, 0x1c000000
cmp eax, 0x1c000000
mov eax, 0
jne 0x414621
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov ecx, dword [ebp - 0x50]
mov byte [esi + 0x24], al
shr ecx, 0x19
and cl, 1
test al, al
movzx eax, byte [ebp - 0x4c]
mov byte [esi + 0x26], cl
cmove eax, edi
mov byte [esi + 0x25], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jge 0x414695
cmp byte [esi + 0x27], 0
setne al
or byte [ebp - 0x48], al
jne 0x41467d
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x41467d
cmp ebx, 0x7263694d
jne 0x41467d
cmp ecx, 0x666f736f
jne 0x41467d
mov byte [esi + 0x27], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c380
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [ebp - 0x48], 1
jmp 0x41463c
mov edi, eax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x14], 0
lea ecx, [esi + 0x40]
push eax
call fcn.0040d7a0
cmp edi, 0x80000007
jl 0x41464c
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x27], dh
jmp 0x41464c
Function at 0x414be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
je 0x41137b
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x41137b
mov eax, edx
mov edi, edx
and eax, 3
shr edi, 2
je 0x411323
mov esi, edx
mov ebx, ecx
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx ebp, word [ebx]
add ebp, esi
movzx esi, word [ebx + 2]
add ebx, 4
mov eax, ebp
shl eax, 0x10
xor eax, ebp
shl esi, 0xb
xor eax, esi
mov esi, eax
shr esi, 0xb
add esi, eax
dec edi
jg 0x4112d0
mov eax, dword [esp]
and edx, 0xfffffffc
add ecx, edx
cmp eax, 1
je 0x41132a
cmp eax, 2
je 0x41133c
cmp eax, 3
jne 0x41134f
movzx eax, word [ecx]
add esi, eax
movsx eax, byte [ecx + 2]
shl eax, 0x12
xor eax, esi
shl esi, 0x10
xor eax, esi
mov esi, eax
shr esi, 0xb
jmp 0x41134d
mov esi, edx
cmp eax, 1
jne 0x4112ff
movsx eax, byte [ecx]
add esi, eax
mov eax, esi
shl eax, 0xa
xor eax, esi
mov esi, eax
shr esi, 1
jmp 0x41134d
movzx eax, word [ecx]
add esi, eax
mov eax, esi
shl eax, 0xb
xor eax, esi
mov esi, eax
shr esi, 0x11
add esi, eax
lea eax, [esi*8]
xor eax, esi
mov ecx, eax
shr ecx, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add ecx, eax
mov edx, ecx
shl edx, 0x19
xor edx, ecx
mov eax, edx
shr eax, 6
add eax, edx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 8], 0
js 0x414bec
jmp 0x411290
xor eax, eax
ret

Function at 0x4150e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 8]
cmp dword [ecx], edi
je 0x41512f
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.00415140
lea eax, [edi + 1]
cmp eax, 2
jb 0x415126
mov dword [esi], edi
call fcn.00414d00
mov edi, dword [ebp + 4]
mov ebx, eax
call sym.firefox.exe_GetHandleVerifier
mov edx, dword [eax]
mov ecx, eax
push ebx
push edi
push esi
push dword [ebp + 8]
call dword [edx + 4]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x418e80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.0043c8b0
mov eax, dword [0x448010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x448054]
cmp eax, 0xffffffff
je 0x418eaf
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x418ec4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c380
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
cmp eax, 1
je 0x418f94
lea ebx, [ebp - 0x810]
push 0x800
push esi
push ebx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [0x448054]
push ebx
mov dword [ebp - 0x1414], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call sub.mozglue.dll_void___cdecl_operator_delete___void__
add esp, 4
call fcn.004192b0
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea eax, [ebp - 0x1410]
push 0xc00
push 0x44886c
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
test al, 1
je 0x418f81
mov edi, 0xfffff400
xor eax, eax
mov ecx, dword [ebx]
test ecx, ecx
jne 0x418f50
add ebx, 8
add edi, 0xc
jne 0x418f40
jmp 0x418f73
cmp dword [ebp + edi - 0x810], 0
je 0x418f46
mov edx, dword [ebx + 4]
cmp edx, dword [ebp + edi - 0x808]
jne 0x418f46
mov edx, dword [ebp + edi - 0x80c]
test edx, edx
je 0x418f46
jmp 0x418f9e
cmp esi, 2
lea esi, [esi - 1]
lea ebx, [ebp - 0x810]
jae 0x418f35
push 1
push dword [ebp - 0x1414]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x418eaf
push 0
push dword [0x448054]
jmp 0x418f89
mov dword [ebx], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x418f46