Function at 0x43c130
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x74]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], 0xf8fbfa05
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x30]
lea edx, [eax + 0x63b0e7f]
and edx, ecx
add ecx, eax
add ecx, 0x63b0e7f
add edx, edx
sub ecx, edx
mov edx, ecx
xor edx, 0x34
and ecx, 0x4b
add ecx, ecx
sub ecx, edx
add cl, 0xb9
mov byte [esp + eax + 0x30], cl
mov ecx, eax
xor ecx, 0x380c0423
lea eax, [ecx + eax*2]
add eax, 0xc7f3fbde
cmp eax, 4
jb 0x43c180
mov eax, dword [esp + 0x30]
mov ecx, dword [0x44cff0]
test ecx, ecx
je 0x43c21e
xor edx, edx
mov esi, dword [0x44cff4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43c1f0
inc edx
cmp ecx, edx
jne 0x43c1e0
jmp 0x43c21e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43c21e
lea eax, [esp + 0x1c]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44cff8]
call fcn.0043def0
add esp, 0x24
test eax, eax
js 0x43c92a
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp], 0x292d2b24
mov eax, 0x38
mov ecx, 0xc7
nop
movzx ebx, byte [esp + ecx - 0xc7]
mov edx, ecx
or edx, ebx
or ebx, eax
sub dl, bl
movzx edx, dl
add edx, eax
add dl, 0x1d
mov byte [esp + ecx - 0xc7], dl
dec eax
inc ecx
cmp eax, 0x34
jne 0x43c270
mov eax, dword [esp]
mov dword [esp + 0x20], eax
cmp eax, 0x7ffffffe
ja 0x43c885
mov dword [esp + 0x18], 0
xor ebx, ebx
xor edi, edi
jmp 0x43c2e7
mov eax, dword [esp + 0x74]
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
cmp eax, 0x7fffffff
jae 0x43c885
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp], 0xf8fbfa05
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
lea ebx, [eax + 0x63b0e7f]
and ebx, edx
add edx, eax
add edx, 0x63b0e7f
add ebx, ebx
sub edx, ebx
mov ebx, edx
xor ebx, 0x34
and edx, 0x4b
add edx, edx
sub edx, ebx
add dl, 0xb9
mov byte [esp + eax], dl
mov edx, eax
xor edx, 0x380c0423
lea eax, [edx + eax*2]
add eax, 0xc7f3fbde
cmp eax, 4
jb 0x43c300
mov eax, dword [esp]
mov edx, dword [0x44cff0]
test edx, edx
je 0x43c3b0
xor ebx, ebx
mov ebp, dword [0x44cff4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xc18bc4ba
je 0x43c380
inc ebx
cmp edx, ebx
jne 0x43c360
jmp 0x43c3b0
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x43c3b0
push 0
push 0x1c
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x30]
push ecx
push 0x18
push edx
push dword [0x44cff8]
call fcn.0043def0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
mov ebx, dword [esp + 0x14]
ja 0x43c885
test eax, eax
js 0x43c2d0
cmp dword [esp + 0x40], 0x1000
jne 0x43c2d0
test byte [esp + 0x44], 0x66
je 0x43c2d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x43c56a
mov dword [esp], 0xf8fbfa05
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx]
lea ebx, [ecx + 0x63b0e7f]
and ebx, edx
add edx, ecx
add edx, 0x63b0e7f
add ebx, ebx
sub edx, ebx
mov ebx, edx
xor ebx, 0x34
and edx, 0x4b
add edx, edx
sub edx, ebx
add dl, 0xb9
mov byte [esp + ecx], dl
mov edx, ecx
xor edx, 0x380c0423
lea ecx, [edx + ecx*2]
add ecx, 0xc7f3fbde
cmp ecx, 4
jb 0x43c400
mov ecx, dword [0x44cff0]
test ecx, ecx
je 0x43c49f
mov edx, dword [esp]
xor ebx, ebx
mov ebp, dword [0x44cff4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x6dbc3610
je 0x43c471
inc ebx
cmp ecx, ebx
jne 0x43c460
jmp 0x43c49f
mov ecx, dword [ebp + ebx*8 + 4]
cmp ecx, edx
je 0x43c49f
push 0x8000
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x44cff8]
call fcn.0043def0
add esp, 0x1c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
mov dword [esp], 0xf8fbfa05
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
lea edx, [eax + 0x63b0e7f]
and edx, ecx
add ecx, eax
add ecx, 0x63b0e7f
add edx, edx
sub ecx, edx
mov edx, ecx
xor edx, 0x34
and ecx, 0x4b
add ecx, ecx
sub ecx, edx
add cl, 0xb9
mov byte [esp + eax], cl
mov ecx, eax
xor ecx, 0x380c0423
lea eax, [ecx + eax*2]
add eax, 0xc7f3fbde
cmp eax, 4
jb 0x43c4c0
mov eax, dword [esp]
mov ecx, dword [0x44cff0]
test ecx, ecx
je 0x43c55e
xor edx, edx
mov ebx, dword [0x44cff4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x98d5a07f
je 0x43c530
inc edx
cmp ecx, edx
jne 0x43c520
jmp 0x43c55e
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x43c55e
push 4
push 0x3000
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44cff8]
call fcn.0043def0
add esp, 0x24
test eax, eax
js 0x43c885
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov dword [esp], 0xf8fbfa05
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
lea ebx, [eax + 0x63b0e7f]
and ebx, edx
add edx, eax
add edx, 0x63b0e7f
add ebx, ebx
sub edx, ebx
mov ebx, edx
xor ebx, 0x34
and edx, 0x4b
add edx, edx
sub edx, ebx
add dl, 0xb9
mov byte [esp + eax], dl
mov edx, eax
xor edx, 0x380c0423
lea eax, [edx + eax*2]
add eax, 0xc7f3fbde
cmp eax, 4
jb 0x43c590
mov eax, dword [esp]
mov ebp, dword [0x44cff0]
test ebp, ebp
je 0x43c630
xor edx, edx
mov ebx, dword [0x44cff4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0xe6c7f7c6
je 0x43c600
inc edx
cmp ebp, edx
jne 0x43c5f0
jmp 0x43c630
mov ebp, dword [ebx + edx*8 + 4]
cmp ebp, eax
je 0x43c630
lea eax, [esp + 0x5c]
push eax
push ecx
push dword [esp + 0x14]
push dword [esp + 0x2c]
push esi
push 0x14
push ebp
push dword [0x44cff8]
call fcn.0043def0
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
test eax, eax
mov ebx, dword [esp + 0x14]
jns 0x43c643
cmp eax, 0x8000000d
jne 0x43c2d0
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x68]
push dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.0043c940
add esp, 0x18
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
cmp ebp, ecx
je 0x43c2b6
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ecx
jmp 0x43c6a5
mov edi, ebx
mov ebx, esi
mov dword [ebx + eax], edx
add edi, 4
add ebp, 4
cmp ebp, ecx
je 0x43c84c
mov edx, dword [ebp]
add edx, dword [esp + 0x20]
sub edx, dword [esp + 0x10]
mov eax, edi
mov esi, ebx
sub eax, ebx
mov ebx, edi
cmp edi, dword [esp + 0x18]
jne 0x43c690
mov dword [esp + 0x58], edx
mov edx, eax
sar edx, 2
mov dword [esp + 0xc], eax
shr eax, 1
mov dword [esp + 0x54], eax
mov ecx, eax
and ecx, 2
mov edi, edx
shr edi, 1
add edi, edx
mov eax, edx
xor eax, 1
add eax, ecx
cmp edi, eax
ja 0x43c6e9
mov edi, eax
mov dword [esp + 0x18], edi
lea eax, [edi*4]
push eax
call fcn.00408c10
add esp, 4
mov ecx, eax
test esi, esi
je 0x43c82a
cmp ecx, esi
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
jbe 0x43c7df
mov edi, ebx
cmp ebx, ecx
jbe 0x43c7df
test edx, edx
je 0x43c81a
mov edx, dword [esp + 0xc]
mov eax, edx
and eax, 0xfffffffe
mov ecx, edx
not ecx
and ecx, 1
sub eax, ecx
mov ebx, dword [esp + 0x14]
lea ecx, [ebx + eax]
add eax, dword [esp + 0x28]
mov esi, edx
and esi, 7
je 0x43c778
neg esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp esi, edx
jne 0x43c760
add ecx, edx
add eax, edx
add edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov esi, ebx
sub esi, edi
cmp esi, 0xfffffff8
ja 0x43c81a
neg edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + esi]
mov byte [eax + esi], bl
movzx ebx, byte [ecx + esi - 1]
mov byte [eax + esi - 1], bl
movzx ebx, byte [ecx + esi - 2]
mov byte [eax + esi - 2], bl
movzx ebx, byte [ecx + esi - 3]
mov byte [eax + esi - 3], bl
movzx ebx, byte [ecx + esi - 4]
mov byte [eax + esi - 4], bl
movzx ebx, byte [ecx + esi - 5]
mov byte [eax + esi - 5], bl
movzx ebx, byte [ecx + esi - 6]
mov byte [eax + esi - 6], bl
movzx ebx, byte [ecx + esi - 7]
mov byte [eax + esi - 7], bl
add esi, 0xfffffff8
cmp edx, esi
jne 0x43c790
jmp 0x43c81a
mov ebx, ecx
mov ecx, edx
shr ecx, 2
mov eax, esi
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
and edx, 0xfffffffc
add ebx, edx
add edx, esi
mov ecx, dword [esp + 0x54]
and ecx, 1
mov eax, edx
mov edi, ebx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test byte [esp + 0xc], 1
je 0x43c81a
mov eax, dword [esp + 0xc]
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
push dword [esp + 0x14]
call fcn.00408c20
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
lea eax, [ecx + eax*4]
mov dword [esp + 0x18], eax
mov edi, ecx
mov eax, dword [esp + 0xc]
add edi, eax
mov ebx, ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
jmp 0x43c694
mov eax, dword [esp + 0x74]
mov dword [eax + 4], edi
mov dword [eax], ebx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43c2d0
cmp eax, ecx
je 0x43c2d0
push eax
call fcn.00408c20
add esp, 4
mov dword [esp], 0
jmp 0x43c2d0
mov dword [esp], 0xf8fbfa05
xor eax, eax
nop
nop
movzx ecx, byte [esp + eax]
lea edx, [eax + 0x63b0e7f]
and edx, ecx
add ecx, eax
add ecx, 0x63b0e7f
add edx, edx
sub ecx, edx
mov edx, ecx
xor edx, 0x34
and ecx, 0x4b
add ecx, ecx
sub ecx, edx
add cl, 0xb9
mov byte [esp + eax], cl
mov ecx, eax
xor ecx, 0x380c0423
lea eax, [ecx + eax*2]
add eax, 0xc7f3fbde
cmp eax, 4
jb 0x43c890
mov eax, dword [0x44cff0]
test eax, eax
mov edi, dword [esp + 0x74]
je 0x43c92a
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [0x44cff4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x6dbc3610
je 0x43c900
inc edx
cmp eax, edx
jne 0x43c8f0
jmp 0x43c92a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43c92a
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44cff8]
call fcn.0043def0
add esp, 0x1c
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10