Function at 0x43d340
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x27c
mov ebx, dword [0x453064]
mov ebp, dword [0x453060]
mov eax, ebp
or eax, ebx
jne 0x43d405
mov dword [esp + 0x4c], 0x57aa49ba
mov dword [esp + 0x50], 0x53a655b8
mov dword [esp + 0x54], 0x5f6c51a4
mov dword [esp + 0x58], 0x5bae5db0
mov dword [esp + 0x5c], 0x676659ac
mov byte [esp + 0x60], 0
mov edx, 0x8e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x42]
mov ebx, eax
mov esi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0xbd
mul cl
mov ecx, eax
mov eax, esi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x3a
mov byte [esp + edx - 0x42], al
inc edx
cmp edx, 0xa3
jne 0x43d3a0
lea eax, [esp + 0x4c]
push eax
call fcn.0043cf00
add esp, 4
mov ebp, eax
mov dword [0x453064], edx
mov dword [0x453060], eax
or eax, edx
je 0x43d4ff
mov ebx, edx
lea eax, [esp + 0x14c]
push 0x40
push eax
push ebx
push ebp
call fcn.0043ccb0
add esp, 0x10
test eax, eax
js 0x43d4ff
mov eax, dword [esp + 0x188]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x18c]
push 0xf0
push edx
push ecx
push eax
call fcn.0043ccb0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x43d501
cmp dword [esp + 0x200], 0
je 0x43d501
mov eax, dword [esp + 0x1fc]
mov esi, 0
test eax, eax
je 0x43d503
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x24]
push 0x28
push edx
push ecx
push eax
call fcn.0043ccb0
add esp, 0x10
test eax, eax
js 0x43d4ff
mov esi, dword [esp + 0x38]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x43d4ae
lea eax, [esi*4]
push eax
call fcn.0040cc80
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x40]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 8], edx
push edx
push ecx
push eax
call fcn.0043ccb0
add esp, 0x10
test eax, eax
js 0x43d512
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x43d51b
mov eax, 0xffffffff
jmp 0x43d51d
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x27c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x43d746
add eax, eax
push eax
call fcn.0040cc80
add esp, 4
mov esi, dword [esp + 0x3c]
add esi, esi
mov ecx, dword [esp + 0x48]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.0043ccb0
add esp, 0x10
test eax, eax
js 0x43d737
mov esi, dword [esp + 0x3c]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x43d567
lea eax, [esi*4]
push eax
call fcn.0040cc80
add esp, 4
mov edx, esi
and edx, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, edx
add esi, ecx
mov edx, dword [esp + 0x44]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.0043ccb0
add esp, 0x10
test eax, eax
js 0x43d725
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x43d5b9
mov esi, eax
test esi, esi
je 0x43d725
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
jmp 0x43d5fc
mov eax, 0x36c0b43e
cmp eax, dword [esp + 0x290]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
je 0x43d757
inc edi
cmp edi, esi
je 0x43d725
mov eax, dword [esp + 8]
mov eax, dword [eax + edi*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x50]
push edx
push ecx
push eax
call fcn.0043ccb0
add esp, 0x10
test eax, eax
jns 0x43d629
cmp eax, 0x8000000d
jne 0x43d5f3
mov dword [esp + 0x20], edi
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x4d], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x43d640
mov dword [esp + 0xc], 0x626664c9
mov word [esp + 0x10], 0
mov esi, 0x96
mov edx, 0x5181c169
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + edx - 0x5181c15d]
mov eax, esi
xor eax, edx
and eax, ebp
xor eax, edx
lea ebp, [eax + eax]
mov edi, 2
sub edi, ebp
not edi
and edi, 2
and ebp, 2
sub eax, ebp
add eax, edi
add al, 0xf3
mov byte [esp + edx - 0x5181c15d], al
dec esi
inc edx
cmp esi, 0x90
jne 0x43d670
test ecx, ecx
je 0x43d5d1
mov edx, dword [esp + 0xc]
mov ebp, 0x36c0b43e
lea esi, [esp + 0x4c]
cmp ecx, 4
jb 0x43d6fb
mov eax, ebx
and eax, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 1]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 2]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 3]
xor ebp, edi
imul ebp, edx
add esi, 4
add eax, 0xfffffffc
jne 0x43d6d0
mov eax, ebp
test cl, 3
je 0x43d5d6
and ebx, 3
xor ecx, ecx
nop
nop
nop
nop
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp ebx, ecx
jne 0x43d710
jmp 0x43d5d6
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040cc90
add esp, 4
jmp 0x43d73b
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040cc90
add esp, 4
push dword [esp + 4]
call fcn.0040cc90
add esp, 4
jmp 0x43d503
mov eax, dword [esp]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 4]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x43d729