Function at 0x44fb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x493014]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
movzx eax, byte [esi]
cmp eax, 8
ja case.default.0x44fb7f
jmp dword [eax*4 + 0x4503c8]
mov eax, dword [esi + 8]
mov ecx, dword [edi]
cmp dword [eax + 4], 0
mov eax, dword [ecx]
jne 0x44fb9f
push 2
push 0x486aa8
jmp 0x4503b1
cmp byte [ebp + 0xc], 0
je 0x44fd9f
push 2
push 0x486aac
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
mov edx, dword [edi + 0x260]
mov dword [esp + 0xc], eax
cmp edx, eax
jae 0x44fc62
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x18], ecx
mov ecx, 2
mul ecx
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0x250]
seto dl
neg edx
or edx, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x40], eax
cmp edx, eax
ja 0x44fc07
mov dword [ecx + 0x10], edx
cmp dword [ecx + 0x14], 0x10
jb 0x44fc01
mov ecx, dword [ecx]
mov byte [ecx + edx], 0
jmp 0x44fc62
mov eax, edx
sub eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x14]
sub eax, dword [esp + 0x40]
cmp dword [esp + 0x10], eax
ja 0x44fc4c
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], edx
jb 0x44fc29
mov ecx, dword [ecx]
push dword [esp + 0x10]
mov esi, dword [esp + 0x44]
add esi, ecx
push 0x20
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [eax + esi], 0
mov esi, dword [esp + 0x14]
jmp 0x44fc62
mov eax, dword [esp + 0x10]
push 0x20
push eax
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
push eax
call fcn.004589a0
mov eax, dword [esi + 8]
mov dword [esp + 0x10], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, 1
lea eax, [edi + 0x250]
mov esi, dword [esi]
mov dword [esp + 0x40], esi
je 0x44fd12
cmp dword [eax + 0x14], 0x10
mov edx, eax
mov ecx, dword [edi]
jb 0x44fc93
mov edx, dword [eax]
push dword [esp + 0xc]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.00451bb0
mov ecx, dword [edi]
push 3
push 0x486ab0
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0xc]
add esi, 0x28
mov ecx, edi
push dword [ebp + 0x14]
push 0
push 1
push esi
call fcn.0044fb50
mov ecx, dword [edi]
push 2
push 0x486ab4
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x40]
inc esi
mov dword [esp + 0x10], esi
call fcn.00452910
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
dec eax
cmp esi, eax
mov esi, dword [esp + 0x40]
lea eax, [edi + 0x250]
jb 0x44fc87
cmp dword [eax + 0x14], 0x10
mov edx, eax
mov ecx, dword [edi]
jb 0x44fd1e
mov edx, dword [eax]
push dword [esp + 0xc]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.00451bb0
mov ecx, dword [edi]
push 3
push 0x486ab0
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0xc]
add esi, 0x28
mov ecx, edi
push dword [ebp + 0x14]
push 0
push 1
push esi
call fcn.0044fb50
mov ecx, dword [edi]
push 0xa
mov eax, dword [ecx]
call dword [eax]
cmp dword [edi + 0x264], 0x10
lea edx, [edi + 0x250]
mov ecx, dword [edi]
jb 0x44fd7b
mov edx, dword [edx]
push dword [ebp + 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [edi]
push 0x7d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
push 0x7b
call dword [eax]
mov eax, dword [esi + 8]
mov dword [esp + 0xc], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov esi, dword [esi]
mov dword [esp + 0x40], esi
sub eax, 1
je 0x44fe24
nop
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.00451bb0
mov ecx, dword [edi]
push 2
push 0x486ab8
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x18]
add esi, 0x28
mov ecx, edi
push dword [ebp + 0x14]
push 0
push 0
push esi
call fcn.0044fb50
mov ecx, dword [edi]
push 0x2c
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x40]
inc esi
mov dword [esp + 0xc], esi
call fcn.00452910
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
dec eax
cmp esi, eax
mov esi, dword [esp + 0x40]
jb 0x44fdc0
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.00451bb0
mov ecx, dword [edi]
push 2
push 0x486ab8
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x18]
add esi, 0x28
mov ecx, edi
push dword [ebp + 0x14]
push 0
push 0
push esi
call fcn.0044fb50
mov ecx, dword [edi]
push 0x7d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esi + 8]
mov ecx, dword [edi]
mov eax, dword [edx]
cmp eax, dword [edx + 4]
mov eax, dword [ecx]
jne 0x44fe90
push 2
push 0x486abc
jmp 0x4503b1
cmp byte [ebp + 0xc], 0
je 0x45002e
push 2
push 0x486ac0
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
mov edx, dword [edi + 0x260]
mov dword [esp + 0x10], eax
cmp edx, eax
jae 0x44ff53
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x18], ecx
mov ecx, 2
mul ecx
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0x250]
seto dl
neg edx
or edx, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x40], eax
cmp edx, eax
ja 0x44fef8
mov dword [ecx + 0x10], edx
cmp dword [ecx + 0x14], 0x10
jb 0x44fef2
mov ecx, dword [ecx]
mov byte [ecx + edx], 0
jmp 0x44ff53
mov eax, edx
sub eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x14]
sub eax, dword [esp + 0x40]
cmp dword [esp + 0xc], eax
ja 0x44ff3d
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], edx
jb 0x44ff1a
mov ecx, dword [ecx]
push dword [esp + 0xc]
mov esi, dword [esp + 0x44]
add esi, ecx
push 0x20
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
add esp, 0xc
mov byte [eax + esi], 0
mov esi, dword [esp + 0x14]
jmp 0x44ff53
mov eax, dword [esp + 0xc]
push 0x20
push eax
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
push eax
call fcn.004589a0
mov eax, dword [esi + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, 0x10
cmp esi, eax
je 0x44ffb9
lea eax, [edi + 0x250]
cmp dword [eax + 0x14], 0x10
mov edx, eax
mov ecx, dword [edi]
jb 0x44ff74
mov edx, dword [eax]
push dword [esp + 0x10]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push dword [esp + 0x10]
mov ecx, edi
push dword [ebp + 0x14]
push 0
push 1
push esi
call fcn.0044fb50
mov ecx, dword [edi]
push 2
push 0x486ab4
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
add esi, 0x10
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
sub eax, 0x10
cmp esi, eax
lea eax, [edi + 0x250]
jne 0x44ff68
cmp dword [edi + 0x264], 0x10
lea esi, [edi + 0x250]
mov ecx, dword [edi]
mov edx, esi
jb 0x44ffce
mov edx, dword [esi]
push dword [esp + 0x10]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push 0
mov eax, dword [eax + 8]
push 1
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.0044fb50
mov ecx, dword [edi]
push 0xa
mov eax, dword [ecx]
call dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, dword [edi]
jb 0x45000a
mov esi, dword [esi]
push dword [ebp + 0x18]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [edi]
push 0x5d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
push 0x5b
call dword [eax]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
sub eax, 0x10
cmp esi, eax
mov eax, dword [ebp + 0x18]
je 0x450077
push eax
push edx
push 0
push 0
push esi
mov ecx, edi
call fcn.0044fb50
mov ecx, dword [edi]
push 0x2c
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esp + 0x14]
add esi, 0x10
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
sub eax, 0x10
cmp esi, eax
mov eax, dword [ebp + 0x18]
jne 0x450047
push eax
mov eax, dword [ecx + 4]
mov ecx, edi
push edx
push 0
push 0
sub eax, 0x10
push eax
call fcn.0044fb50
mov ecx, dword [edi]
push 0x5d
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.00451bb0
mov ecx, dword [edi]
push 0x22
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 8], 0
mov ecx, dword [edi]
mov eax, dword [ecx]
je 0x4500ea
push 4
push str.true
jmp 0x4503b1
push 5
push str.false
jmp 0x4503b1
mov ecx, dword [esi + 8]
mov eax, ecx
mov esi, dword [esi + 0xc]
or eax, esi
jne 0x45011d
mov ecx, dword [edi]
push 0x30
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
test esi, esi
jg 0x45012e
jl 0x450127
test ecx, ecx
jne 0x45012e
mov byte [esp + 0x1f], 1
jmp 0x450133
mov byte [esp + 0x1f], 0
lea eax, [edi + 8]
xor edx, edx
mov dword [esp + 0xc], edx
mov edi, ecx
mov dword [esp + 0x40], eax
push 0
push 0xa
push esi
push edi
call fcn.00465600
mov esi, eax
mov dword [esp + 0x10], edx
lea ecx, [esi + esi*4]
add ecx, ecx
sub edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, edi
inc ecx
cdq
mov edi, esi
mov esi, dword [esp + 0x10]
xor eax, edx
sub eax, edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x40]
add al, 0x30
mov byte [edx], al
inc edx
mov eax, edi
mov dword [esp + 0x40], edx
or eax, esi
jne 0x450142
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x1f], al
je 0x450197
mov byte [edi + ecx + 8], 0x2d
inc ecx
mov dword [esp + 0xc], ecx
lea esi, [edi + 8]
lea eax, [esi + ecx]
push eax
push esi
call fcn.00464600
mov edx, dword [esp + 0x14]
add esp, 8
push edx
push esi
jmp 0x4503ad
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], ecx
je 0x450102
lea eax, [edi + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
nop dword [eax]
mov eax, edx
mov esi, 0xcccccccd
mul esi
lea edi, [esi - 1]
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, dword [esp + 0x40]
mul edi
mov edi, eax
mov dword [esp + 0x34], edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
mov ecx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x14]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
adc edx, 0
add edi, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x34]
adc ecx, 0
mov dword [esp + 0x38], edi
xor eax, eax
mov edi, dword [esp + 0xc]
add edx, ecx
mov ecx, dword [esp + 0x28]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x40]
adc esi, eax
inc edi
shrd ecx, esi, 3
mov dword [esp + 0xc], edi
shr esi, 3
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], esi
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
add al, 0x30
mov byte [edx], al
inc edx
mov dword [esp + 0x10], edx
mov edx, ecx
mov eax, edx
mov ecx, esi
or eax, esi
jne 0x4501e0
mov esi, dword [esp + 0x20]
lea eax, [edi + esi]
push eax
push esi
call fcn.00464600
mov ecx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [ecx]
push edi
push esi
jmp 0x4503af
movsd xmm0, qword [esi + 8]
sub esp, 8
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
movsd qword [esp + 0x28], xmm0
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__dclass
add esp, 8
test ax, ax
jg case.0x44fb7f.0
movsd xmm0, qword [esp + 0x20]
lea esi, [edi + 8]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dsign]
movsd xmm0, qword [esp + 0x28]
add esp, 8
test eax, eax
je 0x450309
xorps xmm0, xmmword [0x487d00]
lea esi, [edi + 9]
mov byte [edi + 8], 0x2d
ucomisd xmm0, qword [0x487c38]
lahf
test ah, 0x44
jp 0x450344
mov word [esi], 0x2e30
lea eax, [edi + 8]
mov byte [esi + 2], 0x30
add esi, 3
mov ecx, dword [edi]
sub esi, eax
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
push eax
movaps xmm3, xmm0
mov dword [esp + 0x1c], 0
lea edx, [esp + 0x44]
mov ecx, esi
call fcn.0045bcd0
mov edx, dword [esp + 0x44]
push ecx
push dword [esp + 0x20]
mov ecx, esi
call fcn.0040ad70
mov ecx, dword [edi]
add esp, 0xc
mov esi, eax
lea eax, [edi + 8]
sub esi, eax
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 4]
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14
push 0xb
push str._discarded_
jmp 0x4503ad
push 4
push str.null
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor ecx, esp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x14