Function at 0x434bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477656
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2dcc
call fcn.004412b0
mov eax, dword [0x4ab244]
push ebx
push esi
mov dword [esp + 0x2dd0], eax
push edi
lea eax, [esp + 0x10]
push eax
mov ebx, ecx
call dword [0x485268]
call fcn.00441f06
mov cx, word [esp + 0x10]
mov edx, eax
mov al, byte [esp + 0x12]
mov word [ebx + 4], cx
mov cl, byte [esp + 0x16]
mov byte [ebx + 6], al
mov al, byte [esp + 0x18]
mov byte [ebx + 7], cl
mov cl, byte [esp + 0x1a]
mov byte [ebx + 8], al
mov eax, dword [ebp + 0x10]
mov byte [ebx + 9], cl
mov ecx, dword [ebp + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x174d8]
dec eax
mov dword [ebx], eax
xor eax, eax
mov ecx, 0xb3e
lea edi, [esp + 0xd0]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 8
mov esi, 0x48f990
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
mov dword [esp + 0xf1], edx
xor esi, esi
mov al, byte [esi + ebx]
xor al, dl
mov byte [esp + esi + 0xf5], al
inc esi
cmp esi, 0x2cd4
jb 0x434c70
mov edx, dword [ebp + 0xc]
mov eax, edx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434ca0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.004012e0
lea ecx, [esp + 0x58]
mov dword [esp + 0x2de4], edi
call fcn.00406d80
push 0x2cf9
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x2df0], 1
call fcn.00408960
test eax, eax
je 0x434d1b
lea ecx, [esp + 0x58]
mov byte [esp + 0x2de4], 0
call fcn.00406de0
cmp dword [esp + 0x38], 0x10
jb 0x434dd1
mov eax, dword [esp + 0x24]
push eax
call fcn.004618bc
add esp, 4
xor eax, eax
jmp 0x434dfb
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
push edi
mov dword [esp + 0x58], ecx
add esi, 0xca0
push edi
mov ecx, esi
call fcn.00411630
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x5c]
call fcn.00408ee0
push 2
push edi
push edi
lea ecx, [esp + 0x64]
call fcn.00405a90
lea eax, [esp + 0xc]
push eax
mov edi, 0x1c
push edi
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00411490
test eax, eax
jne 0x434dac
cmp dword [esp + 0xc], edi
lea ecx, [esp + 0x58]
jne 0x434dd5
push edi
lea edx, [esp + 0x40]
push edx
call fcn.00405540
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00411490
test eax, eax
je 0x434d81
lea ecx, [esp + 0x58]
mov byte [esp + 0x2de4], 0
call fcn.00406de0
cmp dword [esp + 0x38], 0x10
jb 0x434dd1
mov edx, dword [esp + 0x24]
push edx
call fcn.004618bc
add esp, 4
xor eax, eax
jmp 0x434dfb
mov byte [esp + 0x2de4], 0
call fcn.00406de0
cmp dword [esp + 0x38], 0x10
jb 0x434df6
mov eax, dword [esp + 0x24]
push eax
call fcn.004618bc
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2ddc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2dd4]
call fcn.004407d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc