Function at 0x43752e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4aeda0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
jne 0x43755e
push 0xffffffffffffff9a
pop eax
jmp 0x437772
cmp dword [ebx + 0x38], 0
je 0x437556
cmp dword [ebx + 0x9c], 0
je 0x437574
push ebx
call fcn.004372dd
pop ecx
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov esi, ebx
call fcn.00436eed
add esp, 0xc
test eax, eax
je 0x437596
push 0xffffffffffffff99
jmp 0x43771d
push 0x90
call fcn.00453ad5
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 0x18], esi
je 0x43771b
push 0x4000
call fcn.00453ad5
pop ecx
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
cmp eax, edx
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi], eax
mov dword [esi + 0x4c], edx
mov dword [esi + 0x8c], ecx
jne 0x4375ea
push 0xffffffffffffff98
pop edi
push esi
call fcn.004539ce
pop ecx
mov eax, edi
jmp 0x437771
mov eax, dword [ebp - 0x24]
cmp eax, edx
mov dword [esi + 0x40], edx
je 0x4375f9
mov ecx, dword [ebx + 0x54]
mov dword [eax], ecx
cmp edi, edx
je 0x437628
push 6
pop ecx
mov dword [edi], ecx
mov eax, dword [ebx + 0x50]
and eax, ecx
push 2
pop ecx
sub eax, ecx
je 0x437622
sub eax, ecx
je 0x43761e
sub eax, ecx
jne 0x437628
mov dword [edi], 1
jmp 0x437628
mov dword [edi], ecx
jmp 0x437628
mov dword [edi], 9
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], edx
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x80], eax
lea edi, [esi + 0x60]
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2c]
mov esi, dword [ebp - 0x18]
xor edi, edi
mov dword [esi + 0x88], eax
mov dword [esi + 0x18], edi
cmp dword [ebx + 0x54], 8
jne 0x43769b
cmp dword [ebp + 0x14], edi
jne 0x43769b
push 0x38
push 0x48b474
lea eax, [esi + 4]
push 0xfffffffffffffff1
push eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [eax], edi
mov dword [esi + 8], edi
call fcn.00437a58
add esp, 0x10
cmp eax, edi
jne 0x437720
mov dword [esi + 0x40], 1
cmp dword [ebp - 0x14], edi
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x5c], eax
mov eax, dword [ebx + 0x98]
lea eax, [eax + ecx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], edi
mov dword [ebx + 0x9c], esi
je 0x43776f
call fcn.00437793
mov dword [ebx + 0xb0], eax
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0xa4]
call fcn.00436a31
mov eax, dword [ebx + 0x9c]
mov ecx, dword [eax + 0x88]
add ecx, dword [eax + 0x3c]
push edi
push ecx
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x14
test eax, eax
jne 0x43771b
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 4]
add esp, 0x10
cmp eax, 0xc
jae 0x43772a
push 0xffffffffffffff98
pop eax
jmp 0x437771
mov esi, dword [ebp - 0x18]
mov edi, eax
jmp 0x4375dc
xor esi, esi
lea eax, [ebx + 0xa4]
lea edx, [ebp + esi - 0x10]
call fcn.004369d7
xor byte [edx], al
movsx eax, byte [edx]
mov edi, dword [ebx + 0xb0]
push eax
lea ecx, [ebx + 0xa4]
call fcn.004369ee
add esp, 4
inc esi
cmp esi, 0xc
jl 0x43772c
mov eax, dword [ebx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ebx + 0xa0], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004504a7
leave
ret