Function at 0x4fd990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x114
mov ecx, dword [0xf9d9a4]
mov eax, dword [ecx]
push ebx
push ebp
push 0xd4
push str.FrontendFrontendFlowUpdateHelper.cpp
push 0x6000
call dword [eax]
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov dword [esp + 8], edx
lea ebx, [esp + 0x1c]
lea edx, [esp + 8]
mov dword [ecx + 0x44], eax
lea ebp, [eax + 0x6000]
mov dword [esp + 0x10], eax
call fcn.004fd900
lea eax, [esp + 0x1c]
push 0x5aa2b8
push eax
call fcn.0058670a
add esp, 8
test eax, eax
je 0x4fdef8
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
jmp 0x4fda07
xor ebx, ebx
cmp edi, ebx
je 0x4fda66
mov eax, dword [0xf9d9a4]
lea esi, [edi + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x10
call fcn.004fd440
mov dword [esi + 4], ebx
mov eax, dword [0xf9d9a4]
lea esi, [edi + 0x24]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x10
call fcn.004fd440
mov dword [esi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [esp + 0x14], edi
mov edx, edi
jmp 0x4fda6c
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 0x48]
add edi, 0x38
cmp ecx, ebx
mov dword [esp + 0x18], edi
jne 0x4fda86
mov dword [eax + 0x48], edx
jmp 0x4fda9c
mov eax, dword [ecx]
cmp eax, ebx
je 0x4fda98
lea esp, [esp]
mov ecx, eax
mov eax, dword [eax]
cmp eax, ebx
jne 0x4fda90
mov dword [ecx], edx
mov dword [edx], ebx
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4fdaa3
sub eax, edx
xor ecx, ecx
cmp eax, ebx
jle 0x4fdad9
lea edx, [esp + 0x24]
jbe 0x4fdad9
mov esi, eax
lea ebx, [ebx]
xor eax, eax
mov al, byte [edx]
xor eax, ecx
and eax, 0xff
call fcn.0050c390
shr ecx, 8
xor ecx, eax
inc edx
dec esi
jne 0x4fdac0
mov edx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov edx, dword [esp + 0x128]
mov eax, dword [edx + 0x24]
add edx, 0x20
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x20], ecx
jle 0x4fdb0c
mov edx, dword [edx]
lea esp, [esp]
cmp dword [edx], ecx
ja 0x4fdb0c
inc esi
add edx, 4
cmp esi, eax
jl 0x4fdb00
mov ecx, dword [esp + 0x128]
lea eax, [esp + 0x20]
push eax
mov eax, esi
add ecx, 0x20
call fcn.004fd3d0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x12c]
mov eax, esi
add ecx, 0xc
call fcn.004fd3d0
lea eax, [esp + 0x24]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4fdb40
sub eax, edx
or edx, 0xffffffff
sub edx, eax
add ebp, edx
mov edx, ebp
lea ecx, [esp + 0x24]
lea eax, [esp + 0x24]
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
cmp cl, bl
jne 0x4fdb60
mov edx, dword [esp + 0x14]
mov dword [edx + 8], ebp
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea eax, [esp + 0x24]
push 0x5ac4dc
push eax
call fcn.0058670a
add esp, 8
test eax, eax
je 0x4fdecf
lea ecx, [esp + 0x24]
push ecx
push str.LOADSETS
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fdcf7
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea edx, [esp + 0x24]
push 0x5ac4dc
push edx
call fcn.0058670a
add esp, 8
test eax, eax
je 0x4fdea8
cmp byte [esp + 0x24], 0x40
jne 0x4fdc57
lea eax, [esp + 0x25]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fdc01
sub eax, edx
test eax, eax
jg 0x4fdc12
xor ebx, ebx
jmp 0x4fdc3b
xor ecx, ecx
test eax, eax
lea edx, [esp + 0x25]
jbe 0x4fdc39
mov esi, eax
mov edi, edi
xor eax, eax
mov al, byte [edx]
xor eax, ecx
and eax, 0xff
call fcn.0050c390
shr ecx, 8
xor ecx, eax
inc edx
dec esi
jne 0x4fdc20
mov ebx, ecx
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x28]
add esi, 0x24
lea eax, [edi + 1]
call fcn.004fd440
inc dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + edi*4], ebx
jmp 0x4fdcc3
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fdc60
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x4fdc90
lea edx, [esp + 0x24]
jbe 0x4fdc90
mov esi, eax
xor eax, eax
mov al, byte [edx]
xor eax, ecx
and eax, 0xff
call fcn.0050c390
shr ecx, 8
xor ecx, eax
inc edx
dec esi
jne 0x4fdc77
xor eax, eax
cmp dword [eax*4 + 0x68d530], ecx
je 0x4fdcf3
inc eax
cmp eax, 0x173
jb 0x4fdc92
xor ebx, ebx
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x14]
add esi, 0x10
lea eax, [edi + 1]
call fcn.004fd440
mov eax, dword [esi + 4]
mov ecx, dword [esi]
inc eax
mov dword [esi + 4], eax
mov dword [ecx + edi*4], ebx
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea edx, [esp + 0x24]
push 0x5ac4dc
push edx
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fdbf3
mov edi, dword [esp + 0x18]
jmp 0x4fdea8
mov ebx, eax
jmp 0x4fdca5
lea eax, [esp + 0x24]
push eax
push str.LAYERS
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fdea8
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea ecx, [esp + 0x24]
push 0x5ac4dc
push ecx
call fcn.0058670a
add esp, 8
test eax, eax
je 0x4fdea8
xor edx, edx
cmp edi, edx
je 0x4fdd5d
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 0xc], edx
mov dword [edi + 8], edx
mov byte [edi + 0x10], dl
mov esi, edi
jmp 0x4fdd5f
xor esi, esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
add edi, 0x14
cmp ecx, edx
jne 0x4fdd72
mov dword [eax + 0xc], esi
jmp 0x4fdd84
mov eax, dword [ecx]
cmp eax, edx
je 0x4fdd80
mov ecx, eax
mov eax, dword [eax]
cmp eax, edx
jne 0x4fdd78
mov dword [ecx], esi
mov dword [esi], edx
lea edx, [esp + 0x24]
push edx
call fcn.0057ed0c
add esp, 4
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
mov dword [esi + 4], eax
call fcn.004fd900
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fdda8
sub eax, edx
mov ecx, 0xffffffff
sub ecx, eax
add ebp, ecx
mov edx, ebp
lea ecx, [esp + 0x24]
lea eax, [esp + 0x24]
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4fddc6
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
mov dword [esi + 8], ebp
call fcn.004fd900
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fdde7
sub eax, edx
or edx, 0xffffffff
sub edx, eax
add ebp, edx
mov edx, ebp
lea ecx, [esp + 0x24]
lea eax, [esp + 0x24]
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4fde03
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
mov dword [esi + 0xc], ebp
call fcn.004fd900
lea edx, [esp + 0x24]
push str.Reload
push edx
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fde39
mov byte [esi + 0x10], 1
jmp 0x4fde52
lea eax, [esp + 0x24]
push str.NoReload
push eax
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fde52
mov byte [esi + 0x10], al
mov esi, dword [esp + 0x10]
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea ecx, [esp + 0x24]
push 0x5ac4dc
push ecx
call fcn.0058670a
add esp, 8
test eax, eax
je 0x4fdea4
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.004fd900
lea edx, [esp + 0x24]
push 0x5ac4dc
push edx
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fdd45
mov dword [esp + 0x18], edi
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea eax, [esp + 0x24]
push 0x5ac4dc
push eax
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fdba5
lea ebx, [esp + 0x24]
lea edx, [esp + 0x10]
call fcn.004fd900
lea ecx, [esp + 0x24]
push 0x5aa2b8
push ecx
call fcn.0058670a
add esp, 8
test eax, eax
jne 0x4fda05
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8