Function at 0x43fd60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0x7c7d7e7f
mov byte [esp + 0x10], 0
mov eax, 0x99e8fc40
mov ecx, 0xbf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x661703cc]
mov esi, edx
not esi
mov edi, eax
and edi, esi
or esi, ecx
add edx, esi
inc edx
or edx, edi
add edx, 0xfe7312bf
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + eax + 0x661703cc], dl
inc eax
dec ecx
cmp eax, 0x99e8fc45
jne 0x43fdc0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x450c68]
test ecx, ecx
je 0x43fe4e
xor edx, edx
mov esi, dword [0x450c6c]
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x43fe20
inc edx
cmp ecx, edx
jne 0x43fe10
jmp 0x43fe4e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43fe4e
lea eax, [esp + 0x28]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x450c70]
push ecx
call fcn.00441a90
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x20]
js 0x4404b2
cmp dword [esi + 4], 0
je 0x440440
xor edx, edx
cmp dword [esi + 4], 2
mov dword [esp + 0x50], 0x7fff
je 0x43fe7c
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0xfffeffff
je 0x43fe8e
mov dword [esp + 0x4c], SysStringLen
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov ebx, 0x10000
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
jmp 0x43ff06
mov ecx, dword [esp]
mov dword [esp], ecx
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
adc edx, dword [esp + 0x44]
cmp ebx, dword [esp + 0x4c]
mov eax, edx
sbb eax, dword [esp + 0x50]
jae 0x4403b4
mov dword [esp + 0x30], edx
mov ecx, esi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
push edx
push ebx
call fcn.0043f930
mov edx, dword [esp + 0x30]
cmp eax, 0xbfffffff
ja 0x4403b4
mov dword [esp + 0x24], ebx
test eax, eax
js 0x43fee6
cmp dword [esp + 0x5c], 0x1000
jne 0x43fee6
test byte [esp + 0x58], 0x66
je 0x43fee6
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x3c]
mov eax, 0
mov dword [esp + 0x2c], ecx
sbb eax, ecx
mov edi, dword [esp + 0x24]
jae 0x4400fe
mov dword [esp + 0xc], 0x7c7d7e7f
mov byte [esp + 0x10], 0
mov eax, 0x99e8fc40
mov ecx, 0xbf
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x661703cc]
mov edi, edx
not edi
mov esi, eax
and esi, edi
or edi, ecx
add edx, edi
inc edx
or edx, esi
add edx, 0xfe7312bf
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + eax + 0x661703cc], dl
inc eax
dec ecx
cmp eax, 0x99e8fc45
jne 0x43ff90
mov eax, dword [0x450c68]
test eax, eax
je 0x44001a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov edi, dword [0x450c6c]
nop
nop
nop
cmp dword [edi + edx*8], 0x731cdbf3
je 0x43fff0
inc edx
cmp eax, edx
jne 0x43ffe0
jmp 0x44001a
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x44001a
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x450c70]
push eax
call fcn.00441a90
add esp, 0x1c
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], 0x7c7d7e7f
mov byte [esp + 0x10], 0
mov eax, 0x99e8fc40
mov ecx, 0xbf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x661703cc]
mov esi, edx
not esi
mov edi, eax
and edi, esi
or esi, ecx
add edx, esi
inc edx
or edx, edi
add edx, 0xfe7312bf
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + eax + 0x661703cc], dl
inc eax
dec ecx
cmp eax, 0x99e8fc45
jne 0x440050
mov eax, dword [esp + 0xc]
mov ecx, dword [0x450c68]
test ecx, ecx
mov esi, dword [esp + 0x20]
je 0x4400ee
xor edx, edx
mov edi, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xf3285e74
je 0x4400c0
inc edx
cmp ecx, edx
jne 0x4400b0
jmp 0x4400ee
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4400ee
push 4
push 0x3000
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push dword [0x450c70]
push ecx
call fcn.00441a90
add esp, 0x24
test eax, eax
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
js 0x4403b4
mov ecx, esi
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x30]
push ebx
push dword [esp + 0x24]
push edx
push edi
call fcn.0043fbd0
test eax, eax
jns 0x440124
cmp eax, 0x8000000d
jne 0x43fee0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x43fee0
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.00440500
add esp, 0x18
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
cmp eax, ecx
mov ebx, dword [esp + 8]
mov edi, dword [esp + 4]
je 0x440383
mov dword [esp + 0x60], eax
mov esi, eax
mov ecx, dword [esp + 0x24]
jmp 0x4401c8
push dword [esp + 8]
call fcn.0040c5a0
add esp, 4
mov edx, dword [esp + 0x48]
mov eax, dword [esp]
lea eax, [edx + eax*8]
mov dword [esp], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
add edi, eax
mov ebx, edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [ebx + eax], edx
mov edx, eax
mov eax, dword [esp + 0x64]
mov dword [ebx + edx + 4], eax
add edi, 8
add esi, 4
cmp esi, dword [esp + 0x54]
je 0x440341
mov edx, dword [esi]
sub edx, dword [esp + 0x18]
mov eax, edx
sar eax, 0x1f
add edx, ecx
mov dword [esp + 0x2c], edx
adc eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov eax, edi
sub eax, ebx
cmp edi, dword [esp]
jne 0x4401a7
mov dword [esp + 0x1c], eax
mov ecx, eax
sar ecx, 3
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
add edx, ecx
cmp edx, eax
ja 0x440202
mov edx, eax
mov dword [esp], edx
lea eax, [edx*8]
push eax
call fcn.0040c590
add esp, 4
mov edx, eax
test ebx, ebx
je 0x440190
cmp edx, ebx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
jbe 0x4402f2
cmp edi, edx
jbe 0x4402f2
test eax, eax
je 0x440180
mov dword [esp + 4], edi
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + edx]
dec eax
mov ecx, dword [esp + 0x48]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x440288
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x440270
add eax, edx
add ecx, edx
add edx, dword [esp + 0x1c]
mov ebx, dword [esp + 8]
mov edi, ebx
sub edi, dword [esp + 4]
cmp edi, 0xfffffff8
ja 0x440180
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x4402a0
jmp 0x440180
mov ecx, eax
shr ecx, 2
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov ecx, dword [esp + 0x1c]
mov edx, ecx
and edx, 0xfffffffc
lea edi, [eax + edx]
add edx, ebx
mov ebx, ecx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 4], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x440180
mov eax, dword [esp + 0x1c]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 4]
mov byte [edx + eax], cl
jmp 0x440180
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esp]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4403a3
cmp eax, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
je 0x440396
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
push eax
mov edi, ecx
call fcn.0040c5a0
mov ecx, edi
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x43fee3
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esp]
mov dword [eax + 8], ecx
jmp 0x43fee3
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
jmp 0x43fee3
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x20]
jmp 0x43fee3
mov dword [esp + 0xc], 0x7c7d7e7f
mov byte [esp + 0x10], 0
mov eax, 0x99e8fc40
mov ecx, 0xbf
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x661703cc]
mov esi, edx
not esi
mov edi, eax
and edi, esi
or esi, ecx
add edx, esi
inc edx
or edx, edi
add edx, 0xfe7312bf
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + eax + 0x661703cc], dl
inc eax
dec ecx
cmp eax, 0x99e8fc45
jne 0x4403d0
mov eax, dword [0x450c68]
test eax, eax
je 0x4404b2
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x440488
inc edx
cmp eax, edx
jne 0x440430
jmp 0x4404b2
push 0xf8eb88df
push dword [0x450c5c]
call fcn.00443fe0
add esp, 8
test eax, eax
je 0x4404bf
mov ecx, dword [esi]
test ecx, ecx
je 0x43fe64
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push edx
push ecx
call eax
test eax, eax
je 0x4404cb
cmp dword [esp + 0xc], 0
je 0x4404cb
mov dword [esi + 4], 3
jmp 0x43fe64
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4404b2
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x450c70]
push eax
call fcn.00441a90
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esi + 4], 1
jmp 0x43fe64
lea eax, [esp + 0x40]
push eax
call fcn.00444810
add esp, 4
test al, al
je 0x43fe64
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x4404f0
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x43fe64