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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x56600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x56972c]
cmp esi, 1
ja 0x43227f
push 0x56972c
call fcn.004318f0
add esp, 4
test al, al
je 0x432279
mov ecx, 0x569730
mov esi, 0x569730
call fcn.00412a00
push 0x56972c
push 0
push 0x569730
push 0x56972c
call fcn.004319a0
add esp, 0x10
jmp 0x43227f
mov esi, dword [0x56972c]
mov ecx, esi
call fcn.004314b0
mov eax, dword [0x56972c]
cmp eax, 1
ja 0x4322cb
push 0x56972c
call fcn.004318f0
add esp, 4
test al, al
je 0x4322c6
mov ecx, 0x569730
call fcn.00412a00
push 0x56972c
push 0
push 0x569730
push 0x56972c
call fcn.004319a0
add esp, 0x10
jmp 0x4322cb
mov eax, dword [0x56972c]
mov ebx, dword [0x569734]
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x4322ef
push 0x74
call fcn.00478358
add esp, 4
mov ecx, eax
call fcn.00432000
mov ebx, dword [0x569734]
mov edi, dword [edi + 4]
mov dword [ebp - 0x3c], esi
test edi, edi
mov dword [ebp - 0x30], edi
je 0x432307
push edi
call fcn.004dd150
add esp, 4
jmp 0x432309
xor eax, eax
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov ecx, ebx
lea eax, [ebp - 0x30]
mov ebx, edx
push eax
push edx
call fcn.00433070
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x43234a
mov edi, dword [ebp + 8]
cmp esi, edi
je 0x4324a6
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, esi
jmp 0x4324af
mov ecx, dword [ebp + 8]
mov esi, ebx
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [0x569734]
mov dword [ebp - 0x34], eax
push edi
call fcn.004dd150
add esp, 4
mov ebx, eax
cmp eax, 0xf
jbe 0x432397
sub esp, 0xc
mov al, byte [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
call fcn.00402c5c
jmp 0x4323aa
mov dword [ebp - 0x18], ebx
push ebx
push edi
push esi
call fcn.004d40e0
add esp, 0xc
mov byte [ebp + ebx - 0x28], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
cmp ecx, 0xf
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
cmova esi, eax
test ebx, ebx
mov eax, 0x811c9dc5
mov dword [ebp - 0x44], esi
je 0x4323df
mov ecx, esi
mov edx, ebx
nop
movzx esi, byte [ecx]
inc ecx
xor esi, eax
imul eax, esi, 0x1000193
dec edx
jne 0x4323d0
mov ecx, dword [ebp - 0x34]
and eax, dword [ecx + 0x38]
mov esi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x2c]
mov edi, dword [ecx + eax*8]
cmp esi, edi
je 0x432448
add eax, eax
mov dword [ebp - 0x34], esi
shl eax, 2
or eax, 4
mov esi, dword [ecx + eax]
cmp dword [edi + 0x18], ebx
jne 0x432434
nop word cs:[eax + eax]
nop
cmp dword [edi + 0x1c], 0xf
jbe 0x432420
mov eax, dword [edi + 8]
jmp 0x432423
lea eax, [edi + 8]
push ebx
push dword [ebp - 0x44]
push eax
call fcn.004d4cbb
add esp, 0xc
test eax, eax
je 0x432446
cmp edi, esi
je 0x432441
mov edi, dword [edi]
cmp dword [edi + 0x18], ebx
je 0x432410
jmp 0x432434
mov esi, dword [ebp - 0x34]
jmp 0x432448
mov esi, edi
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp + 8]
cmp edx, 0x10
jb 0x432482
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x432475
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x4324c3
add edx, 0x24
mov ecx, edx
jmp 0x432478
mov eax, dword [ebp - 0x38]
push ecx
push eax
call fcn.0047834a
add esp, 8
mov eax, dword [0x569734]
cmp esi, dword [eax + 0x24]
je 0x4324a6
cmp dword [esi + 0x20], 0
je 0x43249d
mov ecx, edi
push 0x20
call fcn.0041ee60
jmp 0x4324a6
mov ecx, edi
push 0x20
call fcn.0041ee70
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478339
mov eax, edi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004d7bfa
int3