Function at 0x53db0e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 4], edx
mov dword [esp], ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
lea ebx, [edi + 0x98]
test eax, eax
je 0x53de25
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x53de25
cmp eax, 0x21
jae 0x53db58
mov dword [edi + 0x190], 0x1b
mov eax, 0x1b
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x53db72
add eax, 0xfffffffc
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, ebx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.0053da69
mov ecx, ebx
call fcn.0053d958
mov ecx, ebx
call fcn.0053d8f1
mov ecx, ebx
call fcn.0053d8b3
mov ecx, ebx
call fcn.0053ec5f
cmp byte [esi], 0x89
jne 0x53de0f
cmp byte [esi + 1], 0x50
jne 0x53de0f
cmp byte [esi + 2], 0x4e
jne 0x53de0f
cmp byte [esi + 3], 0x47
jne 0x53de0f
cmp byte [esi + 4], 0xd
jne 0x53de0f
cmp byte [esi + 5], 0xa
jne 0x53de0f
cmp byte [esi + 6], 0x1a
jne 0x53de0f
cmp byte [esi + 7], 0xa
jne 0x53de0f
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
cmp ecx, 0xd
je 0x53dc2c
mov dword [edi + 0x190], 0x5e
mov eax, 0x5e
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, 0x5c4164
inc eax
cmp byte [eax], 0
jne 0x53dc31
sub eax, 0x5c4164
push ebp
cmp eax, 4
jne 0x53ddf8
cmp byte [esi + 0xc], 0x49
jne 0x53ddf8
cmp byte [esi + 0xd], 0x48
jne 0x53ddf8
cmp byte [esi + 0xe], 0x44
jne 0x53ddf8
cmp byte [esi + 0xf], 0x52
jne 0x53ddf8
movzx edx, byte [esi + 0x10]
movzx eax, byte [esi + 0x11]
movzx ecx, byte [esi + 0x14]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [esi + 0x12]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x13]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x15]
or ecx, eax
movzx eax, byte [esi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x17]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x53dcb6
mov dword [eax], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x53dcc0
mov dword [eax], ecx
movzx eax, byte [esi + 0x18]
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x10], eax
movzx eax, byte [esi + 0x19]
mov dword [esp + 0x24], eax
mov dword [ebx + 0xc], eax
movzx eax, byte [esi + 0x1a]
mov dword [esp + 0x14], eax
mov dword [ebx], eax
movzx eax, byte [esi + 0x1b]
mov dword [ebx + 4], eax
movzx eax, byte [esi + 0x1c]
mov dword [ebx + 8], eax
test edx, edx
je 0x53dde1
test ecx, ecx
je 0x53dde1
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
call fcn.0053d843
mov dword [esp + 0x1c], eax
mov dword [edi + 0x190], eax
test eax, eax
jne 0x53dd2e
cmp dword [esp + 0x14], eax
je 0x53dd36
mov dword [edi + 0x190], 0x20
mov eax, 0x20
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [ebx + 4], 0
je 0x53dd53
pop ebp
mov dword [edi + 0x190], 0x21
mov eax, 0x21
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [ebx + 8], 1
jbe 0x53dd70
pop ebp
mov dword [edi + 0x190], 0x22
mov eax, 0x22
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], 0
jne 0x53dd2e
movzx ebx, byte [esi + 0x1d]
or ecx, 0xffffffff
movzx eax, byte [esi + 0x1e]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0x1f]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0x20]
shl ebx, 8
or ebx, eax
xor edx, edx
lea esp, [esp]
movzx eax, byte [edx + esi + 0xc]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c1a48]
cmp edx, 0x11
jb 0x53dd9e
not ecx
cmp ebx, ecx
je 0x53ddd5
pop ebp
mov dword [edi + 0x190], 0x39
mov eax, 0x39
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
pop ebp
mov dword [edi + 0x190], 0x5d
mov eax, 0x5d
pop edi
pop esi
pop ebx
add esp, 8
ret
pop ebp
mov dword [edi + 0x190], 0x1d
mov eax, 0x1d
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [edi + 0x190], 0x1c
mov eax, 0x1c
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [edi + 0x190], 0x30
mov eax, 0x30
pop edi
pop esi
pop ebx
add esp, 8
ret