Function at 0x754170
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx]
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
cmp ecx, 0x60
ja case.0x7541a4.1
movzx eax, byte [ecx + 0x7544f8]
jmp dword [eax*4 + 0x7544e4]
mov ecx, dword [esp + 0x44]
push ecx
push edi
mov ecx, ebp
mov eax, ebx
call fcn.00754100
add esp, 8
jmp case.0x7541a4.1
mov dl, byte [ebx + 0x14]
mov esi, dword [ebx + 0x10]
mov eax, dword [esp + 0x44]
mov byte [esp + 0x13], dl
test dl, dl
je 0x754230
cmp eax, 8
jae 0x7541f3
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.007562ca
add esp, 0x24
ret 0x10
test edi, edi
je 0x754230
cmp edi, ebp
jne 0x754230
cmp ecx, 0x20
je 0x75421a
cmp ecx, 0x30
jne case.0x7541a4.1
push eax
push edi
add ebx, 0x20
push ebx
push esi
call fcn.00755150
jmp case.0x7541a4.1
push eax
push edi
add ebx, 0x20
push ebx
push esi
call fcn.007551d0
jmp case.0x7541a4.1
cmp eax, 0x10
jae 0x754246
cmp eax, 8
jb 0x7542d9
test dl, dl
jne 0x7542d9
mov edx, dword [ebp]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 4]
add ebp, 8
mov dword [esp + 0x24], edx
cmp ecx, 0x20
je 0x754288
cmp ecx, 0x30
jne 0x7542b5
cmp byte [esp + 0x13], 0
je 0x75427b
push 8
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 0x20]
push ecx
push esi
call fcn.00755150
jmp 0x7542ad
lea edx, [esp + 0x20]
push edx
push esi
call fcn.00754fb0
jmp 0x7542ad
cmp byte [esp + 0x13], 0
je 0x7542a2
push 8
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 0x20]
push ecx
push esi
call fcn.007551d0
jmp 0x7542ad
lea edx, [esp + 0x20]
push edx
push esi
call fcn.00755050
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
test edi, edi
je 0x7542c9
mov edx, dword [esp + 0x20]
mov dword [edi], edx
mov edx, dword [esp + 0x24]
mov dword [edi + 4], edx
add edi, 8
mov dl, byte [esp + 0x13]
sub eax, 8
mov dword [esp + 0x44], eax
jmp 0x754230
test eax, eax
je case.0x7541a4.1
test dl, dl
je 0x754350
push eax
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00756630
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 0x20
je 0x754318
cmp eax, 0x30
jne 0x75432c
mov ecx, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
add ebx, 0x20
push ebx
push esi
call fcn.00755150
jmp 0x75432c
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
push ecx
add ebx, 0x20
push ebx
push esi
call fcn.007551d0
test edi, edi
je case.0x7541a4.1
mov edx, dword [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00756630
add esp, 0xc
jmp case.0x7541a4.1
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x18], ecx
test eax, eax
je case.0x7541a4.1
jmp 0x754365
mov eax, dword [esp + 0x44]
mov esi, eax
cmp eax, 8
jb 0x754371
mov esi, 8
xor eax, eax
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 8
push edx
mov ecx, edx
mov eax, ebx
call fcn.00754100
mov ecx, dword [esp + 0x20]
add esp, 8
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00754fb0
test edi, edi
je 0x7543b9
xor eax, eax
test esi, esi
jbe 0x7543bb
mov dl, byte [esp + eax + 0x20]
xor dl, byte [ebp]
inc eax
mov byte [edi], dl
inc edi
inc ebp
cmp eax, esi
jb 0x7543a7
jmp 0x7543bb
add ebp, esi
sub dword [esp + 0x44], esi
jne 0x754361
jmp case.0x7541a4.1
mov esi, dword [esp + 0x44]
mov eax, dword [ebx + 4]
cmp ecx, 0x40
mov ecx, dword [ebx + 8]
sete byte [esp + 0x13]
dec ecx
mov dword [esp + 0x1c], eax
test esi, ecx
jne 0x7541d9
test edi, edi
je 0x7543f8
cmp ebp, edi
je 0x7543f8
push esi
push ebp
push edi
call fcn.00756630
add esp, 0xc
mov ecx, dword [esp + 0x1c]
shr esi, cl
cmp esi, 2
jl case.0x7541a4.1
dec esi
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], esi
je 0x75441b
mov ecx, esi
mov dword [esp + 0x14], ecx
jmp 0x754427
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x20], edx
test esi, esi
jle case.0x7541a4.1
lea ebp, [ecx + 1]
jmp 0x754444
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
test cl, 1
jne 0x75444f
mov eax, ebx
xor edx, edx
div ebp
mov esi, ecx
mov ecx, dword [esp + 0x1c]
shl esi, cl
add esi, edi
shl edx, cl
add edx, edi
test edi, edi
je case.default.0x75446a
cmp ecx, 3
ja case.default.0x75446a
jmp dword [ecx*4 + 0x75455c]
mov cl, byte [edx]
mov al, byte [esi]
mov byte [esi], cl
mov byte [edx], al
jmp case.default.0x75446a
movzx eax, word [esi]
mov cx, word [edx]
mov word [esi], cx
mov word [edx], ax
jmp case.default.0x75446a
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [esi], ecx
mov dword [edx], eax
jmp case.default.0x75446a
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], ecx
mov dword [edx + 4], eax
cmp byte [esp + 0x13], 0
je 0x7544b5
dec dword [esp + 0x14]
dec ebp
jmp 0x7544ba
inc dword [esp + 0x14]
inc ebp
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
test eax, eax
jg 0x754440
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.007562ca
add esp, 0x24
ret 0x10