Function at 0x476d10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58952c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6236f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x60], edi
push 8
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], edi
mov dword [ebx + 0xc4], eax
call fcn.00551f1b
add esp, 4
cmp eax, edi
je 0x476d70
mov dword [eax], vtable.CSaveLoadViewListener.0
mov dword [eax + 4], ebx
jmp 0x476d72
xor eax, eax
push eax
lea ecx, [ebx + 0xa4]
call fcn.004720a0
mov esi, dword [ebx + 0xa8]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
cmp esi, edi
je 0x476da0
add esi, 4
mov edx, 1
lock xadd dword [esi], edx
mov byte [ebp - 4], 1
call fcn.00408fe0
mov edx, dword [eax]
mov edx, dword [edx]
push 0x628d84
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp esi, edi
je 0x476def
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x476def
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x476def
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
call fcn.004114e0
push 0xffffffffffffffff
mov ecx, eax
call fcn.00435160
call fcn.004114e0
push 1
push 0xffffffffffffffff
mov ecx, eax
call fcn.00435320
call fcn.004114e0
mov ecx, eax
call fcn.00434b20
xor edi, edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 2
jmp 0x476e30
cmp edi, 0x64
jge 0x476f05
push 0x38
call fcn.00551f1b
add esp, 4
test eax, eax
je 0x476e9e
mov dword [eax], vtable.CDataText.0
xor ecx, ecx
mov dword [eax + 4], ecx
mov edx, dword [0x610024]
mov dword [eax + 0xc], edx
mov edx, dword [0x610024]
mov dword [eax + 0x10], edx
mov edx, dword [0x610024]
mov dword [eax + 0x14], edx
mov edx, dword [0x610024]
mov dword [eax + 0x18], edx
mov edx, dword [0x610024]
mov dword [eax + 0x1c], edx
mov edx, dword [0x610024]
mov dword [eax + 0x20], edx
mov edx, dword [0x610024]
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov esi, eax
jmp 0x476ea0
xor esi, esi
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], esi
call fcn.00470fb0
push esi
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.00472620
add esp, 0xc
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebx + 0x44]
mov byte [ebp - 4], 3
call fcn.00430c50
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test esi, esi
je 0x476eff
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x476eff
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x476eff
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
inc edi
jmp 0x476e30
fldz
lea eax, [ebp - 0x88]
mov dword [ebp - 0x98], eax
fstp dword [ebp - 0x9c]
lea eax, [ebx + 0x44]
mov dword [ebp - 0xa0], 0x5aea94
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 4
call fcn.00408fe0
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
test eax, eax
je 0x476f61
lea edx, [eax + 4]
mov esi, 1
lock xadd dword [edx], esi
mov dword [ebx + 0xac], ecx
mov esi, dword [ebx + 0xb0]
mov dword [ebx + 0xb0], eax
test esi, esi
je 0x476fa1
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x476fa1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x476fa1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x80]
push str.parts_save_load_
mov dword [ebx + 0xc8], eax
lea edi, [ebx + 0xd0]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.parts_save_load_
push eax
mov ecx, edi
call fcn.004057d0
push 0x64
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 5
test ecx, ecx
je 0x476fed
push 0x628f38
call fcn.00473bf0
mov esi, eax
jmp 0x476fef
xor esi, esi
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], esi
call fcn.00471550
push esi
lea ecx, [ebp - 0x44]
push esi
push ecx
call fcn.00472620
mov eax, dword [ebp - 0x44]
mov edx, dword [ebx + 0x84]
mov dword [ebx + 0x84], eax
mov esi, dword [ebx + 0x88]
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x44], edx
mov dword [ebx + 0x88], eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x47705f
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47705f
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47705f
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebx + 0x84]
or ecx, 0xffffffff
or edx, ecx
mov dword [eax + 0x40], 0
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], edx
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x84]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477099
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 6
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 4
test esi, esi
je 0x4770df
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4770df
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4770df
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebx + 0xc4]
test eax, eax
je 0x477bdc
cmp eax, 1
je 0x477bdc
cmp eax, 2
je 0x477603
cmp eax, 3
je 0x477603
cmp eax, 4
jne 0x47757d
push 0x44
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x2d
test ecx, ecx
je 0x477146
fld dword [0x5ae8f0]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push 0x628f34
call fcn.004509d0
mov esi, eax
jmp 0x477148
xor esi, esi
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
mov dword [ebp - 0x4c], esi
call fcn.0044ab90
push esi
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x2e
call edx
mov esi, dword [eax]
push 0x5aeecc
push edi
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x2f
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x30
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x4771c8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4771c8
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x2e
test esi, esi
je 0x4771fd
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4771fd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4771fd
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477223
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x31
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x2e
test esi, esi
je 0x477269
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477269
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477269
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x84
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x32
test ecx, ecx
je 0x4772a3
fld dword [0x5acc48]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push edx
push ebx
push 0x628f4c
call fcn.00473cb0
mov esi, eax
jmp 0x4772a5
xor esi, esi
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2e
mov dword [ebp - 0x54], esi
call fcn.00471050
push esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
mov bl, 0x33
push eax
mov byte [ebp - 4], bl
call edx
mov esi, dword [eax]
mov edi, dword [ebp - 0x2c]
push 0x628fa8
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x34
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x35
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x47732f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47732f
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], bl
test esi, esi
je 0x477363
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x477363
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477363
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x80], 0x470d20
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x47738c
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [edi + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x36
call eax
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test esi, esi
je 0x4773d5
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4773d5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4773d5
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x44
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
xor eax, eax
mov byte [ebp - 4], 0x37
test ecx, ecx
je 0x477406
fld dword [0x5aeec8]
push ecx
fstp dword [esp]
xor edx, edx
push edx
push eax
push 0x628f54
call fcn.004509d0
mov edi, dword [ebp - 0x2c]
push eax
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], bl
call fcn.0044ca10
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
call edx
mov esi, dword [eax]
push 0x628f98
mov eax, edi
add eax, 0xd0
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x38
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x39
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x47747a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47747a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], bl
test esi, esi
je 0x4774ae
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4774ae
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4774ae
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4774ca
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x3a
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test esi, esi
je 0x477510
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477510
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477510
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x50]
mov byte [ebp - 4], 0x2e
test esi, esi
je 0x477545
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477545
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477545
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x48]
mov byte [ebp - 4], 4
test esi, esi
je 0x47757a
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47757a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47757a
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov ecx, dword [ebx + 0xc8]
xor edi, edi
cmp ecx, edi
jl 0x4775c7
cmp ecx, 0x64
jge 0x4775c7
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebx + 0x44]
mov dword [ebx + 0xcc], eax
mov ecx, dword [edx + ecx*8]
cmp dword [ecx + 4], edi
jne 0x4775d7
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0xcc], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
push 0x64
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x3b
cmp ecx, edi
je 0x478244
push 0x628f3c
call fcn.00473bf0
mov esi, eax
jmp 0x478246
push 0x44
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x1a
test ecx, ecx
je 0x477638
fld dword [0x5ae8f0]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push 0x628f34
call fcn.004509d0
mov esi, eax
jmp 0x47763a
xor esi, esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x5c], esi
call fcn.0044ab90
push esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x1b
call edx
mov esi, dword [eax]
push 0x5aeecc
push edi
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x1d
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x4776ba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4776ba
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x4776ef
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4776ef
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4776ef
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477715
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1e
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x47775b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47775b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47775b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x84
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x1f
test ecx, ecx
je 0x477795
fld dword [0x5acc48]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push edx
push ebx
push 0x628f48
call fcn.00473cb0
mov esi, eax
jmp 0x477797
xor esi, esi
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x4c], esi
call fcn.00471050
push esi
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x20
call edx
mov esi, dword [eax]
push str.menu_gosave.ap3
push edi
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x22
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x477817
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x477817
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x20
test esi, esi
je 0x47784c
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x47784c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47784c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x80], 0x470d10
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477875
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x23
call eax
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x20
test esi, esi
je 0x4778bf
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4778bf
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4778bf
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x84
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x24
test ecx, ecx
je 0x4778f9
fld dword [0x5acc48]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push edx
push ebx
push 0x628f4c
call fcn.00473cb0
mov esi, eax
jmp 0x4778fb
xor esi, esi
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x54], esi
call fcn.00471050
push esi
lea ecx, [ebp - 0x54]
push esi
push ecx
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
mov bl, 0x25
push eax
mov byte [ebp - 4], bl
call edx
mov esi, dword [eax]
mov edi, dword [ebp - 0x2c]
push 0x628fa8
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x26
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x27
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x477985
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x477985
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], bl
test esi, esi
je 0x4779b9
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4779b9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4779b9
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x80], 0x470d20
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4779e2
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [edi + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x28
call eax
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test esi, esi
je 0x477a2b
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477a2b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477a2b
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x44
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
xor eax, eax
mov byte [ebp - 4], 0x29
test ecx, ecx
je 0x477a5c
fld dword [0x5aeec8]
push ecx
fstp dword [esp]
xor edx, edx
push edx
push eax
push 0x628f54
call fcn.004509d0
mov edi, dword [ebp - 0x2c]
push eax
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], bl
call fcn.0044ca10
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
call edx
mov esi, dword [eax]
push 0x628f98
mov eax, edi
add eax, 0xd0
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x2a
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x2b
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x477ad0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x477ad0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], bl
test esi, esi
je 0x477b04
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x477b04
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477b04
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477b20
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x2c
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], bl
test esi, esi
je 0x477b66
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477b66
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477b66
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x50]
mov byte [ebp - 4], 0x20
test esi, esi
je 0x477b9b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477b9b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477b9b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x477bd0
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477bd0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477bd0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x58]
mov byte [ebp - 4], 4
jmp 0x47754c
push 0x44
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 7
test ecx, ecx
je 0x477c11
fld dword [0x5ae8f0]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push 0x628f34
call fcn.004509d0
mov esi, eax
jmp 0x477c13
xor esi, esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x5c], esi
call fcn.0044ab90
push esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 8
call edx
mov esi, dword [eax]
push str.menu_bg_save.ap3
push edi
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 9
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0xa
call eax
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x477c95
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x477c95
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 8
test esi, esi
je 0x477cca
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x477cca
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477cca
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477cf0
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 8
test esi, esi
je 0x477d36
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477d36
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477d36
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x84
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x477d70
fld dword [0x5acc48]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push edx
push ebx
push 0x628f48
call fcn.00473cb0
mov esi, eax
jmp 0x477d72
xor esi, esi
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
mov dword [ebp - 0x4c], esi
call fcn.00471050
push esi
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xd
call edx
mov esi, dword [eax]
push str.menu_goload.ap3
lea eax, [ebx + 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0xf
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x477df4
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x477df4
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0xd
test esi, esi
je 0x477e29
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x477e29
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477e29
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x80], 0x470d10
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477e52
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x10
call eax
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0xd
test esi, esi
je 0x477e9c
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477e9c
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x477e9c
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x84
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x477ed6
fld dword [0x5acc48]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push edx
push ebx
push 0x628f4c
call fcn.00473cb0
mov esi, eax
jmp 0x477ed8
xor esi, esi
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x54], esi
call fcn.00471050
push esi
lea ecx, [ebp - 0x54]
push esi
push ecx
call fcn.00472620
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x12
call edx
mov esi, dword [eax]
push 0x628fa4
lea eax, [ebx + 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x14
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x477f5a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x477f5a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x477f8f
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x477f8f
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x477f8f
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x80], 0x470d20
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x477fb8
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x15
call eax
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x478002
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478002
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478002
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x44
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x478037
fld dword [0x5aeec8]
push ecx
fstp dword [esp]
xor edx, edx
push edx
xor eax, eax
push eax
push 0x628f54
call fcn.004509d0
mov esi, eax
jmp 0x478039
xor esi, esi
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x44], esi
call fcn.0044ab90
push esi
lea ecx, [ebp - 0x44]
push esi
push ecx
call fcn.00472620
mov eax, dword [ebp - 0x44]
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 0x40]
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x44], edx
mov dword [ebx + 0x40], eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x47809d
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47809d
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47809d
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x3c]
push eax
call edx
mov esi, dword [eax]
push 0x628f94
lea eax, [ebx + 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x18
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x4780fd
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4780fd
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x478132
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x478132
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478132
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x47814e
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x19
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x478194
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478194
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478194
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x50]
mov byte [ebp - 4], 0xd
test esi, esi
je 0x4781c9
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4781c9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4781c9
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x48]
mov byte [ebp - 4], 8
test esi, esi
je 0x4781fe
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4781fe
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4781fe
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x58]
mov byte [ebp - 4], 4
test esi, esi
je 0x47757d
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47757d
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47757d
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x47757d
xor esi, esi
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], esi
call fcn.00471550
push esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00472620
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp - 0x40]
mov dword [ebx + 0x64], eax
mov esi, dword [ebx + 0x68]
add esp, 0xc
mov dword [ebp - 0x44], ecx
mov dword [ebx + 0x68], edx
mov dword [ebp - 0x40], esi
cmp esi, edi
je 0x4782aa
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4782aa
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4782aa
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebx + 0x64]
mov dword [eax + 0x60], 5
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x4782d0
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x3c
call edx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 4
cmp esi, edi
je 0x478316
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478316
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478316
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea edi, [ebx + 0x54]
push 0xa
mov ecx, edi
call fcn.00473b50
mov eax, dword [0x628f9c]
cmp dword [eax - 0xc], 0
lea ecx, [eax - 0xc]
mov esi, eax
jl 0x47833e
push ecx
mov dword [ebp - 0x58], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x47835b
mov ecx, dword [0x610024]
push eax
mov dword [ebp - 0x58], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.004057d0
mov esi, dword [ebp - 0x58]
mov eax, dword [ebx + 0xc4]
mov byte [ebp - 4], 0x3d
cmp eax, 2
je 0x478374
cmp eax, 4
je 0x478374
cmp eax, 3
jne 0x4783d7
mov eax, dword [0x628fa0]
cmp esi, eax
je 0x4783d7
cmp dword [esi - 0xc], 0
lea ebx, [esi - 0xc]
jge 0x478391
lea edx, [esi - 0xc]
cmp edx, dword [0x610020]
jne 0x478397
cmp dword [eax - 0xc], 0
jge 0x4783a6
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [ebp - 0x58]
call fcn.004057d0
jmp 0x4783d7
add esi, 0xfffffff4
cmp esi, dword [0x610020]
je 0x4783ca
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4783c5
push ebx
call fcn.00551d56
add esp, 4
mov eax, dword [0x628fa0]
mov dword [ebp - 0x58], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [0x610024]
mov dword [ebp - 0x64], ecx
xor esi, esi
mov byte [ebp - 4], 0x3e
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp - 0x2c]
cmp esi, 0xa
jge 0x47885d
push esi
lea edx, [ebp - 0x64]
push 0x5aee88
push edx
call fcn.0040d8d0
add esp, 0xc
push 0xa4
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x3f
test ecx, ecx
je 0x47844e
fld dword [0x5acc48]
push ecx
fstp dword [esp]
mov eax, esi
shl eax, 4
mov edx, dword [eax + 0x615aa4]
mov eax, dword [eax + 0x615aa0]
push edx
push eax
push esi
push ebx
lea edx, [ebp - 0x64]
push edx
call fcn.00473e40
mov dword [ebp - 0x48], eax
jmp 0x478455
mov dword [ebp - 0x48], 0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
mov ebx, dword [edi]
add esi, esi
add esi, esi
add esi, esi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x3e
add ebx, esi
mov dword [ebp - 0x34], eax
call fcn.004715f0
mov eax, dword [ebp - 0x48]
push eax
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00472620
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x30]
mov dword [ebx], eax
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4784cf
mov ebx, eax
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4784cf
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4784cf
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [edi]
mov ecx, dword [esi + eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x90]
push eax
call edx
mov ebx, dword [eax]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
add eax, 0xd0
push eax
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 0x40
call fcn.0040d8f0
mov edx, dword [ebx]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
mov byte [ebp - 4], 0x41
call eax
mov eax, dword [ebp - 0x50]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x478539
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478539
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov ebx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x3e
test ebx, ebx
je 0x478571
lea edx, [ebx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x478571
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478571
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x74], ecx
mov edx, dword [edi]
mov eax, dword [esi + edx]
mov dword [eax + 0x80], 0x470e40
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov dword [eax + 0x54], 1
mov ecx, dword [edi]
mov eax, dword [esi + ecx]
mov dword [eax + 0x58], 3
mov edx, dword [edi]
mov ecx, dword [esi + edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x1c]
push edx
call eax
mov ecx, dword [eax]
push 1
mov byte [ebp - 4], 0x42
call fcn.0042e3e0
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x3e
test ebx, ebx
je 0x4785f5
lea ecx, [ebx + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4785f5
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4785f5
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov eax, dword [edi]
mov ecx, dword [eax + esi]
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + esi + 4]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x478614
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x43
call edx
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 4], 0x3e
test ebx, ebx
je 0x47865e
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47865e
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47865e
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x84]
mov eax, dword [0x615a90]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
push 0
push 1
push 4
push eax
push 0x628f8c
call edx
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x84]
push 0x615b48
call fcn.0042e980
mov ecx, dword [edi]
mov eax, dword [esi + ecx]
mov edx, dword [0x628f24]
mov ecx, dword [eax + 0x84]
push edx
call fcn.0042e420
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [0x628f30]
mov eax, dword [eax + 0x84]
push ecx
mov ecx, eax
call fcn.0042e460
mov edx, dword [edi]
mov eax, dword [esi + edx]
mov ecx, dword [0x615a9c]
mov eax, dword [eax + 0x84]
push ecx
mov ecx, eax
call fcn.0042e4a0
fld dword [0x5aee84]
mov edx, dword [edi]
mov eax, dword [esi + edx]
mov eax, dword [eax + 0x84]
fstp dword [eax + 0xd8]
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x8c]
mov eax, dword [0x615a94]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
push 0
push 1
push 0x12
push eax
push 0x628f8c
call edx
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x8c]
push 0x615b50
call fcn.0042e980
mov ecx, dword [edi]
mov eax, dword [esi + ecx]
mov edx, dword [0x628f28]
mov ecx, dword [eax + 0x8c]
push edx
call fcn.0042e420
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [0x628f30]
mov eax, dword [eax + 0x8c]
push ecx
mov ecx, eax
call fcn.0042e460
mov edx, dword [edi]
mov eax, dword [esi + edx]
mov ecx, dword [0x615a9c]
mov eax, dword [eax + 0x8c]
push ecx
mov ecx, eax
call fcn.0042e4a0
mov edx, dword [edi]
mov eax, dword [esi + edx]
mov eax, dword [eax + 0x8c]
fld dword [0x5aee84]
fstp dword [eax + 0xd8]
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x94]
mov eax, dword [0x615a98]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
push 1
push 2
push 0x1e
push eax
push 0x628f8c
call edx
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x94]
push 0x615b58
call fcn.0042e980
mov ecx, dword [edi]
mov eax, dword [esi + ecx]
mov edx, dword [0x628f2c]
mov ecx, dword [eax + 0x94]
push edx
call fcn.0042e420
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [0x628f30]
mov eax, dword [eax + 0x94]
push ecx
mov ecx, eax
call fcn.0042e460
mov edx, dword [edi]
mov eax, dword [esi + edx]
mov ecx, dword [0x615a9c]
mov eax, dword [eax + 0x94]
push ecx
mov ecx, eax
call fcn.0042e4a0
fld dword [0x5aee84]
mov edx, dword [edi]
mov eax, dword [esi + edx]
mov eax, dword [eax + 0x94]
fstp dword [eax + 0xd8]
mov eax, dword [edi]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x9c]
push 0x615b60
call fcn.0042e980
fld dword [0x5aee84]
mov ecx, dword [edi]
mov edx, dword [esi + ecx]
mov eax, dword [edx + 0x9c]
inc dword [ebp - 0x28]
fstp dword [eax + 0xd8]
mov esi, dword [ebp - 0x28]
jmp 0x4783e9
xor esi, esi
nop
cmp esi, 0xa
jge 0x478877
mov ecx, dword [ebx + 0xcc]
push esi
push ecx
mov ecx, ebx
call fcn.00476300
inc esi
jmp 0x478860
push 0x64
call fcn.00551f1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 0x44
test esi, esi
je 0x4789aa
push 0x628f40
mov dword [esi], vtable.Actor.0
call fcn.00419410
mov dword [esi + 4], eax
mov eax, dword [0x628f40]
add esp, 4
cmp dword [eax - 0xc], 0
jl 0x4788c8
mov dword [esi + 8], eax
mov edx, dword [0x628f40]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4788ec
mov eax, dword [0x610024]
mov dword [esi + 8], eax
mov eax, dword [0x628f40]
mov ebx, eax
test eax, eax
je 0x4788e2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push eax
lea ecx, [esi + 8]
call fcn.004057d0
xor ebx, ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ecx, esi
mov byte [ebp - 4], 0x47
call fcn.004a3e80
mov dword [esi], vtable.ButtonMgrActor_class_CSaveLoadView_.0
mov ecx, dword [0x610024]
mov dword [esi + 0x44], ecx
xor ecx, ecx
xor eax, eax
mov dword [esi + 0x54], ecx
or ecx, 0xffffffff
mov dword [esi + 0x50], eax
mov eax, ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 1
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x48], ecx
mov eax, dword [esi + 0x44]
mov byte [ebp - 4], 0x49
cmp dword [eax - 8], ebx
je 0x4789a2
cmp dword [eax - 0xc], ebx
lea ecx, [eax - 0xc]
jl 0x478989
add eax, 0xfffffff4
cmp eax, dword [0x610020]
je 0x4789a2
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478978
mov eax, dword [esi + 0x44]
sub eax, 0xc
push eax
call fcn.00551d56
add esp, 4
mov edx, dword [0x610024]
mov dword [esi + 0x44], edx
mov dword [esi], vtable.SaveLoadPageBtnMgr_class_CSaveLoadView_.0
jmp 0x4789ae
push 0x5a6dd8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x5a6dd8
push eax
lea ecx, [esi + 0x44]
call fcn.004057d0
mov dword [esi], vtable.SaveLoadPageBtnMgr_class_CSaveLoadView_.0
jmp 0x4789ae
xor esi, esi
xor ebx, ebx
mov edi, dword [ebp - 0x2c]
push esi
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 0x3e
call fcn.00472120
mov eax, dword [edi + 0x7c]
mov dword [eax + 0x60], 1
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x4789e7
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x4a
call edx
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x3e
cmp esi, ebx
je 0x478a2e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478a2e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478a2e
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x6c
push 0xa
call fcn.00473b50
xor ebx, ebx
lea ecx, [ecx]
cmp ebx, 0xa
jge 0x478cc0
mov eax, dword [0x610024]
mov dword [ebp - 0x28], eax
push ebx
lea ecx, [ebp - 0x28]
push str.sl_page__d
push ecx
mov byte [ebp - 4], 0x4b
call fcn.0040d8d0
add esp, 0xc
push 0x84
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov byte [ebp - 4], 0x4c
test ecx, ecx
je 0x478a9f
fld dword [0x5acc48]
push ecx
fstp dword [esp]
xor edx, edx
push edx
push eax
push ebx
push esi
lea edx, [ebp - 0x28]
push edx
call fcn.00473cb0
mov ecx, dword [esi + 0x6c]
push eax
lea eax, [esi + 0x6c]
lea edi, [ebx*8]
add ecx, edi
mov byte [ebp - 4], 0x4b
mov dword [ebp - 0x40], eax
call fcn.00471a10
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x478b5a
cmp eax, 1
je 0x478b5a
cmp eax, 2
je 0x478ae8
cmp eax, 3
je 0x478ae8
cmp eax, 4
jne 0x478c04
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [edi + eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x1c]
push eax
call edx
mov esi, dword [eax]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebx*4 + 0x628fac]
push eax
add ecx, 0xd0
push ecx
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 0x4f
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x50
call eax
mov eax, dword [ebp - 0x50]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x478b55
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478b55
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x18]
jmp 0x478bd2
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov ecx, dword [edi + ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x90]
push eax
call edx
mov esi, dword [eax]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebx*4 + 0x628fd4]
push eax
add ecx, 0xd0
push ecx
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x4d
call fcn.0040d8f0
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x4e
call eax
mov eax, dword [ebp - 0x48]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x478bcc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478bcc
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x4b
test esi, esi
je 0x478c04
or eax, 0xffffffff
lea edx, [esi + 4]
lock xadd dword [edx], eax
jne 0x478c04
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
or edx, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], edx
jne 0x478c04
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x6c]
mov eax, dword [edi + eax]
mov dword [eax + 0x80], 0x476b40
mov ecx, dword [esi + 0x6c]
mov ecx, dword [edi + ecx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + edi]
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + edi + 4]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x478c44
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x51
call eax
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x4b
test esi, esi
je 0x478c8b
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478c8b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478c8b
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
mov byte [ebp - 4], 0x3e
cmp ecx, dword [0x610020]
je 0x478cba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478cba
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff4
push edx
call fcn.00551d56
add esp, 4
inc ebx
jmp 0x478a40
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0xcc]
mov esi, dword [ebx + 0x7c]
xor edi, edi
cmp eax, edi
jge 0x478cd9
or ecx, 0xffffffff
or eax, ecx
jmp 0x478ceb
mov ecx, dword [esi + 0x60]
cmp ecx, edi
jg 0x478ce4
xor ecx, ecx
jmp 0x478ceb
cdq
idiv ecx
mov ecx, eax
mov eax, edx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ecx]
mov edx, dword [ebx + 0xcc]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
push 0x6c
call fcn.00551f1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 0x52
cmp esi, edi
je 0x478d3d
push 0x628f44
mov ecx, esi
call fcn.00473bf0
mov dword [esi], vtable.YesNoBtnMgr_class_CSaveLoadView_.0
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
jmp 0x478d3f
xor esi, esi
push esi
lea ecx, [ebx + 0x9c]
mov byte [ebp - 4], 0x3e
call fcn.004721a0
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x60], 1
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0x9c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
test eax, eax
je 0x478d7e
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x53
call edx
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x3e
test esi, esi
je 0x478dc4
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478dc4
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478dc4
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x84
call fcn.00551f1b
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 0x54
test edi, edi
je 0x478e91
mov eax, dword [0x610024]
mov ecx, 0x5aee6c
shr ecx, 0x10
mov dword [ebp - 0x48], eax
test ecx, ecx
jne 0x478e38
mov edx, 0x5aee6c
movzx eax, dx
push eax
lea ecx, [ebp - 0x48]
call fcn.00407130
fld dword [0x5aee68]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x60]
xor ecx, ecx
push ecx
fstp dword [esp]
push ecx
xor eax, eax
push eax
push ecx
push edx
lea eax, [ebp - 0x48]
or ebx, 1
push eax
mov ecx, edi
mov byte [ebp - 4], 0x55
mov dword [ebp - 0x60], ebx
call fcn.00473cb0
mov esi, eax
jmp 0x478e96
push 0x5aee6c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je case.0x478e76.0
push esi
lea ecx, [ebp - 0x48]
call fcn.00402ba0
test eax, eax
je case.0x478e76.0
mov eax, dword [ebp - 0x48]
push esi
push 0x5aee6c
inc esi
push esi
push eax
call fcn.00551af6
add esp, 0x10
cmp eax, 0x50
ja case.0x4790b3.1
movzx ecx, byte [eax + 0x4798c4]
jmp dword [ecx*4 + 0x4798b4]
push 0x8007000e
call fcn.00402500
push 0x80004005
call fcn.00402500
mov ebx, dword [ebp - 0x60]
xor esi, esi
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x56
mov dword [ebp - 0x6c], esi
call fcn.00471050
push esi
lea ecx, [ebp - 0x6c]
push esi
push ecx
call fcn.00472620
add esp, 0xc
mov dword [ebp - 4], 0x58
test bl, 1
je 0x478ef4
mov eax, dword [ebp - 0x48]
and ebx, 0xfffffffe
lea edx, [eax - 0xc]
mov dword [ebp - 0x60], ebx
cmp edx, dword [0x610020]
je 0x478ef4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478ef4
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x1c]
push edx
call eax
mov esi, dword [eax]
mov edi, dword [ebp - 0x2c]
push str.menu_save_checkwindow.ap3
lea eax, [edi + 0xd0]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 0x59
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x5a
call eax
mov eax, dword [ebp - 0x50]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x478f5b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478f5b
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x58
test esi, esi
je 0x478f90
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x478f90
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x478f90
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
test eax, eax
je 0x478fb6
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [edi + 0x9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x5b
call eax
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x58
test esi, esi
je 0x479000
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x479000
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x479000
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x84
call fcn.00551f1b
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 0x5c
test edi, edi
je 0x4790c4
mov ecx, dword [0x610024]
mov edx, 0x5aee44
shr edx, 0x10
mov dword [ebp - 0x28], ecx
test edx, edx
jne 0x479071
mov eax, 0x5aee44
movzx eax, ax
push eax
lea ecx, [ebp - 0x28]
call fcn.00407130
fld dword [0x5aee40]
xor ecx, ecx
push ecx
fstp dword [esp]
push ecx
xor eax, eax
push eax
mov eax, dword [ebp - 0x2c]
push 1
push eax
lea ecx, [ebp - 0x28]
or ebx, 2
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x5d
mov dword [ebp - 0x60], ebx
call fcn.00473cb0
jmp 0x4790c6
push 0x5aee44
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je case.0x4790b3.0
push esi
lea ecx, [ebp - 0x28]
call fcn.00402ba0
test eax, eax
je case.0x4790b3.0
mov ecx, dword [ebp - 0x28]
push esi
push 0x5aee44
inc esi
push esi
push ecx
call fcn.00551af6
add esp, 0x10
cmp eax, 0x50
ja case.0x4790b3.1
movzx edx, byte [eax + 0x479928]
jmp dword [edx*4 + 0x479918]
push 0x80070057
call fcn.00402500
xor eax, eax
mov edi, dword [ebp - 0x2c]
push eax
lea ecx, [edi + 0x8c]
mov dword [ebp - 4], 0x5e
call fcn.00471a10
mov dword [ebp - 4], 0x58
test bl, 2
je 0x479119
mov eax, dword [ebp - 0x28]
and ebx, 0xfffffffd
lea edx, [eax - 0xc]
mov dword [ebp - 0x60], ebx
cmp edx, dword [0x610020]
je 0x479119
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x479119
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov ecx, dword [edi + 0x8c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x1c]
push edx
call eax
mov esi, dword [eax]
mov eax, dword [ebp - 0x2c]
push str.menu_save_checkwindow_yes.ap3
add eax, 0xd0
push eax
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 0x5f
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x60
call eax
mov eax, dword [ebp - 0x50]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x479182
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x479182
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x58
test esi, esi
je 0x4791b7
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4791b7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4791b7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x80], 0x476b90
mov eax, dword [edi + 0x8c]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x90]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4791e9
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x9c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x61
call edx
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x58
test esi, esi
je 0x479236
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x479236
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x479236
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x84
call fcn.00551f1b
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 0x62
test edi, edi
je 0x4792ff
mov eax, dword [0x610024]
mov ecx, str.sl_no
shr ecx, 0x10
mov dword [ebp - 0x28], eax
test ecx, ecx
jne 0x4792a6
mov edx, str.sl_no
movzx eax, dx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407130
fld dword [0x5aee40]
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
push ecx
fstp dword [esp]
push ecx
xor eax, eax
push eax
push 2
push edx
lea eax, [ebp - 0x28]
or ebx, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 0x63
mov dword [ebp - 0x60], ebx
call fcn.00473cb0
jmp 0x479301
push str.sl_no
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je case.0x4792e4.0
push esi
lea ecx, [ebp - 0x28]
call fcn.00402ba0
test eax, eax
je case.0x4792e4.0
mov eax, dword [ebp - 0x28]
push esi
push str.sl_no
inc esi
push esi
push eax
call fcn.00551af6
add esp, 0x10
cmp eax, 0x50
ja case.0x4792e4.1
movzx ecx, byte [eax + 0x47998c]
jmp dword [ecx*4 + 0x47997c]
push 0x80070057
jmp 0x478e82
push 0x80004005
jmp 0x478e82
xor eax, eax
mov edi, dword [ebp - 0x2c]
push eax
lea ecx, [edi + 0x94]
mov dword [ebp - 4], 0x64
call fcn.00471a10
mov dword [ebp - 4], 0x58
test bl, 4
je 0x47934e
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x47934e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47934e
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov ecx, dword [edi + 0x94]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x1c]
push eax
call edx
mov esi, dword [eax]
mov ebx, dword [ebp - 0x2c]
push 0x5aedf8
lea eax, [ebx + 0xd0]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x65
call fcn.0040d960
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [ebp - 4], 0x66
call eax
mov eax, dword [ebp - 0x50]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x4793b8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4793b8
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x58
test esi, esi
je 0x4793ed
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4793ed
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4793ed
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [edi + 0x94]
mov dword [eax + 0x80], 0x475820
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x47941f
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [ebx + 0x9c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x67
call edx
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x58
test esi, esi
je 0x479469
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x479469
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x479469
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x44
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
xor eax, eax
mov byte [ebp - 4], 0x68
test ecx, ecx
je 0x47949a
fld dword [0x5aedf4]
push ecx
fstp dword [esp]
xor edx, edx
push edx
push eax
push 0x628f70
call fcn.004509d0
lea ecx, [ebx + 0xbc]
push eax
mov byte [ebp - 4], 0x58
call fcn.0044ca10
mov eax, dword [0x625c5c]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
push 0x60
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x69
test ecx, ecx
je 0x4794d9
push 0x20
push ebx
push edi
call fcn.00427f90
mov esi, eax
jmp 0x4794db
xor esi, esi
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x58
mov dword [ebp - 0x74], esi
call fcn.00423f50
push esi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00472620
add esp, 0xc
xor eax, eax
push 0x80
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x6a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
call fcn.004265a0
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0xbc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x1c]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
push 1
lea edx, [ebp - 0x74]
push edx
push 0x628f74
mov byte [ebp - 4], 0x6b
call eax
mov esi, dword [ebp - 0x18]
xor edi, edi
mov byte [ebp - 4], 0x6a
cmp esi, edi
je 0x479580
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x479580
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x479580
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0xbc]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x4795a2
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x6c
call edx
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x6a
cmp esi, edi
je 0x4795e8
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4795e8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4795e8
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
mov ecx, ebx
call edx
push 0x3c
call fcn.00551f1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 0x6d
cmp esi, edi
je 0x479644
push 0x628f7c
lea ecx, [esi + 4]
mov dword [esi], vtable.Actor.0
call fcn.0040e3b0
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov ecx, esi
mov byte [ebp - 4], 0x70
call fcn.004a3e80
jmp 0x479646
xor esi, esi
lea edi, [ebx + 0xb4]
push esi
mov ecx, edi
mov byte [ebp - 4], 0x6a
call fcn.0045db90
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push edi
mov ecx, ebx
call edx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 0x628f78
call edx
push 0x4c
call fcn.00551f1b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0x71
test ecx, ecx
je 0x4796a2
push 0x45fc50
push ebx
push 0x1f4
push 4
push 0x628f78
call fcn.00474ef0
mov esi, eax
jmp 0x4796a4
xor esi, esi
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x6a
mov dword [ebp - 0x7c], esi
call fcn.004710f0
push esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00472620
add esp, 0xc
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4796de
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x73
call eax
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x72
test esi, esi
je 0x479724
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x479724
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x479724
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [ebp - 0x78]
mov byte [ebp - 4], 0x6a
test esi, esi
je 0x479759
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x479759
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x479759
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [ebp - 0x70]
mov byte [ebp - 4], 0x58
test esi, esi
je 0x47978e
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47978e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47978e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [ebp - 0x68]
mov byte [ebp - 4], 0x3e
test esi, esi
je 0x4797c3
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4797c3
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4797c3
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x64]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x4797ee
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4797ee
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov eax, dword [ebp - 0x58]
lea edx, [eax - 0xc]
cmp edx, dword [0x610020]
je 0x479813
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x479813
push esi
call fcn.00551d56
add esp, 4
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0xa0], vtable.BaseEventData.0
mov byte [ebp - 4], 0
test esi, esi
je 0x479855
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x479855
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x479855
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00551802
mov esp, ebp
pop ebp
ret 4