Function at 0x41bc50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4996de
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x4c146c]
test eax, eax
je 0x41bf1e
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x14], 0
call dword [ecx + 0x10]
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.TrezorWActive
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
call fcn.0040e0a0
cmp dword [ebp - 0x20], 0xf
lea esi, [ebp - 0x34]
mov edi, dword [ebp - 0x34]
mov edx, 0x811c9dc5
cmova esi, edi
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
jbe 0x41bd02
nop dword [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x24]
jb 0x41bcf0
push edx
lea eax, [ebp - 0x34]
mov ecx, 0x4c144c
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00442930
mov edx, dword [0x4c1450]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x4c1450]
je 0x41bd33
mov al, byte [edx + 0x20]
mov byte [ebp - 0x15], al
jmp 0x41bd37
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0xf
jbe 0x41bd6a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x41bd60
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf39
push ecx
push edi
call fcn.0046dfdf
add esp, 8
cmp byte [ebp - 0x15], 0
je 0x41bf10
cmp dword [ebp - 0x14], 0
je 0x41be00
mov ecx, dword [0x4bcc38]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 8
jb 0x41bf3e
cmp dword [0x4bcc3c], 7
mov eax, 0x4bcc28
push ecx
cmova eax, dword [0x4bcc28]
push eax
push 8
push 0x4a8ec8
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x54]
call fcn.0043d610
mov byte [ebp - 4], 1
lea edx, [ebp - 0x54]
push str._finished_ledger.html
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], 5
call fcn.00434f60
mov ecx, eax
add esp, 4
mov eax, 7
mov dword [ebp - 0x1c], eax
cmp dword [ecx + 0x14], eax
jbe 0x41bdeb
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x14]
call fcn.0046f1f2
add esp, 8
mov byte [ebp - 0x15], 1
cmp eax, dword [ebp - 0x14]
je 0x41be04
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x1c]
test al, 2
je 0x41be62
mov ecx, dword [ebp - 0x20]
and eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp ecx, 7
jbe 0x41be4e
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41be41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf43
push ecx
push edx
call fcn.0046dfdf
mov eax, dword [ebp - 0x1c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
mov dword [ebp - 4], 0
test al, 1
je 0x41bea7
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x41bea7
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41be9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf43
push ecx
push edx
call fcn.0046dfdf
add esp, 8
cmp byte [ebp - 0x15], 0
je 0x41bf10
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.Trezor
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
call fcn.0040e0a0
push 1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
call fcn.0040aeb0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x41bf10
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41bf06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf48
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41bf1e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
call fcn.0047bff9
call fcn.004028c0
call fcn.0047bff9
call fcn.0047bff9
int3