Function at 0x492400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6236f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov edi, ecx
mov ecx, esi
call edx
test al, al
je 0x4924b1
push 0x5b086c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x5b086c
push eax
lea ecx, [edi + 4]
call fcn.004057d0
test byte [0x6267f4], 1
jne 0x492473
or dword [0x6267f4], 1
push 0x5a2500
call fcn.005529f1
add esp, 4
push 0xff
mov ecx, 0x625e30
call fcn.00419530
mov dword [edi + 8], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, byte [ebp - 0x26]
mov cx, word [ebp - 0x28]
mov al, byte [ebp - 0x22]
mov byte [edi + 0x1a], dl
movzx edx, byte [ebp - 0x1e]
mov word [edi + 0x18], cx
mov cl, byte [ebp - 0x20]
mov byte [edi + 0x1b], al
mov byte [edi + 0x1c], cl
mov byte [edi + 0x1d], dl
mov edx, dword [esi]
lea eax, [edi + 4]
mov dword [ebp - 0x68], eax
push eax
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
mov edx, dword [esi]
lea eax, [edi + 8]
mov dword [ebp - 0x6c], eax
push eax
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test al, al
jne 0x492526
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov ebx, dword [edx - 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
add ebx, 5
call edx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
cmp ebx, ecx
jge 0x492526
jmp 0x492500
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [ebp - 0x6c]
mov cl, byte [edx]
mov eax, dword [eax]
xor byte [eax + ebx], cl
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
inc ebx
call eax
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
cmp ebx, ecx
jl 0x492500
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test al, al
je 0x49265c
mov ecx, dword [0x625c5c]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d200
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0041d360
mov eax, dword [ebp - 0x64]
cmp dword [eax - 8], 7
mov byte [ebp - 4], 1
jge 0x4925af
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x492599
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x492599
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0041d150
xor eax, eax
jmp 0x492d4c
movzx edx, byte [eax]
mov byte [ebp - 0x18], dl
movzx ecx, byte [eax + 1]
mov byte [ebp - 0x17], cl
movzx edx, byte [eax + 2]
mov byte [ebp - 0x16], dl
movzx ecx, byte [eax + 3]
mov byte [ebp - 0x15], cl
movzx edx, byte [eax + 4]
mov byte [ebp - 0x14], dl
movzx ecx, byte [eax + 5]
mov byte [ebp - 0x13], cl
movzx edx, byte [eax + 6]
mov eax, dword [esi]
mov byte [ebp - 0x12], dl
mov edx, dword [eax + 4]
mov ecx, esi
lea ebx, [ebp - 0x18]
call edx
test al, al
je 0x492608
mov dword [ebp - 0x5c], 8
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push ebx
mov ecx, esi
call edx
inc ebx
dec dword [ebp - 0x5c]
jne 0x4925f6
jmp 0x492620
mov dword [ebp - 0x5c], 8
nop
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push ebx
mov ecx, esi
call edx
inc ebx
dec dword [ebp - 0x5c]
jne 0x492610
mov eax, dword [ebp - 0x64]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x49264b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49264b
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0041d150
jmp 0x4926af
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
lea ebx, [edi + 0xc]
call eax
test al, al
je 0x492685
mov dword [ebp - 0x5c], 8
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push ebx
mov ecx, esi
call eax
inc ebx
dec dword [ebp - 0x5c]
jne 0x492673
jmp 0x4926a0
mov dword [ebp - 0x5c], 8
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push ebx
mov ecx, esi
call eax
inc ebx
dec dword [ebp - 0x5c]
jne 0x492690
mov ecx, edi
call fcn.0048fbc0
test eax, eax
je 0x4925a8
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea eax, [edi + 0x14]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [edi + 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [edi + 0x1a]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [edi + 0x1b]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [edi + 0x1c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [edi + 0x1d]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x20]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x24]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x34]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
lea ecx, [edi + 0x3c]
push ecx
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [edi + 0x40]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x44]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x48]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x4c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [edi + 0x50]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x54]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x58]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x5c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x60]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x64]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x68]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x6c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
lea ebx, [edi + 0x70]
call edx
test al, al
je 0x49282c
mov dword [ebp - 0x5c], 3
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ebx
mov ecx, esi
call edx
add ebx, 4
dec dword [ebp - 0x5c]
jne 0x492818
jmp 0x492845
mov dword [ebp - 0x5c], 3
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ebx
mov ecx, esi
call edx
add ebx, 4
dec dword [ebp - 0x5c]
jne 0x492833
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
lea ebx, [edi + 0x7c]
call edx
test al, al
je 0x492874
mov dword [ebp - 0x5c], 5
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push ebx
mov ecx, esi
call edx
add ebx, 0x30
dec dword [ebp - 0x5c]
jne 0x492860
jmp 0x492892
mov dword [ebp - 0x5c], 5
jmp 0x492880
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push ebx
mov ecx, esi
call edx
add ebx, 0x30
dec dword [ebp - 0x5c]
jne 0x492880
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [edi + 0x16c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [edi + 0x174]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x17c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [edi + 0x180]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [edi + 0x190]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
lea ebx, [edi + 0x1a0]
call edx
test al, al
je 0x492914
mov dword [ebp - 0x5c], 5
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push ebx
mov ecx, esi
call edx
add ebx, 0x10
dec dword [ebp - 0x5c]
jne 0x492900
jmp 0x492932
mov dword [ebp - 0x5c], 5
jmp 0x492920
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push ebx
mov ecx, esi
call edx
add ebx, 0x10
dec dword [ebp - 0x5c]
jne 0x492920
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [edi + 0x1f0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [edi + 0x200]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
lea ebx, [edi + 0x210]
call edx
test al, al
je 0x492984
mov dword [ebp - 0x5c], 5
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push ebx
mov ecx, esi
call edx
add ebx, 0x10
dec dword [ebp - 0x5c]
jne 0x492970
jmp 0x4929a2
mov dword [ebp - 0x5c], 5
jmp 0x492990
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push ebx
mov ecx, esi
call edx
add ebx, 0x10
dec dword [ebp - 0x5c]
jne 0x492990
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x260]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x264]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x268]
push ecx
mov ecx, esi
call edx
lea eax, [edi + 0x26c]
push eax
mov ecx, esi
call fcn.00491690
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test al, al
je 0x492a4a
mov ecx, dword [edi + 0x280]
sub ecx, dword [edi + 0x27c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], ecx
push eax
mov ecx, esi
call edx
mov ebx, dword [edi + 0x27c]
cmp ebx, dword [edi + 0x280]
je 0x492b54
jmp 0x492a30
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push ebx
mov ecx, esi
call edx
add ebx, 0xc
cmp ebx, dword [edi + 0x280]
jne 0x492a30
jmp 0x492b54
mov eax, dword [edi + 0x280]
mov ebx, dword [edi + 0x27c]
mov dword [ebp - 0x5c], eax
cmp ebx, eax
je 0x492acf
mov dword [ebp - 0x64], eax
cmp eax, eax
je 0x492a9a
sub eax, ebx
mov dword [ebp - 0x14], eax
lea esp, [esp]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + ebx + 4]
mov edx, dword [ebp - 0x64]
add edx, 8
mov dword [ebx + 4], ecx
push edx
lea ecx, [ebx + 8]
call fcn.00407060
mov eax, dword [ebp - 0x64]
add eax, 0xc
add ebx, 0xc
mov dword [ebp - 0x64], eax
cmp eax, dword [ebp - 0x5c]
jne 0x492a70
mov eax, dword [edi + 0x280]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x5c], ebx
cmp ebx, eax
je 0x492ac9
lea ebx, [ebx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov edx, dword [eax]
push 0
call edx
mov eax, dword [ebp - 0x5c]
add eax, 0xc
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x14]
jne 0x492ab0
mov dword [edi + 0x280], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, esi
call edx
mov eax, dword [0x610024]
mov dword [ebp - 0x24], vtable.CSaveData::ScenairoFgFmt.0
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x60], ebx
jle 0x492b25
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x27c]
call fcn.004915d0
inc ebx
cmp ebx, dword [ebp - 0x60]
jl 0x492b00
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0xc]
mov dword [ebp - 4], 0xffffffff
cmp ecx, dword [0x610020]
je 0x492b54
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x492b54
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00551d56
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [edi + 0x28c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
lea ebx, [edi + 0x2a0]
call edx
test al, al
je 0x492b94
mov dword [ebp - 0x60], 0x7d0
mov edi, edi
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
push ebx
mov ecx, esi
call edx
add ebx, 4
dec dword [ebp - 0x60]
jne 0x492b80
jmp 0x492bb2
mov dword [ebp - 0x60], 0x7d0
jmp 0x492ba0
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
push ebx
mov ecx, esi
call edx
add ebx, 4
dec dword [ebp - 0x60]
jne 0x492ba0
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [edi + 0x21e0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [edi + 0x21e4]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test al, al
jne 0x492bec
cmp dword [edi + 0x2214], 0
jne 0x492d47
lea eax, [edi + 0x21e8]
push eax
mov ecx, esi
call fcn.004922f0
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea eax, [edi + 0x21fc]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [edi + 0x2200]
push ecx
mov ecx, esi
call edx
lea eax, [edi + 0x2204]
push eax
mov ecx, esi
call fcn.00492380
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test al, al
je 0x492c8b
mov ecx, dword [0x617ad4]
add edi, 0x21f8
mov dword [edi], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push edi
mov ecx, esi
call eax
xor ebx, ebx
cmp dword [edi], ebx
jle 0x492cf7
mov ecx, ebx
shl ecx, 5
push 0
push ecx
mov ecx, 0x617ac4
call fcn.0043edc0
push 0x20
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x617ac4
call fcn.0043ecb0
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.00490200
inc ebx
cmp ebx, dword [edi]
jl 0x492c57
jmp 0x492cf7
mov ecx, 0x617ac4
call fcn.0048ffc0
mov ecx, 0x617ac4
call fcn.0048f6e0
xor ebx, ebx
mov dword [0x617ad4], ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
add edi, 0x21f8
push edi
mov ecx, esi
call eax
mov ecx, dword [edi]
dec ecx
test ecx, ecx
jle 0x492cf7
mov edi, edi
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
call fcn.00490200
push 2
push 0
mov ecx, 0x617ac4
call fcn.0043edc0
push 0x20
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x617ac4
call fcn.0048f5d0
inc dword [0x617ad4]
mov ecx, dword [edi]
inc ebx
dec ecx
cmp ebx, ecx
jl 0x492cc0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test al, al
je 0x492d47
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov edi, dword [edx - 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
add edi, 5
call edx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
cmp edi, ecx
jge 0x492d47
mov ebx, dword [ebp - 0x6c]
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov eax, dword [eax]
mov dl, byte [ebx]
xor byte [eax + edi], dl
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
inc edi
call edx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
cmp edi, ecx
jl 0x492d24
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00551802
mov esp, ebp
pop ebp
ret 4