Function at 0x437170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x437200
mov edx, dword [ecx]
test edx, edx
je 0x437200
mov dword [esp + 4], 0x8c8d8a8b
mov dword [esp + 8], 0
mov eax, 0x5cd18762
nop
nop
nop
movzx esi, byte [esp + eax - 0x5cd1875e]
lea edi, [eax - 0x5cd18700]
and edi, esi
or esi, eax
xor esi, edi
mov edi, esi
and edi, 0x15
xor esi, 0x15
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + eax - 0x5cd1875e], bl
inc eax
cmp eax, 0x5cd1876a
jne 0x4371a0
mov eax, dword [esp + 4]
mov ebx, dword [0x44a4ac]
test ebx, ebx
je 0x437260
xor edi, edi
mov esi, dword [0x44a4b0]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0x2dedf0b8
je 0x43723f
inc edi
cmp ebx, edi
jne 0x4371f0
jmp 0x437260
mov dword [esp + 4], 0x83424148
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xf0
xor cl, byte [esp + eax + 4]
add cl, 0x50
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 7
jne 0x437220
mov eax, dword [esp + 4]
jmp 0x4373fa
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
je 0x437260
push dword [ebp + 8]
push edx
push 8
push esi
push dword [0x44a4b4]
mov esi, ecx
call fcn.00439880
mov ecx, esi
add esp, 0x14
mov edi, dword [ebp + 0xc]
cmp edi, 1
mov esi, dword [ebp + 0x10]
mov edx, esi
sbb edx, 0
jl 0x437345
cmp eax, 0xc000010a
jne 0x437345
mov edx, 0xffffd8f0
mov eax, edi
mul edx
sub edx, edi
imul esi, esi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0x8c8d8a8b
mov dword [esp + 8], 0
mov eax, 0x5cd18762
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x5cd1875e]
lea edi, [eax - 0x5cd18700]
and edi, esi
or esi, eax
xor esi, edi
mov edi, esi
and edi, 0x15
xor esi, 0x15
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + eax - 0x5cd1875e], bl
inc eax
cmp eax, 0x5cd1876a
jne 0x4372c0
mov eax, dword [esp + 4]
mov esi, dword [0x44a4ac]
test esi, esi
je 0x437345
xor edi, edi
mov ebx, dword [0x44a4b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x4e66b5a3
je 0x437320
inc edi
cmp esi, edi
jne 0x437310
jmp 0x437345
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x437345
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 0xc
push esi
push dword [0x44a4b4]
mov esi, ecx
call fcn.00439880
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x4373fa
mov edx, dword [ecx]
test edx, edx
je 0x4373fa
mov dword [esp + 4], 0x8c8d8a8b
mov dword [esp + 8], 0
mov esi, 0x5cd18762
nop
nop
nop
nop
movzx edi, byte [esp + esi - 0x5cd1875e]
lea ebx, [esi - 0x5cd18700]
and ebx, edi
or edi, esi
xor edi, ebx
mov ebx, edi
and ebx, 0x15
xor edi, 0x15
lea ebx, [edi + ebx*2]
inc bl
mov byte [esp + esi - 0x5cd1875e], bl
inc esi
cmp esi, 0x5cd1876a
jne 0x437370
mov esi, dword [0x44a4ac]
test esi, esi
je 0x4373f4
mov edi, dword [esp + 4]
mov dword [esp + 0xc], edi
xor ebx, ebx
mov edi, dword [0x44a4b0]
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0xb62b8d10
je 0x4373d0
inc ebx
cmp esi, ebx
jne 0x4373c0
jmp 0x4373f4
mov esi, dword [edi + ebx*8 + 4]
cmp esi, dword [esp + 0xc]
je 0x4373f4
push edx
push 4
push esi
push dword [0x44a4b4]
mov esi, ecx
mov edi, eax
call fcn.00439880
mov eax, edi
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc