Function at 0x43f930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x43f952
cmp eax, 2
je 0x43f9cb
jmp 0x43fae7
push 0xf8eb88df
push dword [0x450c5c]
call fcn.00443fe0
add esp, 8
test eax, eax
je 0x43f98f
mov ecx, dword [esi]
test ecx, ecx
je 0x43f9bf
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43f99b
cmp dword [esp], 0
je 0x43f99b
mov dword [esi + 4], 3
jmp 0x43f9bf
mov dword [esi + 4], 1
jmp 0x43fae7
lea eax, [esp + 0x48]
push eax
call fcn.00444810
add esp, 4
test al, al
je 0x43f9bf
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x43f9bc
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43fae7
mov edi, dword [ebp + 0xc]
mov dword [esp], 0xaa87b59a
mov dword [esp + 4], 0x89ababb9
mov dword [esp + 8], 0xa2a2afb9
mov dword [esp + 0xc], 0xb68fa9bd
mov dword [esp + 0x10], 0x9e98aaad
mov byte [esp + 0x14], 0x64
mov dword [esp + 0x15], 0
mov dword [esp + 0x18], 0
mov eax, 0x93efbe8e
nop
movzx edx, byte [esp + eax + 0x6c104172]
xor edx, eax
mov ecx, edx
and ecx, 0x39
add ecx, ecx
xor edx, 0xc6
sub ecx, edx
mov byte [esp + eax + 0x6c104172], cl
inc eax
cmp eax, 0x93efbeaa
jne 0x43fa10
mov ebx, esp
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00443510
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x48]
push 6
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.004435e0
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x43fb80
mov ebx, dword [esi]
mov dword [esp], 0x7c7d7e7f
mov byte [esp + 4], 0
mov eax, 0x99e8fc40
mov edx, 0xbf
nop
movzx ecx, byte [esp + eax + 0x661703c0]
mov esi, ecx
not esi
mov edi, eax
and edi, esi
or esi, edx
add ecx, esi
inc ecx
or ecx, edi
add ecx, 0xfe7312bf
mov esi, ecx
and esi, 1
xor ecx, 1
lea ecx, [ecx + esi*2]
mov byte [esp + eax + 0x661703c0], cl
inc eax
dec edx
cmp eax, 0x99e8fc45
jne 0x43fb00
mov eax, dword [esp]
mov ecx, dword [0x450c68]
test ecx, ecx
je 0x43fb5e
xor edx, edx
mov esi, dword [0x450c6c]
nop
nop
nop
cmp dword [esi + edx*8], 0x7b3afdab
je 0x43fb8a
inc edx
cmp ecx, edx
jne 0x43fb50
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x3c], ebx
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43fb5e
mov eax, esp
push 0
push 0x1c
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push dword [0x450c70]
push ecx
call fcn.00441a90
add esp, 0x24
mov ebx, dword [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x43fb5e