Function at 0x45bfe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x790f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x6c], eax
mov ebx, edx
mov dword [ebp - 0x80], 0
push edi
mov dword [ebp - 0x8c], ebx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x68], edx
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x45c274
cmp dword [esi + 0x14], 2
jne 0x45c274
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x45c061
test eax, eax
je 0x45c274
test ebx, ebx
je 0x45c274
cmp dword [esi + 0x10], 0xffff
je 0x45c274
mov al, byte [ebx]
mov ecx, ebx
cmp al, 0x2f
je 0x45c274
test al, al
je 0x45c09e
cmp al, 0x5c
je 0x45c274
cmp al, 0x3a
je 0x45c274
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x45c086
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov eax, dword [ebp - 0x38]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
add esp, 8
test eax, eax
je 0x45c0e2
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
jmp 0x45c11d
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x60]
shl ecx, 6
add ecx, dword [ebp - 0x5c]
sar eax, 1
shl ecx, 5
add ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
add eax, 0x301
shl ecx, 4
add eax, ecx
shl eax, 5
add eax, dword [ebp - 0x54]
movzx eax, ax
mov dword [ebp - 0x84], eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x45c120
sub ebx, ecx
mov dword [ebp - 0x34], ebx
cmp ebx, 0xffff
ja 0x45c274
mov edx, dword [esi + 0x18]
test edx, edx
je 0x45c14a
mov eax, dword [esi]
lea ecx, [edx - 1]
and eax, ecx
sub edx, eax
and edx, ecx
cmp dword [esi + 0x10], 0xffff
mov dword [ebp - 0x2c], edx
je 0x45c274
mov ecx, ebx
mov eax, 0
add ecx, edx
adc eax, eax
add ecx, dword [esi]
adc eax, dword [esi + 4]
add ecx, 0x4c
adc eax, 0
test eax, eax
ja 0x45c274
jb 0x45c183
cmp ecx, 0xffffffff
ja 0x45c274
test ebx, ebx
je 0x45c1a6
mov eax, dword [ebp - 0x8c]
cmp byte [eax + ebx - 1], 0x2f
jne 0x45c1a6
mov dword [ebp - 0x90], 0x10
test edi, edi
jne 0x45c274
mov ecx, dword [ebp - 0x74]
mov edx, 1
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 8]
add eax, 0x2e
add eax, ebx
cmp eax, edi
jbe 0x45c1f2
cmp edi, edx
cmovb edi, edx
cmp edi, eax
jae 0x45c1cc
add edi, edi
cmp edi, eax
jb 0x45c1c6
mov eax, dword [esi + 0x24]
push edi
push dword [ecx + 0xc]
push dword [ecx]
push dword [esi + 0x28]
call eax
add esp, 0x10
test eax, eax
je 0x45c274
mov ecx, dword [ebp - 0x74]
mov edx, 1
mov dword [ecx], eax
mov dword [ecx + 8], edi
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
inc eax
cmp eax, edi
jbe 0x45c22c
cmp edi, 1
cmovb edi, edx
cmp edi, eax
jae 0x45c20d
add edi, edi
cmp edi, eax
jb 0x45c207
mov eax, dword [esi + 0x24]
push edi
push dword [ecx + 0x1c]
push dword [ecx + 0x10]
push dword [esi + 0x28]
call eax
add esp, 0x10
test eax, eax
je 0x45c274
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], edi
cmp dword [ebp + 0xc], 0
je 0x45c24b
mov eax, dword [esi + 0x1c]
push 0x4df40
push 1
push dword [esi + 0x28]
call eax
add esp, 0xc
mov dword [ebp - 0x70], eax
test eax, eax
je 0x45c274
mov edi, dword [ebp - 0x2c]
mov ecx, esi
mov edx, dword [ebp - 0x68]
push edx
push dword [ebp - 0x64]
lea edx, [edi + 0x1e]
call fcn.0045bf20
add esp, 8
test eax, eax
jne 0x45c287
push dword [ebp - 0x70]
mov eax, dword [esi + 0x20]
push dword [esi + 0x28]
call eax
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006daf70
mov esp, ebp
pop ebp
ret
add dword [ebp - 0x7c], edi
lea eax, [edi + 0x1e]
mov ecx, dword [ebp - 0x64]
xorps xmm0, xmm0
adc dword [ebp - 0x78], 0
add ecx, eax
mov edi, dword [ebp - 0x68]
mov eax, dword [esi + 0x30]
adc edi, 0
push ebx
push dword [ebp - 0x8c]
mov dword [ebp - 0x64], ecx
push edi
push ecx
push dword [esi + 0x34]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0xc], 0
movq qword [ebp - 0x14], xmm0
mov word [ebp - 8], 0
call eax
add esp, 0x14
cmp eax, ebx
jne 0x45c266
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 0xc]
add eax, ebx
mov dword [ebp - 0x64], eax
mov edx, ecx
adc edi, 0
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x45c334
or edi, 0xffffffff
test ecx, ecx
je 0x45c332
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
mov eax, ecx
shr ecx, 4
xor eax, edi
shr edi, 4
and eax, 0xf
xor edi, dword [eax*4 + 0x77cd30]
mov eax, edi
shr edi, 4
and eax, 0xf
xor ecx, eax
xor edi, dword [ecx*4 + 0x77cd30]
sub edx, 1
jne 0x45c2f7
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x64]
not edi
cmp ecx, 3
ja 0x45c456
mov edx, dword [ebp - 0x68]
mov eax, dword [esi + 0x30]
push ecx
push dword [ebp - 0x6c]
push edx
push dword [ebp - 0x64]
push dword [esi + 0x34]
call eax
mov ecx, dword [ebp + 0xc]
add esp, 0x14
cmp eax, ecx
mov eax, dword [esi + 0x20]
push dword [ebp - 0x70]
push dword [esi + 0x28]
jne 0x45c26f
add dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], ecx
adc dword [ebp - 0x68], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x80], 0
call eax
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
test edx, edx
ja 0x45c274
jb 0x45c3a1
cmp dword [ebp - 0x64], 0xffffffff
ja 0x45c274
push dword [ebp - 0x84]
lea edx, [ebp - 0x24]
push dword [ebp - 0x88]
push ecx
push dword [ebp - 0x80]
push edi
push ecx
push eax
push 0
push dword [ebp + 0xc]
push ecx
push ebx
call fcn.0045bac0
add esp, 0x2c
test eax, eax
je 0x45c274
mov eax, dword [esi + 0x30]
mov ecx, edx
push 0x1e
push ecx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [esi + 0x34]
call eax
add esp, 0x14
cmp eax, 0x1e
jne 0x45c274
push dword [ebp - 0x90]
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
push dword [ebp - 0x7c]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push ecx
push dword [ebp - 0x80]
mov ecx, esi
push edi
push dword [ebp - 0x74]
push eax
push 0
push dword [ebp + 0xc]
sub esp, 0x10
push ebx
call fcn.0045bc90
add esp, 0x44
test eax, eax
je 0x45c274
mov eax, dword [ebp - 0x64]
inc dword [esi + 0x10]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [ebp - 0x68]
pop edi
mov dword [esi + 4], eax
mov eax, 1
pop esi
pop ebx
call fcn.006daf70
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x45c4e4
mov edx, dword [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
xor al, al
movsx ecx, al
lea eax, [ebp - 0x58]
neg ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], edx
sbb ecx, ecx
movlpd qword [ebp - 0x48], xmm0
and ecx, 0x4000
or ecx, dword [0x77ce08]
push ecx
mov ecx, dword [ebp - 0x70]
push eax
call fcn.0045b610
add esp, 8
test eax, eax
jne 0x45c266
mov eax, dword [ebp + 0xc]
sub esp, 0xc
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0045b3e0
add esp, 0x10
cmp eax, 1
jne 0x45c266
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x80], 8
jmp 0x45c4f6
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x70]
mov eax, dword [esi + 0x20]
push dword [esi + 0x28]
call eax
mov ecx, dword [ebp - 0x74]
add esp, 8
test ecx, ecx
ja 0x45c274
jb 0x45c387
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
ja 0x45c274
jmp 0x45c38a