Function at 0x455a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea926
mov eax, dword fs:[0]
push eax
sub esp, 0x734
mov eax, dword [0x52610c]
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 eax, ecx
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp + 0xc]
lea ebx, [eax + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a0], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x198], 0
push ebx
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x19c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x455afe
mov eax, dword [edi]
jmp 0x455b00
mov eax, edi
push 0
push 0x507250
mov ecx, edi
mov byte [eax], 0
call fcn.00409af0
push 0
push 0x507250
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00409af0
mov byte [ebp - 0x175], 0
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 3
cmp byte [0x526b52], 0
je 0x455d26
lea eax, [ebp - 0x28]
push eax
call fcn.0045a100
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x455bcc
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x455bb1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00407660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x455be5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
sub esp, 8
lea ecx, [ebp - 0x270]
call fcn.00404d30
mov edx, str.Cache_Version:
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.004060e0
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00406390
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x270]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 0x10
jb 0x455c2e
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
mov dword [ebp - 0x194], eax
test eax, eax
jne 0x455c6a
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x17c], eax
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00404270
mov byte [ebp - 4], 6
mov dword [ebp - 0x194], eax
mov dword [0x52e1c0], eax
cmp dword [eax + 0xb8], 1
jg 0x455cd9
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x455c9e
mov eax, dword [edx]
jmp 0x455ca0
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x455cac
xor ecx, ecx
jmp 0x455cc4
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x17c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455cb7
sub ecx, dword [ebp - 0x17c]
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, dword [ebp - 0x194]
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x455cee
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x208]
call fcn.00404c40
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d017
mov byte [ebp - 4], 3
add esp, 4
mov byte [0x526b52], 0
jmp 0x456135
lea eax, [ebp - 0x98]
push eax
call fcn.00458a20
push eax
lea ecx, [ebp - 0x104]
call fcn.00456ed0
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x455d53
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004099a0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x455d83
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.004099a0
sub esp, 8
lea ecx, [ebp - 0x320]
call fcn.00404d30
mov edx, str.IDC_Version_1:
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x310]
call fcn.004060e0
lea edx, [ebp - 0x104]
mov ecx, eax
call fcn.00406390
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x320]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 0x10
jb 0x455dcf
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x455e03
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x184], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00404270
mov edi, eax
mov byte [ebp - 4], 0xa
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 1
jg 0x455e6e
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x455e37
mov eax, dword [edx]
jmp 0x455e39
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x455e45
xor ecx, ecx
jmp 0x455e5d
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x184], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455e50
sub ecx, dword [ebp - 0x184]
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, edi
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x455e83
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x2b8]
call fcn.00404c40
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d017
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0xf4], 0
jne 0x455f15
lea eax, [ebp - 0x28]
push eax
call fcn.0045a100
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x455efa
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x455edf
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00407660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x455f28
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
jmp 0x455f28
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409690
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edi, dword [eax]
call fcn.004131f0
mov esi, eax
cmp esi, edi
je 0x455fb1
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
lea edx, [eax + 0x10]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x184], edx
jb 0x455f61
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp - 0x184]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebx]
cmovb eax, edx
push eax
push dword [ebp - 0x194]
push ecx
call fcn.00413f70
add esp, 0xc
test eax, eax
jne 0x455fa4
mov eax, dword [ebp - 0x30]
mov edx, ebx
mov ecx, dword [edx]
cmp ecx, eax
jbe 0x455fa0
or eax, 0xffffffff
jmp 0x455fa4
sbb eax, eax
neg eax
mov ebx, dword [ebp - 0x19c]
shr eax, 0x1f
test al, al
je 0x455fb3
mov esi, edi
cmp esi, edi
je 0x456125
mov ecx, dword [ebp - 0x190]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.0045b490
mov eax, dword [ebp - 0x188]
mov edi, dword [ebp - 0x17c]
add eax, 0x28
cmp edi, eax
je 0x455ff0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00409690
sub esp, 8
mov byte [ebp - 0x175], 1
lea ecx, [ebp - 0x3d0]
call fcn.00404d30
mov edx, str.gameList_from_memory...
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3c0]
call fcn.004060e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x14], 0x10
jb 0x456036
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
mov dword [ebp - 0x184], eax
test eax, eax
jne 0x456072
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x17c], eax
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00404270
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x184], eax
mov dword [0x52e1c0], eax
cmp dword [eax + 0xb8], 1
jg 0x4560e2
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x4560a6
mov eax, dword [edx]
jmp 0x4560a8
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x4560b4
xor ecx, ecx
jmp 0x4560cd
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x17c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4560c0
sub ecx, dword [ebp - 0x17c]
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4560f7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x368]
call fcn.00404c40
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 0x11
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d017
add esp, 4
mov byte [ebp - 4], 3
jmp 0x45612b
mov edi, dword [ebp - 0x17c]
cmp dword [edi + 0x10], 0
ja 0x456a46
cmp dword [ebp - 0x30], 0
jne 0x45634d
lea eax, [ebp - 0x98]
push eax
call fcn.00458a20
push eax
lea ecx, [ebp - 0x104]
call fcn.00456ed0
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x45616c
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004099a0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x45619c
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.004099a0
sub esp, 8
lea ecx, [ebp - 0x480]
call fcn.00404d30
mov edx, str.IDC_Version_2:
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x470]
call fcn.004060e0
lea edx, [ebp - 0x104]
mov ecx, eax
call fcn.00406390
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x480]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0x13
cmp dword [esi + 0x14], 0x10
jb 0x4561e8
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
mov dword [ebp - 0x17c], eax
test eax, eax
jne 0x456224
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x17c], eax
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00404270
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x17c], eax
mov dword [0x52e1c0], eax
cmp dword [eax + 0xb8], 1
jg 0x456293
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x456258
mov eax, dword [edx]
jmp 0x45625a
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x456266
xor ecx, ecx
jmp 0x45627e
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x184], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456271
sub ecx, dword [ebp - 0x184]
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4562a8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x418]
call fcn.00404c40
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d017
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0xf4], 0
jne 0x45633a
lea eax, [ebp - 0x28]
push eax
call fcn.0045a100
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x45631f
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x456304
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00407660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x45634d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
jmp 0x45634d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409690
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004595a0
mov esi, eax
cmp edi, esi
je 0x456399
cmp dword [edi + 0x14], 0x10
jb 0x456374
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x45638c
mov eax, dword [edi]
jmp 0x45638e
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4563b2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
cmp dword [edi + 0x10], 0
jbe 0x4563c6
push edi
call fcn.00459f50
test eax, eax
jne 0x456a46
cmp dword [ebp - 0xdc], 0
jbe 0x456882
mov dword [ebp - 0x68], 0x4f4a002e
mov word [ebp - 0x64], 0x5a
mov dword [ebp - 0x58], 0x18141275
mov dword [ebp - 0x54], 0x61c3910
mov word [ebp - 0x50], 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x19
call fcn.004782b0
mov edx, eax
mov byte [ebp - 4], 0x1a
mov cl, byte [ebp - 0x58]
movzx eax, byte [ebp - 0x57]
xor al, cl
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x4e], al
movzx eax, byte [ebp - 0x56]
xor al, cl
mov byte [ebp - 0x4d], al
movzx eax, byte [ebp - 0x55]
xor al, cl
mov byte [ebp - 0x4c], al
movzx eax, byte [ebp - 0x54]
xor al, cl
mov byte [ebp - 0x4b], al
movzx eax, byte [ebp - 0x53]
xor al, cl
mov byte [ebp - 0x4a], al
movzx eax, byte [ebp - 0x52]
xor al, cl
mov byte [ebp - 0x49], al
movzx eax, byte [ebp - 0x51]
xor al, cl
mov byte [ebp - 0x48], al
movzx eax, byte [ebp - 0x50]
xor al, cl
mov byte [ebp - 0x47], al
lea eax, [ebp - 0x4e]
push eax
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.00407900
push str._temp
push eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00407900
mov edx, eax
mov byte [ebp - 4], 0x1c
mov cl, byte [ebp - 0x68]
movzx eax, byte [ebp - 0x67]
xor al, cl
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x62], al
movzx eax, byte [ebp - 0x66]
xor al, cl
mov byte [ebp - 0x61], al
movzx eax, byte [ebp - 0x65]
xor al, cl
mov byte [ebp - 0x60], al
movzx eax, byte [ebp - 0x64]
xor al, cl
mov byte [ebp - 0x5f], al
lea eax, [ebp - 0x62]
push eax
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.00407900
add esp, 0x24
mov eax, dword [ebp - 0xb8]
cmp eax, 0x10
jb 0x4564df
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.004099a0
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x456518
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.004099a0
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x456548
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov byte [ebp - 0x4f], 0
movq qword [ebp - 0x57], xmm0
sub esp, 8
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x67], 0
mov byte [ebp - 0x63], 0
call fcn.00404d30
mov edx, str.IDC_version_download:
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x520]
call fcn.004060e0
lea edx, [ebp - 0x104]
mov ecx, eax
call fcn.00406390
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x530]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0x24
cmp dword [esi + 0x14], 0x10
jb 0x4565c1
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
mov dword [ebp - 0x17c], eax
test eax, eax
jne 0x4565fd
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x17c], eax
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.00404270
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x17c], eax
mov dword [0x52e1c0], eax
cmp dword [eax + 0xb8], 1
jg 0x456672
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x456631
mov eax, dword [edx]
jmp 0x456633
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x45663f
xor ecx, ecx
jmp 0x45665d
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x184], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456650
sub ecx, dword [ebp - 0x184]
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.00404920
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x456687
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004099a0
lea ecx, [ebp - 0x4c8]
call fcn.00404c40
lea eax, [ebp - 0x4c8]
mov byte [ebp - 4], 0x26
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d017
push ecx
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x22
call fcn.00411520
push ecx
lea edx, [ebp - 0x11c]
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x80]
call fcn.0041fd00
mov esi, eax
lea edx, [ebp - 0xec]
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x28]
call fcn.0041fd00
add esp, 4
mov byte [ebp - 4], 0x29
cmp dword [esi + 0x14], 8
jb 0x4566f2
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4566fa
mov eax, dword [eax]
push ecx
push 0
push esi
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004122f0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45671f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
xor eax, eax
mov byte [ebp - 4], 0x27
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x45674c
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00403f90
lea edx, [ebp - 0x11c]
lea ecx, [ebp - 0x80]
call fcn.00420580
mov esi, eax
cmp edi, esi
je 0x456799
cmp dword [edi + 0x14], 0x10
jb 0x456774
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x45678c
mov eax, dword [edi]
jmp 0x45678e
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x4567b2
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004099a0
cmp dword [edi + 0x10], 0
jbe 0x456801
push edi
call fcn.00459f50
test eax, eax
je 0x456801
mov esi, dword [ebp - 0x18c]
lea ecx, [ebp - 0x1c0]
mov byte [esi], 1
call fcn.004119d0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x108]
cmp eax, 0x10
jb 0x456a4c
inc eax
lea ecx, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
call fcn.004099a0
jmp 0x456a4c
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je 0x456864
push dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1b8]
push ecx
call fcn.004140c0
mov ecx, dword [ebp - 0x1b4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1bc]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00414110
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x108]
cmp eax, 0x10
jb 0x456882
inc eax
lea ecx, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
call fcn.004099a0
movaps xmm0, xmmword [0x50c7b0]
movups xmmword [ebp - 0xd4], xmm0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x2b
call fcn.00477170
mov edx, eax
mov byte [ebp - 4], 0x2c
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [ebp + ecx - 0xd3]
xor al, byte [ebp - 0xd4]
mov byte [ebp + ecx - 0xc4], al
movzx eax, byte [ebp + ecx - 0xd2]
xor al, byte [ebp - 0xd4]
mov byte [ebp + ecx - 0xc3], al
add ecx, 2
cmp ecx, 0xe
jb 0x4568b0
lea eax, [ebp - 0xc4]
mov byte [ebp - 0xb6], 0
push eax
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.00407900
add esp, 8
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00458340
mov esi, eax
cmp edi, esi
je 0x45694d
cmp dword [edi + 0x14], 0x10
jb 0x456928
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x456940
mov eax, dword [edi]
jmp 0x456942
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x456962
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x456992
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.004099a0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
cmp eax, 0x10
jb 0x4569c2
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004099a0
mov byte [ebp - 4], 3
cmp dword [edi + 0x10], 0
jbe 0x456a46
sub esp, 8
lea ecx, [ebp - 0x5e0]
call fcn.00404d30
mov edx, str.IDC_version_request:
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x5d0]
call fcn.004060e0
lea edx, [ebp - 0x104]
mov ecx, eax
call fcn.00406390
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x5e0]
call fcn.00404c20
mov ecx, eax
mov byte [ebp - 4], 0x30
call fcn.00407960
push eax
push 1
call fcn.00404210
mov ecx, eax
call fcn.004048b0
lea ecx, [ebp - 0x80]
call fcn.004095a0
lea ecx, [ebp - 0x5e0]
mov byte [ebp - 4], 3
call fcn.00404af0
mov esi, dword [ebp - 0x18c]
mov byte [esi], 1
jmp 0x456a55
mov esi, dword [ebp - 0x18c]
cmp byte [esi], 0
je 0x456ad4
sub esp, 8
lea ecx, [ebp - 0x690]
call fcn.00404d30
mov edx, str.gameList_saved:
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x680]
call fcn.004060e0
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00406390
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x690]
call fcn.00404c20
mov ecx, eax
mov byte [ebp - 4], 0x32
call fcn.00407960
push eax
push 1
call fcn.00404210
mov ecx, eax
call fcn.004048b0
lea ecx, [ebp - 0x80]
call fcn.004095a0
lea ecx, [ebp - 0x690]
mov byte [ebp - 4], 3
call fcn.00404af0
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.00459370
lea eax, [ebp - 0x40]
push eax
call fcn.0045a620
cmp byte [ebp - 0x175], 0
jne 0x456c28
mov edx, edi
lea ecx, [ebp - 0x80]
call fcn.0040c460
push eax
mov ecx, edi
call fcn.0040ce60
lea ecx, [ebp - 0x80]
call fcn.004095a0
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x17c]
push ecx
mov esi, dword [eax]
mov ecx, eax
call fcn.00412b40
cmp dword [eax], esi
jne 0x456b53
push edi
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x98]
call fcn.0045afb0
add esp, 4
mov ecx, dword [ebp - 0x190]
push eax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0x33
push eax
call fcn.00414db0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00413730
jmp 0x456b75
mov eax, dword [ebp - 0x18c]
cmp byte [eax], 0
je 0x456b75
mov ecx, dword [ebp - 0x190]
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0045aa00
mov ecx, eax
call fcn.00407970
sub esp, 8
lea ecx, [ebp - 0x740]
call fcn.00404d30
mov edx, str.gameList_update_to_memory:
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x730]
call fcn.004060e0
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00406390
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x740]
call fcn.00404c20
mov ecx, eax
mov byte [ebp - 4], 0x35
call fcn.00407960
push eax
push 1
call fcn.00404210
mov ecx, eax
call fcn.004048b0
lea ecx, [ebp - 0x80]
call fcn.004095a0
lea ecx, [ebp - 0x740]
mov byte [ebp - 4], 3
call fcn.00404af0
push edi
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x174]
call fcn.00456e00
push eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x36
call fcn.0045afe0
mov ecx, eax
mov byte [ebp - 4], 0x37
call fcn.00432b50
lea ecx, [ebp - 0x1a4]
call fcn.0041f8e0
lea ecx, [ebp - 0x174]
call fcn.00456f90
lea ecx, [ebp - 0x104]
call fcn.00413730
lea ecx, [ebp - 0x40]
call fcn.004095a0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
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.004a0525
mov esp, ebp
pop ebp
ret 0xc