Function at 0x43d240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x481340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x180]
push esi
mov esi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x144], ebx
call fcn.00435e20
lea eax, [ebp - 0x168]
push eax
call fcn.00435e20
lea eax, [ebx + 0x4c]
push 0
push eax
mov dword [ebp - 0x148], eax
call fcn.00436160
add esp, 0x10
cmp eax, 1
je 0x43d2cb
pop esi
mov eax, 0xffffb080
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call fcn.00436160
test eax, eax
lea eax, [ebp - 0x180]
push esi
push eax
sete byte [ebp - 0x154]
call fcn.00435fb0
mov edi, dword [ebp + 0x20]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x43d45c
push esi
push dword [ebp - 0x148]
lea eax, [ebp - 0x168]
push eax
call fcn.00436bb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x43d45c
push dword [ebp - 0x154]
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.00448770
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x174], ebx
test ebx, ebx
jne 0x43d45c
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.004552e0
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x148], ecx
test edi, edi
je 0x43d3de
movzx eax, byte [ebp + 0x1c]
mov dword [ebp - 0x16c], eax
xor esi, esi
test eax, eax
je 0x43d3cd
lea eax, [ebp - 0x10c]
mov ebx, ecx
add eax, ecx
mov dword [ebp - 0x170], eax
mov al, byte [eax]
mov byte [ebp - 0x13d], al
nop
lea eax, [ebp - 0x180]
push ebx
push eax
call fcn.00436160
mov ecx, esi
add esp, 8
shl al, cl
inc esi
mov cl, byte [ebp - 0x13d]
add ebx, edi
or cl, al
mov eax, dword [ebp - 0x16c]
mov byte [ebp - 0x13d], cl
cmp esi, eax
jb 0x43d390
mov edx, dword [ebp - 0x170]
mov byte [edx], cl
mov ecx, dword [ebp - 0x148]
inc ecx
mov dword [ebp - 0x148], ecx
cmp ecx, edi
jb 0x43d370
mov ebx, dword [ebp - 0x174]
xor al, al
mov esi, 1
mov byte [ebp - 0x13d], al
cmp edi, esi
jb 0x43d45c
nop
mov bl, byte [ebp + esi - 0x10c]
mov bh, 1
mov dl, byte [ebp + esi - 0x10d]
mov dh, bl
and bl, byte [ebp - 0x13d]
xor dh, al
mov al, dh
movzx ecx, dl
and al, 1
sub bh, al
movzx eax, bh
imul ecx, eax
shl bh, 7
or bh, dl
mov byte [ebp + esi - 0x10d], bh
mov al, cl
xor cl, dh
and al, dh
mov byte [ebp + esi - 0x10c], cl
or al, bl
inc esi
mov byte [ebp - 0x13d], al
cmp esi, edi
jbe 0x43d3f0
lea eax, [ebp - 0x168]
push eax
call fcn.00435e40
lea eax, [ebp - 0x180]
push eax
call fcn.00435e40
add esp, 8
jmp 0x43d47f
lea eax, [ebp - 0x168]
push eax
call fcn.00435e40
lea eax, [ebp - 0x180]
push eax
call fcn.00435e40
add esp, 8
test ebx, ebx
jne 0x43d6c7
lea eax, [ebp - 0x1a4]
push eax
call fcn.00435e20
lea eax, [ebp - 0x198]
push eax
call fcn.00435e20
lea eax, [ebp - 0x18c]
push eax
call fcn.00435e20
add esp, 0xc
lea esi, [ebp - 0x13c]
mov ebx, 4
push esi
call fcn.00435e20
add esp, 4
add esi, 0xc
sub ebx, 1
jne 0x43d4b1
movzx eax, byte [ebp + edi - 0x10c]
mov ebx, dword [ebp - 0x150]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x14c]
push ebx
push dword [ebp - 0x144]
call fcn.0043d150
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x43d598
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x43d51d
push dword [ebp - 0x15c]
push eax
push ebx
push dword [ebp - 0x144]
call fcn.0043cb60
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43d598
test edi, edi
je 0x43d598
lea eax, [ebp - 0x13c]
dec edi
push eax
push ebx
push ebx
push dword [ebp - 0x144]
call fcn.0043c320
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43d598
movzx eax, byte [ebp + edi - 0x10c]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x1a4]
push dword [ebp - 0x14c]
push eax
push dword [ebp - 0x144]
call fcn.0043d150
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x43d598
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x1a4]
push eax
push ebx
push ebx
push dword [ebp - 0x144]
call fcn.0043c8a0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x43d598
test edi, edi
jne 0x43d525
lea eax, [ebp - 0x1a4]
push eax
call fcn.00435e40
lea eax, [ebp - 0x198]
push eax
call fcn.00435e40
lea eax, [ebp - 0x18c]
push eax
call fcn.00435e40
add esp, 0xc
lea edi, [ebp - 0x13c]
mov ebx, 4
nop word [eax + eax]
push edi
call fcn.00435e40
add esp, 4
add edi, 0xc
sub ebx, 1
jne 0x43d5d0
mov ebx, dword [ebp - 0x150]
test esi, esi
jne 0x43d6b4
lea eax, [ebp - 0x168]
push eax
call fcn.00435e20
lea esi, [ebx + 0xc]
push 0
push esi
call fcn.00436870
push esi
mov esi, dword [ebp - 0x144]
test eax, eax
setne byte [ebp - 0x13d]
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00436bb0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x43d654
mov al, byte [ebp - 0x13d]
and al, byte [ebp - 0x154]
movzx eax, al
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.00448770
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x168]
push eax
call fcn.00435e40
add esp, 4
test edi, edi
jne 0x43d6a1
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x43d686
push dword [ebp - 0x15c]
push eax
push ebx
push esi
call fcn.0043cb60
add esp, 0x10
test eax, eax
jne 0x43d6c9
push ebx
push esi
call fcn.0043b8a0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00446e61
mov esp, ebp
pop ebp
ret