Function at 0x4520e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x14]
movsd xmm0, qword [edi + 0x1c]
movsd xmm1, qword [edi + 0x24]
movzx ecx, byte [edi + 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x593ab0]
movsd qword [ebp - 0x34], xmm1
movsd qword [ebp - 0x3c], xmm0
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x40], cl
movzx eax, byte [eax]
push 4
push 0x2f8
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4523b8
push 0x2f8
push 0
mov dword [ebp - 0x2c], eax
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x28], eax
nop dword [eax + eax]
mov edi, 1
mov esi, 0
mov ebx, 0x70656462
lock xadd dword [0x5c108c], edi
mov dword [ebp - 0x10], edi
xor edi, 0x79746573
mov eax, edi
mov edx, edi
mov ecx, edi
mov edi, 0x70656462
add eax, 0x6e657261
adc esi, 0xdcdecbc7
shld edx, edi, 0x10
shld ebx, ecx, 0x10
xor edx, eax
mov eax, ecx
xor ebx, esi
mov ecx, 0
add eax, 0xc19fead0
mov esi, edx
mov edi, ebx
adc ecx, 0x1671bdd1
add esi, 0xd7dedfc6
mov dword [ebp - 0x14], eax
mov eax, edx
adc edi, 0xded7d4e2
shld eax, ebx, 0x15
shld ebx, edx, 0x15
mov edx, ecx
xor eax, esi
xor esi, dword [ebp - 0x10]
xor ebx, edi
xor edx, 0xe414a674
xor edi, 0x4000000
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x14]
xor esi, 0xff
xor ecx, 0xf0de7325
add dword [ebp - 0x18], ecx
adc edi, edx
add esi, eax
mov dword [ebp - 0x1c], edi
mov edi, 0xf2651ba4
mov dword [ebp - 0x10], esi
adc dword [ebp - 0x14], ebx
mov esi, eax
shld edx, ecx, 0xd
shrd eax, ebx, 0x10
shld ecx, edi, 0xd
shld esi, ebx, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x18]
xor eax, ebx
xor esi, edi
add edi, ecx
adc ebx, edx
mov dword [ebp - 0x10], edi
add dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov ebx, ecx
adc edi, eax
shld ebx, edx, 0x11
shrd ecx, edx, 0xf
mov edx, esi
shrd esi, eax, 0xb
shld edx, eax, 0x15
mov eax, dword [ebp - 0x1c]
xor ebx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x14]
xor esi, edi
xor edx, eax
add eax, ebx
adc edi, ecx
add dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov eax, edx
mov dword [ebp - 0x18], edi
mov edi, ebx
adc dword [ebp - 0x10], esi
shld edi, ecx, 0xd
shrd edx, esi, 0x10
shrd ebx, ecx, 0x13
shld eax, esi, 0x10
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
xor edi, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
xor ebx, esi
xor eax, ecx
add ecx, edi
adc dword [ebp - 0x10], ebx
add esi, eax
mov dword [ebp - 0x14], ecx
mov ecx, edi
adc dword [ebp - 0x1c], edx
shld ecx, ebx, 0x11
mov dword [ebp - 0x18], esi
mov esi, eax
shrd eax, edx, 0xb
shrd edi, ebx, 0xf
mov ebx, dword [ebp - 0x10]
shld esi, edx, 0x15
mov edx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
xor edi, ebx
xor esi, edx
add edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
adc edx, edi
add ebx, esi
mov dword [ebp - 0x10], ebx
adc dword [ebp - 0x14], eax
mov ebx, ecx
shrd ecx, edi, 0x13
shld ebx, edi, 0xd
xor ecx, edx
mov edx, eax
mov edi, dword [ebp - 0x14]
shld edx, esi, 0x10
shld esi, eax, 0x10
mov eax, dword [ebp - 0x10]
xor ebx, dword [ebp - 0x18]
xor edx, edi
xor esi, eax
add eax, ebx
adc edi, ecx
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], edi
mov edi, esi
shld eax, ecx, 0x11
shld ecx, ebx, 0x11
mov ebx, dword [ebp - 0x14]
shld edi, edx, 0x15
shld edx, esi, 0x15
mov esi, dword [ebp - 0x10]
xor eax, ebx
xor ecx, esi
xor eax, edi
xor ecx, edx
xor eax, esi
xor ecx, ebx
mov edx, eax
or edx, ecx
je 0x452150
movsd xmm0, qword [ebp - 0x3c]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
movsd qword [esi + 0x98], xmm1
movsd qword [esi + 0x90], xmm0
mov dword [esi + 0xa0], edx
movzx edx, byte [ebp - 0x1d]
mov byte [esi + 0xa4], dl
mov dword [esi], 0
mov dword [esi + 4], ebx
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], ebx
mov dword [esi + 0x88], edi
mov dword [esi + 0x84], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x80], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x8c], eax
mov eax, dword [ecx + 8]
cmp eax, 0x80000000
je 0x4523ae
test eax, eax
je 0x4523ae
push 1
push eax
push dword [ecx + 0xc]
call main
add esp, 0xc
mov eax, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2f8
push 4
call fcn.004ce360
add esp, 8
ud2