Function at 0x43c0a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43c0c0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x20], cx
add ecx, 2
mov word [esp + 0x22], cx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0x48494e4f
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43c13e
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xa4188a8a
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x3a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x43c110
mov esi, dword [esp + 0x10]
mov eax, dword [0x449c38]
test eax, eax
je 0x43c19e
xor ecx, ecx
mov edx, dword [0x449c3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x36e97270
je 0x43c170
inc ecx
cmp eax, ecx
jne 0x43c160
jmp 0x43c19e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c19e
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x449c40]
push eax
call fcn.00438170
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43c2f8
push dword [esp + 8]
call fcn.00436240
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x48494e4f
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x43c220
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0xa4188a8a
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x3a
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x43c1f0
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449c38]
test ecx, ecx
je 0x43c255
xor edx, edx
mov edi, dword [0x449c3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x36e97270
je 0x43c302
inc edx
cmp ecx, edx
jne 0x43c240
mov edi, dword [ebp + 0x14]
mov edx, dword [esp + 4]
test esi, esi
js 0x43c2ef
test ebx, ebx
je 0x43c26a
mov eax, dword [edx + 4]
mov dword [ebx], eax
cmp dword [ebp + 0x18], 0
je 0x43c2ef
test edi, edi
je 0x43c2e3
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 8]
cmp edx, eax
jb 0x43c286
mov edx, eax
mov dword [esp + 0x2c], edx
lea eax, [ecx + 0xc]
mov ecx, edx
shr ecx, 2
mov ebx, edi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
add ebx, eax
mov ecx, dword [esp + 4]
lea edi, [ecx + eax]
add edi, 0xc
mov eax, edx
and eax, 3
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov edi, ebx
mov edx, dword [esp + 0x30]
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edx, dword [esp + 0x2c]
test dl, 1
je 0x43c2e3
xor eax, 1
and eax, edx
and edx, 2
mov edi, dword [esp + 0x28]
movzx eax, byte [edi + eax]
mov byte [ebx + edx], al
mov edx, dword [esp + 4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push edx
call fcn.00436350
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, dword [ebp + 0x14]
mov edx, dword [esp + 4]
je 0x43c259
lea edx, [esp + 8]
lea esi, [esp + 0x20]
push edx
push eax
push dword [esp + 0xc]
push 2
push esi
push dword [ebp + 8]
push 6
push dword [0x449c40]
push ecx
call fcn.00438170
mov edx, dword [esp + 0x28]
add esp, 0x24
mov esi, eax
jmp 0x43c259