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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
jbe 0x10072654
mov ebx, dword [ebx]
test edi, edi
mov dword [ebp - 0x20], edx
mov esi, 0x811c9dc5
je 0x10072673
xor eax, eax
movzx ecx, byte [ebx + eax]
xor ecx, esi
imul esi, ecx, 0x1000193
inc eax
cmp edi, eax
jne 0x10072662
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x1c]
and esi, dword [eax + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + esi*8]
add esi, esi
mov ebx, edx
mov dword [ebp - 0x24], edx
cmp ecx, edx
mov edx, eax
je 0x100726a1
lea eax, [esi*4]
or eax, 4
mov eax, dword [edx + eax]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], edx
cmp ebx, ecx
mov dword [ebp - 0x28], ecx
je 0x100726dd
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 0x18]
jne 0x100726d9
cmp dword [ebx + 0x1c], 0xf
jbe 0x100726be
mov eax, dword [ebx + 8]
jmp 0x100726c1
lea eax, [ebx + 8]
push edi
push eax
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov ecx, dword [ebp - 0x28]
je 0x1007275f
cmp ebx, ecx
jne 0x100726ab
mov ebx, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [ebx]
cmp ecx, eax
mov edi, dword [ebp - 0x1c]
mov ebx, ecx
mov ecx, dword [ebp - 0x2c]
je 0x10072720
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + esi*4]
cmp eax, dword [ebp - 0x24]
je 0x1007274e
cmp eax, dword [ebp - 0x28]
je 0x100727b2
or esi, 1
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
mov dword [ecx + esi*4], eax
cmp eax, edx
je 0x100727b5
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 4]
mov dword [eax + esi*4], ecx
jmp 0x100727b5
mov dword [ecx + esi*4], edx
shl esi, 2
mov eax, dword [edi + 0xc]
or esi, 4
mov dword [eax + esi], edx
jmp 0x100727b5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x1c]
dec dword [eax + 8]
mov ecx, dword [edx + 0x1c]
cmp ecx, 0x10
jb 0x1007279c
mov eax, dword [edx + 8]
inc ecx
cmp ecx, 0x1000
jae 0x100728ad
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov esi, dword [ebp - 0x20]
mov dword [esi], ebx
xor eax, eax
jmp 0x10072891
mov dword [ecx + esi*4], edx
movss xmm0, dword [edi + 8]
movsd xmm1, qword [0x102b40e0]
orpd xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss xmm2, dword [edi + 0x1c]
orpd xmm2, xmm1
subsd xmm2, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
divss xmm0, xmm1
ucomiss xmm0, dword [edi]
jbe 0x10072887
mov edx, edi
mov edi, dword [edi + 0x1c]
xor eax, eax
cmp edi, 0x1fffffff
setb al
cmp edi, 0x200
mov ecx, 3
cmovae ecx, eax
shl edi, cl
lea ecx, [edx + 0xc]
lea ebx, [edi + edi]
mov eax, dword [edx + 0x14]
sub eax, dword [edx + 0xc]
sar eax, 2
cmp eax, ebx
jae 0x10072835
cmp ebx, 0x40000000
jae 0x100728a8
mov esi, ecx
mov edx, ebx
call fcn.100328d0
mov ecx, esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x18]
mov dword [edx], eax
mov eax, edx
mov edx, ebx
push eax
call fcn.10032740
add esp, 4
lea eax, [edi - 1]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 4]
mov ebx, dword [eax]
cmp ebx, eax
je 0x10072887
mov edi, dword [eax + 4]
lea eax, [ebx + 8]
lea edx, [ebp - 0x18]
mov ecx, esi
push ebx
push eax
call fcn.10072630
add esp, 8
cmp ebx, edi
je 0x10072887
mov eax, dword [esi + 4]
mov ebx, dword [eax]
lea eax, [ebx + 8]
mov ecx, esi
lea edx, [ebp - 0x18]
jmp 0x1007286a
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov al, 1
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1021e470
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10005d40
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100728c1
mov eax, ecx
jmp 0x1007278f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3