Function at 0x784dd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc4
mov eax, dword [0x773564]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
imul eax, eax, 0x126
cmp dword [eax + 0x798370], 0
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push esi
push edi
mov dword [esp + 0x14], ebp
jne 0x784e13
mov eax, 0xa2
jmp 0x784fff
cmp word [esp + 0xe4], 0
jne 0x784e6c
push 0x80
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.00786f70
mov eax, dword [esp + 0xec]
add esp, 0xc
cmp ax, 0x77
jbe 0x784e44
mov eax, 0x77
movzx edx, ax
push edx
mov byte [esp + 0x5b], al
lea eax, [esp + 0x5c]
push ebp
push eax
mov byte [esp + 0x62], 0
call fcn.00787470
mov ecx, 0x20
lea esi, [esp + 0x5c]
mov edi, ebp
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push 0x19
push ecx
call fcn.00781e50
mov al, byte [esp + 0xf0]
add esp, 8
xor ebx, ebx
xor al, 0x2c
mov byte [esp + 0x13], al
jmp 0x784e94
mov al, byte [esp + 0x13]
mov ecx, dword [ebp + 4]
mov byte [esp + 0x1c], al
mov eax, dword [ebp]
mov dl, bl
xor dl, 0x2c
mov dword [esp + 0x1d], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x1b], dl
mov edx, dword [ebp + 8]
mov dword [esp + 0x29], eax
mov byte [esp + 0x19], 0x32
mov byte [esp + 0x1a], 0x2c
mov dword [esp + 0x21], ecx
mov dword [esp + 0x25], edx
xor eax, eax
lea esp, [esp]
xor byte [esp + eax + 0x1d], 0x2c
add eax, 1
cmp eax, 0x10
jl 0x784ed0
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x34]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.007821c0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
mov byte [esp + 0x50], al
mov eax, dword [esp + 0xf8]
push edx
push eax
call fcn.00782010
add esp, 0x28
test eax, eax
jne 0x78501a
add ebx, 1
add ebp, 0x10
cmp ebx, 8
jl 0x784e90
mov al, byte [esp + 0xe8]
or al, 4
sub esp, 0x1c
xor al, 0x2c
mov byte [esp + 0x38], al
mov byte [esp + 0x35], 0x32
mov byte [esp + 0x36], 0x2c
mov byte [esp + 0x37], 0x24
mov ecx, 6
lea esi, [esp + 0x34]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.007821c0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
mov byte [esp + 0x50], al
mov eax, dword [esp + 0xf8]
push edx
push eax
call fcn.00782010
mov ebp, dword [esp + 0x3c]
add esp, 0x28
xor ebx, ebx
mov dl, byte [esp + 0x13]
mov cl, bl
add cl, 9
xor cl, 0x2c
mov byte [esp + 0x1b], cl
sub esp, 0x1c
mov byte [esp + 0x38], dl
mov byte [esp + 0x35], 0x32
mov byte [esp + 0x36], 0x2c
mov ecx, 6
lea esi, [esp + 0x34]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.007821c0
mov edx, dword [esp + 0xf4]
mov byte [esp + 0x4c], al
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00782010
add esp, 0x28
test eax, eax
jne 0x78501a
mov eax, dword [esp + 0x39]
mov ecx, dword [esp + 0x3d]
mov edx, dword [esp + 0x41]
mov dword [ebp], eax
mov eax, dword [esp + 0x45]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
add ebx, 1
add ebp, 0x10
cmp ebx, 8
jl 0x784f80
xor eax, eax
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00786f61
add esp, 0xc4
ret 0x14
mov eax, 0x2d
jmp 0x784fff