Function at 0x50dd60
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
movzx eax, cl
xor eax, 0x811c9dc5
mov dword [ebp - 4], ecx
imul edx, eax, 0x1000193
mov eax, ecx
sar eax, 8
movzx eax, al
push esi
mov dword [ebp - 0xc], ebx
xor edx, eax
mov eax, dword [ebp - 4]
sar eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, dword [ebp - 4]
imul ecx, ecx, 0x1000193
sar eax, 0x18
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x7c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004301e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x50ddd1
mov eax, dword [ebx + 0x80]
mov esi, dword [ebx + 0x80]
cmp eax, esi
je 0x50e298
cmp dword [ebp + 0xc], 0
jne 0x50de6e
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x94]
and edx, ecx
mov ecx, dword [ebx + 0x88]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x50de48
cmp ecx, eax
jne 0x50de40
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x50de50
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
jmp 0x50de50
cmp ecx, eax
jne 0x50de50
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [ebx + 0x84]
mov ecx, dword [eax + 4]
push 0xc
push eax
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.005ab85c
add esp, 8
mov eax, dword [ebx + 0x58]
push edi
mov esi, dword [eax]
cmp esi, eax
je 0x50df8d
nop dword [eax]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp edi, eax
je 0x50ded6
lea ebx, [edi + 4]
nop dword [eax]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
cmp dword [ecx + 4], edx
mov edx, dword [ebp + 0xc]
jne 0x50dec9
test edx, edx
je 0x50dea6
cmp dword [ecx + 8], edx
jne 0x50dec9
test ecx, ecx
je 0x50deb0
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x24]
sub eax, ebx
push eax
push ebx
push edi
call fcn.005c3580
add esp, 0xc
add dword [esi + 0x24], 0xfffffffc
mov eax, dword [esi + 0x24]
jmp 0x50decf
add edi, 4
add ebx, 4
cmp edi, eax
jne 0x50de90
mov ebx, dword [ebp - 0xc]
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x50df82
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov edi, esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
jbe 0x50def8
mov edx, dword [edx]
xor ecx, ecx
mov eax, 0x811c9dc5
cmp dword [ebp - 8], ecx
jbe 0x50df2d
mov edi, dword [ebp - 8]
mov ebx, eax
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x50df10
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
and ecx, eax
mov eax, dword [ebx + 0x60]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x50df55
cmp eax, esi
jne 0x50df4d
mov eax, dword [ebx + 0x58]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x50df5d
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x50df5d
cmp eax, esi
jne 0x50df5d
mov eax, dword [esi]
mov dword [ecx], eax
mov esi, dword [edi]
lea ecx, [edi + 8]
dec dword [ebx + 0x5c]
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
call fcn.00510430
push 0x2c
push edi
call fcn.005ab85c
add esp, 8
jmp 0x50df84
mov esi, dword [esi]
cmp esi, dword [ebx + 0x58]
jne 0x50de80
mov esi, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
cmp esi, edx
je 0x50e15e
lea edi, [esi + 4]
mov dword [ebp - 0xc], edi
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
cmp dword [eax + 4], ecx
jne 0x50e14d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x50dfdd
cmp dword [eax + 8], ecx
jne 0x50e14d
mov edi, dword [eax + 0x70]
test edi, edi
je 0x50e0cb
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 8]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x74]
xor eax, dword [ebp - 0x14]
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004301e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x50e036
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x78]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x50e0f8
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x8c]
and edx, ecx
mov ecx, dword [edi + 0x80]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x50e0a6
cmp ecx, eax
jne 0x50e09e
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov dword [edx + 4], ecx
jmp 0x50e0ae
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x50e0ae
cmp ecx, eax
jne 0x50e0ae
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [edi + 0x7c]
mov ecx, dword [eax + 4]
push 0xc
push eax
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.005ab85c
add esp, 8
jmp 0x50e0f8
cmp dword [eax + 0x68], 0
je 0x50e0fb
push eax
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
call fcn.005aedc0
mov edx, dword [ebx + 0x4c]
cmp eax, edx
je 0x50e0f8
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.005c3580
add esp, 0xc
add dword [ebx + 0x4c], 0xfffffffc
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x78]
lea ecx, [eax + 0x74]
mov eax, dword [edi]
cmp eax, edi
je 0x50e120
nop word [eax + eax]
mov edx, dword [eax + 8]
mov dword [edx + 0x70], 0
mov eax, dword [eax]
cmp eax, edi
jne 0x50e110
call fcn.004f6770
mov ecx, dword [esi]
test ecx, ecx
je 0x50e131
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0x40]
mov edi, dword [ebp - 0xc]
sub eax, edi
push eax
push edi
push esi
call fcn.005c3580
add esp, 0xc
add dword [ebx + 0x40], 0xfffffffc
mov edx, dword [ebx + 0x40]
jmp 0x50e156
add esi, 4
add edi, 4
mov dword [ebp - 0xc], edi
cmp esi, edx
jne 0x50dfa1
xor eax, eax
xor edx, edx
mov dword [ebp - 0xc], eax
xor edi, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x24], edi
mov dword [ebp + 8], edx
mov dword [ebp - 0x20], edx
mov esi, dword [eax]
cmp esi, eax
je 0x50e1f5
nop dword [eax]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x50e1e6
mov eax, dword [ebp - 4]
cmp dword [ecx + 4], eax
jne 0x50e1e6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x50e19e
cmp dword [ecx + 8], eax
jne 0x50e1e6
cmp edi, edx
je 0x50e1ac
mov dword [edi], ecx
add edi, 4
mov dword [ebp - 0x24], edi
jmp 0x50e1bf
lea eax, [ebp - 0x18]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0042c120
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
mov edi, dword [esi]
push 0xc
push esi
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x78]
call fcn.005ab85c
mov edx, dword [ebp + 8]
mov esi, edi
mov edi, dword [ebp - 0x24]
add esp, 8
jmp 0x50e1e8
mov esi, dword [esi]
cmp esi, dword [ebx + 0x74]
jne 0x50e180
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xc], edx
jmp 0x50e1f7
xor edx, edx
mov esi, edx
cmp esi, edi
je 0x50e267
lea ecx, [ebx + 0x9c]
mov edx, dword [esi]
mov dword [ebp + 0xc], ecx
test byte [edx + 0x28], 8
je 0x50e232
mov eax, dword [ebx]
test dword [eax + 0xd0], 0xc000000
jne 0x50e232
mov ecx, dword [ecx]
push 0
push 0
push 3
push dword [edx + 0x30]
mov eax, dword [ecx]
push dword [edx + 0x24]
call dword [eax + 0x18]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x50e245
mov ecx, dword [ecx]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x50e24e
lea eax, [ebx + 0x9c]
mov dword [ebp + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x50e25a
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0xc]
add esi, 4
cmp esi, edi
jne 0x50e203
mov edx, dword [ebp - 0xc]
pop edi
test edx, edx
je 0x50e298
mov ecx, dword [ebp + 8]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x50e28e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50e2a0
push ecx
push edx
call fcn.005ab85c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.005c695f
int3