Function at 0x584b50
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640b83
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x6db1a4]
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 esi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
mov dword [esi + 0xb8], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0xbc], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0xc0], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc4], eax
lea eax, [ecx + 0x10]
push eax
lea ecx, [esi + 0xc8]
call fcn.004fb710
push 8
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
test eax, eax
je 0x584bdf
mov dword [eax], vtable.CSaveLoadViewListener.0
mov dword [eax + 4], esi
jmp 0x584be4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00581c60
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x28]
or edi, 0xffffffff
mov byte [ebp - 4], 2
mov dword [ebp - 0x58], edx
test edx, edx
je 0x584c41
lea ecx, [edx + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x584c41
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x58]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x584c41
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
push eax
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.005025f0
mov eax, dword [esi + 0xa0]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0xa0], ecx
mov edx, dword [esi + 0xa4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov dword [esi + 0xa4], eax
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 3
test edx, edx
je 0x584cac
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x584cac
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x584cac
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x584cce
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov byte [ebp - 4], 4
call fcn.00517240
push 0x6e46a4
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], edx
test edx, edx
je 0x584d1f
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x584d1f
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x584d1f
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
call fcn.00501d70
push 0xffffffffffffffff
mov ecx, eax
call fcn.0054c230
call fcn.00501d70
push 1
push 0xffffffffffffffff
mov ecx, eax
call fcn.0054c430
call fcn.00501d70
mov ecx, eax
call fcn.0054c160
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x96
jge 0x584ebc
push 0x34
call fcn.005b9a43
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
test edi, edi
je 0x584dcc
mov dword [edi], vtable.CDataText.0
mov dword [edi + 4], 0
mov eax, dword [0x6ce014]
mov dword [edi + 0xc], eax
mov eax, dword [0x6ce014]
mov dword [edi + 0x10], eax
mov eax, dword [0x6ce014]
mov dword [edi + 0x14], eax
mov eax, dword [0x6ce014]
mov dword [edi + 0x18], eax
mov eax, dword [0x6ce014]
mov dword [edi + 0x1c], eax
mov eax, dword [0x6ce014]
mov dword [edi + 0x20], eax
mov eax, dword [0x6ce014]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
jmp 0x584dce
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00581bc0
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 7
mov dword [ebp - 0x58], edx
test edx, edx
je 0x584e2a
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x584e2a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x58]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x584e2a
mov eax, dword [ecx]
call dword [eax + 8]
push edi
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.005025f0
add esp, 0xc
mov ecx, dword [esi + 0x50]
mov byte [ebp - 4], 8
cmp dword [esi + 0x54], ecx
je 0x584e6b
mov eax, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x584e65
lea ecx, [edi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [ebp - 0x30]
add dword [esi + 0x50], 8
jmp 0x584e7b
lea eax, [ebp - 0x34]
push eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.005820e0
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 9
test edi, edi
je 0x584eaf
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x584eaf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x584eaf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
inc eax
jmp 0x584d4f
xor edi, edi
nop
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
sub eax, ecx
sar eax, 3
cmp edi, eax
jge 0x584edb
mov ecx, dword [ecx + edi*8]
push edi
call fcn.00556a40
inc edi
jmp 0x584ec0
mov eax, dword [esi + 0x38]
mov edi, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
test edi, edi
je 0x584ef4
lea ecx, [edi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov dword [esi + 0xa8], edx
mov edx, dword [esi + 0xac]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x28], edx
mov dword [esi + 0xac], edi
or edi, 0xffffffff
mov byte [ebp - 4], 0xa
test edx, edx
je 0x584f4d
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x584f4d
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x584f4d
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004fa210
call fcn.00517220
push str.parts_save_load_
mov eax, dword [eax + 0x8c]
mov dword [esi + 0xcc], eax
call dword [0x64c2e4]
push str.parts_save_load_
push eax
lea ecx, [esi + 0xd4]
call fcn.004fccc0
push 0x58
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x584fa9
push 0x6e4b2c
mov ecx, eax
call fcn.0056be80
jmp 0x584fab
xor eax, eax
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 0
push eax
call fcn.00582a20
mov eax, dword [esi + 0x80]
mov dword [eax + 0x34], 0
mov dword [eax + 0x4c], 0xffffffff
mov dword [eax + 0x50], 0xffffffff
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x584ff8
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call dword [eax + 0x10]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.004fa130
mov eax, dword [esi + 0xb8]
cmp eax, 4
je 0x5857c0
cmp eax, 5
je 0x5857c0
cmp eax, 6
je 0x585369
cmp eax, 7
je 0x585369
cmp eax, 8
jne 0x585c3d
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x31
test eax, eax
je 0x585075
push ecx
mov dword [esp], 0x43fa0000
mov ecx, eax
push 0
push 0
push 0x6e4b28
call fcn.0055c2e0
jmp 0x585077
xor eax, eax
push eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0
call fcn.0055b900
mov ecx, dword [esi + 0x3c]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x6ce014]
mov dword [ebp - 0x40], eax
mov eax, dword [0x64c2e4]
push str.menu_bg_load.ap3
mov byte [ebp - 4], 0x33
mov dword [ebp - 0x54], 0x80
call eax
mov edx, dword [esi + 0xd4]
lea ecx, [ebp - 0x40]
push str.menu_bg_load.ap3
push eax
push edx
push dword [edx - 8]
call fcn.004fd410
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x40]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585105
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585105
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004fa4b0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x585135
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x34
call dword [eax + 0x10]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004fa130
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x35
test eax, eax
je 0x585184
push ecx
mov dword [esp], 0x43fa8000
mov ecx, eax
push 0
push 0
push 0
push 0x6e4b40
call fcn.0055ba00
jmp 0x585186
xor eax, eax
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00570410
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x36
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ebx, dword [eax]
lea eax, [esi + 0xd4]
push 0x6e4bb0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x37
push eax
call fcn.00515c10
mov edx, dword [ebx]
mov ecx, ebx
push 1
push eax
mov byte [ebp - 4], 0x38
call dword [edx + 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5851f7
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5851f7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x36
call fcn.004fa4b0
push 0xc
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x585226
mov dword [eax], vtable.function_callback_vm0_class_CSaveLoadView_.0
mov dword [eax + 4], 0x583be0
mov dword [eax + 8], esi
jmp 0x585228
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0055a160
mov ecx, dword [ebp - 0x50]
push eax
lea ecx, [ecx + 0x70]
call fcn.0055dac0
lea ecx, [ebp - 0x48]
call fcn.004fa590
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x585261
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x80]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x39
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x36
call fcn.004fa130
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x3a
test eax, eax
je 0x5852af
push ecx
mov dword [esp], 0x43fc8000
mov ecx, eax
push 0
push 0
push 0x6e4b48
call fcn.0055c2e0
jmp 0x5852b1
xor eax, eax
push eax
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0x36
call fcn.0055b900
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0xd4]
push 0x6e4ba0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x3b
push eax
call fcn.00515c10
mov ecx, eax
mov eax, dword [ebp - 0x28]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x3c
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585326
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585326
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.004fa4b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x58534a
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x3d
call dword [eax + 0x10]
lea ecx, [ebp - 0x34]
call fcn.004fa130
lea ecx, [ebp - 0x50]
jmp 0x585c2f
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x585398
push ecx
mov dword [esp], 0x43fa0000
mov ecx, eax
push 0
push 0
push 0x6e4b28
call fcn.0055c2e0
jmp 0x58539a
xor eax, eax
push eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0
call fcn.0055b900
mov ecx, dword [esi + 0x3c]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x6ce014]
mov dword [ebp - 0x40], eax
mov eax, dword [0x64c2e4]
push str.menu_bg_load.ap3
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x54], 0x20
call eax
mov edx, dword [esi + 0xd4]
lea ecx, [ebp - 0x40]
push str.menu_bg_load.ap3
push eax
push edx
push dword [edx - 8]
call fcn.004fd410
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x40]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585428
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585428
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004fa4b0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x585458
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x22
call dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004fa130
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x23
test eax, eax
je 0x5854a7
push ecx
mov dword [esp], 0x43fa8000
mov ecx, eax
push 0
push 0
push 0
push 0x6e4b3c
call fcn.0055ba00
jmp 0x5854a9
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00570410
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x24
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ebx, dword [eax]
mov eax, dword [0x6ce014]
push str.menu_gosave.ap3
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0x40
call dword [0x64c2e4]
mov edx, dword [esi + 0xd4]
lea ecx, [ebp - 0x40]
push str.menu_gosave.ap3
push eax
push edx
push dword [edx - 8]
call fcn.004fd410
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
push 1
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585536
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585536
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x24
call fcn.004fa4b0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x28], 0
push eax
push esi
push 0x584470
call fcn.00581ee0
add esp, 0x10
lea ecx, [ebp - 0x48]
push eax
call fcn.0055a160
mov ecx, dword [ebp - 0x34]
push eax
lea ecx, [ecx + 0x70]
call fcn.0055dac0
lea ecx, [ebp - 0x48]
call fcn.004fa590
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x58559e
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x80]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x27
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x24
call fcn.004fa130
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x5855f1
push ecx
mov dword [esp], 0x43fa8000
mov ecx, eax
push 0
push 0
push 0
push 0x6e4b40
call fcn.0055ba00
jmp 0x5855f3
xor eax, eax
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x24
call fcn.00570410
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x29
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ebx, dword [eax]
lea eax, [esi + 0xd4]
push 0x6e4bb0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
push eax
call fcn.00515c10
mov edx, dword [ebx]
mov ecx, ebx
push 1
push eax
mov byte [ebp - 4], 0x2b
call dword [edx + 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585664
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585664
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x29
call fcn.004fa4b0
push 0xc
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x585693
mov dword [eax], vtable.function_callback_vm0_class_CSaveLoadView_.0
mov dword [eax + 4], 0x583be0
mov dword [eax + 8], esi
jmp 0x585695
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0055a160
mov ecx, dword [ebp - 0x50]
push eax
lea ecx, [ecx + 0x70]
call fcn.0055dac0
lea ecx, [ebp - 0x48]
call fcn.004fa590
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x5856ce
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x80]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x2c
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x29
call fcn.004fa130
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x58571c
push ecx
mov dword [esp], 0x43fc8000
mov ecx, eax
push 0
push 0
push 0x6e4b48
call fcn.0055c2e0
jmp 0x58571e
xor eax, eax
push eax
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0x29
call fcn.0055b900
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0xd4]
push 0x6e4ba0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x2e
push eax
call fcn.00515c10
mov ecx, eax
mov eax, dword [ebp - 0x28]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x2f
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585793
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585793
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.004fa4b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x5857b7
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov byte [ebp - 4], 0x30
jmp 0x585c11
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x5857ef
push ecx
mov dword [esp], 0x43fa0000
mov ecx, eax
push 0
push 0
push 0x6e4b28
call fcn.0055c2e0
jmp 0x5857f1
xor eax, eax
push eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0
call fcn.0055b900
mov ecx, dword [esi + 0x3c]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x6ce014]
push str.menu_bg_save.ap3
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 8
call dword [0x64c2e4]
mov edx, dword [esi + 0xd4]
lea ecx, [ebp - 0x40]
push str.menu_bg_save.ap3
push eax
push edx
push dword [edx - 8]
call fcn.004fd410
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x40]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x58587e
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x58587e
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004fa4b0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x5858ae
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x10
call dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004fa130
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x5858fd
push ecx
mov dword [esp], 0x43fa8000
mov ecx, eax
push 0
push 0
push 0
push 0x6e4b3c
call fcn.0055ba00
jmp 0x5858ff
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00570410
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x12
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ebx, dword [eax]
mov eax, dword [0x6ce014]
push str.menu_goload.ap3
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0x10
call dword [0x64c2e4]
mov edx, dword [esi + 0xd4]
lea ecx, [ebp - 0x40]
push str.menu_goload.ap3
push eax
push edx
push dword [edx - 8]
call fcn.004fd410
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
push 1
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x58598c
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x58598c
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.004fa4b0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x28], 0
push eax
push esi
push 0x584470
call fcn.00581ee0
add esp, 0x10
lea ecx, [ebp - 0x48]
push eax
call fcn.0055a160
mov ecx, dword [ebp - 0x34]
push eax
lea ecx, [ecx + 0x70]
call fcn.0055dac0
lea ecx, [ebp - 0x48]
call fcn.004fa590
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x5859f4
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x80]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x15
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.004fa130
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x585a47
push ecx
mov dword [esp], 0x43fa8000
mov ecx, eax
push 0
push 0
push 0
push 0x6e4b40
call fcn.0055ba00
jmp 0x585a49
xor eax, eax
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x12
call fcn.00570410
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x17
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ebx, dword [eax]
lea eax, [esi + 0xd4]
push 0x6e4bac
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
push eax
call fcn.00515c10
mov edx, dword [ebx]
mov ecx, ebx
push 1
push eax
mov byte [ebp - 4], 0x19
call dword [edx + 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585aba
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585aba
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.004fa4b0
push 0xc
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x585ae9
mov dword [eax], vtable.function_callback_vm0_class_CSaveLoadView_.0
mov dword [eax + 4], 0x583be0
mov dword [eax + 8], esi
jmp 0x585aeb
xor eax, eax
push eax
lea ecx, [ebp - 0x48]
call fcn.0055a160
mov ecx, dword [ebp - 0x50]
push eax
lea ecx, [ecx + 0x70]
call fcn.0055dac0
lea ecx, [ebp - 0x48]
call fcn.004fa590
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x585b24
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x80]
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x1a
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x17
call fcn.004fa130
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x585b72
push ecx
mov dword [esp], 0x43fc8000
mov ecx, eax
push 0
push 0
push 0x6e4b48
call fcn.0055c2e0
jmp 0x585b74
xor eax, eax
push eax
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0x17
call fcn.0055b900
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0xd4]
push 0x6e4b9c
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
push eax
call fcn.00515c10
mov ecx, eax
mov eax, dword [ebp - 0x28]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1d
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585be9
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585be9
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.004fa4b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x585c0d
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov byte [ebp - 4], 0x1e
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
call fcn.004fa130
lea ecx, [ebp - 0x50]
call fcn.005066e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.005066e0
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0xcc]
cmp ecx, 0x95
ja 0x585c83
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xd0], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + ecx*8]
cmp dword [eax + 4], 0
jne 0x585c95
mov ecx, dword [esi + 0x44]
mov dword [esi + 0xd0], 0
mov eax, dword [ecx]
call dword [eax + 0x24]
push 0x58
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x3e
test eax, eax
je 0x585cb8
push 0x6e4b30
mov ecx, eax
call fcn.0056be80
jmp 0x585cba
xor eax, eax
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0
call fcn.00582a20
mov eax, dword [esi + 0x64]
mov dword [eax + 0x54], 5
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x585ced
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x3f
call dword [eax + 0x10]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.004fa130
lea eax, [esi + 0x58]
push eax
push 0xf
mov ecx, eax
call fcn.00582450
push 0x6e4ba4
lea ecx, [ebp - 0x74]
call fcn.005062f0
mov eax, dword [esi + 0xb8]
mov byte [ebp - 4], 0x40
cmp eax, 6
je 0x585d3b
cmp eax, 8
je 0x585d3b
cmp eax, 7
jne 0x585d48
push 0x6e4ba8
lea ecx, [ebp - 0x74]
call fcn.004fb710
mov eax, dword [0x6ce014]
mov dword [ebp - 0x70], eax
mov eax, dword [0x6e19b0]
xor edi, edi
mov byte [ebp - 4], 0x41
mov eax, dword [eax + 0x100]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], ebx
cmp edi, 0xf
jge 0x5861ca
push edi
lea eax, [ebp - 0x70]
push str.sl_slot__d
push eax
call fcn.004fd790
add esp, 0xc
push 0xa4
call fcn.005b9a43
mov ecx, eax
add esp, 4
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0x42
test ecx, ecx
je 0x585dc4
push ecx
mov eax, edi
mov dword [esp], 0x43fa8000
shl eax, 4
push dword [eax + 0x6ce3cc]
push dword [eax + 0x6ce3c8]
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00582b20
jmp 0x585dc6
xor eax, eax
mov ecx, dword [esi + 0x58]
shl edi, 3
add ecx, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x43
call fcn.00581da0
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
mov dword [eax], edx
call fcn.004fb580
mov eax, dword [ebp - 0x2c]
push eax
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.005025f0
mov edx, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x41
mov eax, dword [edx]
mov dword [edx], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov dword [edx + 4], eax
call fcn.00583350
mov eax, dword [esi + 0x58]
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [edi + eax]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [0x6ce014]
lea ecx, [ebp - 0x40]
mov edx, dword [esi + 0xd4]
or ebx, 0x100
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x74]
push eax
mov byte [ebp - 4], 0x45
mov dword [ebp - 0x54], ebx
push dword [eax - 8]
push edx
push dword [edx - 8]
call fcn.004fd410
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x40]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x6c]
and ebx, 0xfffffeff
mov dword [ebp - 0x54], ebx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x585ebe
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x585ebe
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x41
call fcn.004fb580
mov eax, dword [esi + 0x58]
push 0x14
mov eax, dword [edi + eax]
mov dword [ebp - 0x58], eax
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], eax
test eax, eax
je 0x585f08
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x64]
mov dword [eax], vtable.function_callback_vm2_class_CSaveLoadView__class_ButtonActor___int_.0
mov dword [eax + 4], 0x583bdb
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
jmp 0x585f0d
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x46
call fcn.004f6e30
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x68]
mov dword [eax], edx
call fcn.004fb580
mov eax, dword [ebp - 0x2c]
push eax
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.005025f0
mov eax, dword [esi + 0x58]
add esp, 0xc
mov byte [ebp - 4], 0x41
mov ecx, dword [edi + eax]
lea eax, [ebp - 0x50]
push eax
add ecx, 0x70
call fcn.0055dac0
lea ecx, [ebp - 0x4c]
call fcn.004fb580
mov eax, dword [esi + 0x58]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [edi + eax]
mov dword [eax + 0x4c], 1
mov eax, dword [esi + 0x58]
mov eax, dword [edi + eax]
mov dword [eax + 0x50], 3
mov eax, dword [esi + 0x58]
mov ecx, dword [edi + eax]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [eax]
push 1
mov byte [ebp - 4], 0x47
call fcn.0053fa70
lea ecx, [ebp - 0x90]
call fcn.004fb580
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx + edi]
mov dword [ebp - 0x48], eax
mov ecx, dword [ecx + edi + 4]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x585fc9
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x64]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x48
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x41
call fcn.004fb580
mov eax, dword [esi + 0x58]
push 0
push 1
push 4
mov eax, dword [edi + eax]
push dword [0x6ce3b8]
push 0x6e4b94
mov ecx, dword [eax + 0x84]
push dword [ebp - 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [esi + 0x58]
push 0x6ce4c0
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x84]
call fcn.00541370
mov eax, dword [esi + 0x58]
push dword [0x6e4b0c]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x84]
call fcn.00542410
mov eax, dword [esi + 0x58]
push dword [0x6e4b18]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x84]
call fcn.00542490
mov eax, dword [esi + 0x58]
push dword [0x6e4b1c]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x84]
call fcn.00542470
mov eax, dword [esi + 0x58]
push 0
push 1
push 0x12
mov ecx, dword [edi + eax]
mov eax, dword [ecx + 0x84]
mov ecx, dword [ecx + 0x8c]
mov dword [eax + 0xf0], 0x43fc0000
push dword [0x6ce3bc]
mov eax, dword [ecx]
push 0x6e4b94
push dword [ebp - 0x5c]
call dword [eax + 0x40]
mov eax, dword [esi + 0x58]
push 0x6ce4c8
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x8c]
call fcn.00541370
mov eax, dword [esi + 0x58]
push dword [0x6e4b10]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x8c]
call fcn.00542410
mov eax, dword [esi + 0x58]
push dword [0x6e4b18]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x8c]
call fcn.00542490
mov eax, dword [esi + 0x58]
push dword [0x6e4b1c]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x8c]
call fcn.00542470
mov eax, dword [esi + 0x58]
push 1
mov ecx, dword [edi + eax]
mov eax, dword [ecx + 0x8c]
mov ecx, dword [ecx + 0x94]
mov dword [eax + 0xf0], 0x43fc0000
mov eax, dword [ecx]
push 2
push 0x1e
push dword [0x6ce3c0]
push 0x6e4b94
push dword [ebp - 0x5c]
call dword [eax + 0x40]
mov eax, dword [esi + 0x58]
push 0x6ce4d0
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x94]
call fcn.00541370
mov eax, dword [esi + 0x58]
push dword [0x6e4b14]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x94]
call fcn.00542410
mov eax, dword [esi + 0x58]
push dword [0x6e4b18]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x94]
call fcn.00542490
mov eax, dword [esi + 0x58]
push dword [0x6e4b1c]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x94]
call fcn.00542470
mov eax, dword [esi + 0x58]
push 0x6ce4d8
mov ecx, dword [edi + eax]
mov eax, dword [ecx + 0x94]
mov ecx, dword [ecx + 0x9c]
mov dword [eax + 0xf0], 0x43fc0000
call fcn.00541370
mov eax, dword [esi + 0x58]
mov eax, dword [eax + edi]
mov edi, dword [ebp - 0x64]
inc edi
mov eax, dword [eax + 0x9c]
mov dword [eax + 0xf0], 0x43fc0000
jmp 0x585d64
xor edi, edi
nop dword [eax]
cmp edi, 0xf
jge 0x5861e6
push edi
push dword [esi + 0xd0]
mov ecx, esi
call fcn.00587dd0
inc edi
jmp 0x5861d0
push 0x58
call fcn.005b9a43
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 0x49
test edi, edi
je 0x586211
push 0x6e4b34
mov ecx, edi
call fcn.0056be80
mov dword [edi], vtable.SaveLoadPageBtnMgr.0
jmp 0x586213
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x4a
call fcn.00581d00
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x68]
mov dword [eax], edx
call fcn.004fb580
push edi
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.005025f0
mov eax, dword [esi + 0x78]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov dword [esi + 0x7c], eax
call fcn.00506de0
mov eax, dword [esi + 0x78]
mov dword [eax + 0x54], 1
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x586290
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x4b
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x41
call fcn.004fa130
lea eax, [esi + 0x6c]
push eax
push 0xa
mov ecx, eax
call fcn.005826a0
xor edi, edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], ebx
cmp edi, 0xa
jge 0x5865e4
mov eax, dword [0x6ce014]
mov dword [ebp - 0x64], eax
push edi
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x4c
push str.sl_page__d
push eax
call fcn.004fd790
add esp, 0xc
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x4d
test eax, eax
je 0x58631e
push ecx
mov dword [esp], 0x43fa8000
lea ecx, [ebp - 0x64]
push 0
push 0
push edi
push ecx
mov ecx, eax
call fcn.0055ba00
mov edx, eax
jmp 0x586320
xor edx, edx
mov eax, dword [esi + 0x6c]
lea ecx, [edi*8]
add eax, ecx
mov dword [ebp - 0x28], ecx
push edx
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x4c
mov dword [ebp - 0x58], eax
call fcn.00570410
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov dword [edi], ecx
mov dword [eax], edx
mov ecx, dword [eax + 4]
mov eax, edi
mov edx, dword [ebp - 0x58]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov eax, edi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x94]
call fcn.005066e0
mov eax, dword [esi + 0xb8]
mov edi, dword [ebp - 0x5c]
cmp eax, 4
je 0x586439
cmp eax, 5
je 0x586439
cmp eax, 6
je 0x58639f
cmp eax, 7
je 0x58639f
cmp eax, 8
jne 0x5864d1
mov eax, dword [esi + 0x6c]
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [eax + edi*8]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [0x6ce014]
lea ecx, [ebp - 0x40]
mov edx, dword [esi + 0xd4]
or ebx, 0x400
mov dword [ebp - 0x40], eax
mov eax, dword [edi*4 + 0x6e4bb4]
push eax
mov byte [ebp - 4], 0x51
mov dword [ebp - 0x54], ebx
push dword [eax - 8]
push edx
push dword [edx - 8]
call fcn.004fd410
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x40]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x60]
and ebx, 0xfffffbff
mov dword [ebp - 0x54], ebx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x58642e
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x58642e
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x88]
jmp 0x5864c8
mov eax, dword [esi + 0x6c]
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [eax + edi*8]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [0x6ce014]
lea ecx, [ebp - 0x6c]
mov edx, dword [esi + 0xd4]
or ebx, 0x200
mov dword [ebp - 0x6c], eax
mov eax, dword [edi*4 + 0x6e4bdc]
push eax
mov byte [ebp - 4], 0x4f
mov dword [ebp - 0x54], ebx
push dword [eax - 8]
push edx
push dword [edx - 8]
call fcn.004fd410
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x6c]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x68]
and ebx, 0xfffffdff
mov dword [ebp - 0x54], ebx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5864c5
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5864c5
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x4c
call fcn.004fb580
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp - 0x28]
push 0x14
mov eax, dword [ecx + eax]
mov dword [ebp - 0x60], eax
call fcn.005b9a43
mov edi, eax
add esp, 4
mov dword [ebp - 0x68], edi
test edi, edi
je 0x58650e
mov eax, dword [ebp - 0x60]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi], vtable.function_callback_vm2_class_CSaveLoadView__class_ButtonActor___int_.0
mov dword [edi + 4], 0x5876f0
mov dword [edi + 8], esi
mov dword [edi + 0x10], eax
jmp 0x586510
xor edi, edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], 0
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x52
call fcn.004f6e30
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x38]
mov dword [eax], edx
call fcn.004fb580
push edi
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.005025f0
mov eax, dword [esi + 0x6c]
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x4c
mov ecx, dword [edi + eax]
lea eax, [ebp - 0x50]
push eax
add ecx, 0x70
call fcn.0055dac0
lea ecx, [ebp - 0x4c]
call fcn.004fb580
mov eax, dword [esi + 0x6c]
mov ecx, dword [edi + eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx + edi]
mov dword [ebp - 0x48], eax
mov ecx, dword [ecx + edi + 4]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x586593
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x78]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x53
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x44]
call fcn.004fb580
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x41
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5865db
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5865db
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov edi, dword [ebp - 0x5c]
inc edi
jmp 0x5862ba
push dword [esi + 0xd0]
mov ecx, dword [esi + 0x78]
call fcn.0056f2d0
mov ecx, dword [esi + 0x78]
push dword [esi + 0xd0]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x20]
push 0x60
call fcn.005b9a43
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 0x54
test edi, edi
je 0x586641
push 0x6e4b38
mov ecx, edi
call fcn.0056be80
mov dword [edi], vtable.YesNoBtnMgr.0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
jmp 0x586643
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x55
call fcn.00581e40
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x38]
mov dword [eax], edx
call fcn.004fb580
push edi
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.005025f0
mov eax, dword [esi + 0x98]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x98], ecx
mov ecx, dword [esi + 0x9c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov dword [esi + 0x9c], eax
call fcn.00507240
mov eax, dword [esi + 0x98]
mov dword [eax + 0x54], 1
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x5866d5
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x56
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x41
call fcn.004fa130
push 0x84
call fcn.005b9a43
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 0x57
test edi, edi
je 0x58673c
push str.sl_ok_base
lea ecx, [ebp - 0x2c]
call fcn.004f90a0
push ecx
mov dword [esp], 0x44160000
lea eax, [ebp - 0x2c]
push 0
push 0
push 0
or ebx, 1
mov byte [ebp - 4], 0x58
push eax
mov ecx, edi
mov dword [ebp - 0x54], ebx
call fcn.0055ba00
jmp 0x58673e
xor eax, eax
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x59
call fcn.00570410
or edi, 0xffffffff
mov dword [ebp - 4], 0x5b
test bl, 1
je 0x58678e
mov eax, dword [ebp - 0x2c]
and ebx, 0xfffffffe
mov dword [ebp - 0x54], ebx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x58678e
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x58678e
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
push 0x6e4c04
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x28]
push 0x6e4b88
push eax
mov byte [ebp - 4], 0x5c
call fcn.00515c10
mov ecx, eax
mov eax, dword [ebp - 0x38]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x5d
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5867f4
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5867f4
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x5b
call fcn.004fa4b0
mov ecx, dword [ebp - 0x7c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x586826
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x98]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x5e
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x5b
call fcn.004fa130
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x5f
test eax, eax
je 0x586895
push str.sl_ok
lea ecx, [ebp - 0x5c]
call fcn.004f90a0
push ecx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x5c]
mov dword [esp], 0x44188000
or ebx, 2
push 0
push 0
push 1
push eax
mov byte [ebp - 4], 0x60
mov dword [ebp - 0x54], ebx
call fcn.0055ba00
mov ecx, eax
jmp 0x586897
xor ecx, ecx
push ecx
lea ecx, [esi + 0x88]
mov dword [ebp - 4], 0x61
call fcn.0055b600
mov dword [ebp - 4], 0x5b
test bl, 2
je 0x5868e7
mov eax, dword [ebp - 0x5c]
and ebx, 0xfffffffd
mov dword [ebp - 0x54], ebx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5868e7
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5868e7
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [esi + 0x88]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
push 0x6e4c08
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x28]
push 0x6e4b88
push eax
mov byte [ebp - 4], 0x62
call fcn.00515c10
mov ecx, eax
mov eax, dword [ebp - 0x38]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x63
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x586950
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x586950
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x5b
call fcn.004fa4b0
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x38], 1
push eax
push esi
push 0x587c10
call fcn.00581ee0
add esp, 0x10
lea ecx, [ebp - 0x1c]
push eax
call fcn.0055a160
mov ecx, dword [esi + 0x88]
push eax
add ecx, 0x70
call fcn.0055dac0
lea ecx, [ebp - 0x1c]
call fcn.004fa590
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x5869c4
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x98]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x64
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x5b
call fcn.004fa130
push 0x84
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x65
test eax, eax
je 0x586a31
push str.sl_no
lea ecx, [ebp - 0x5c]
call fcn.004f90a0
push ecx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x5c]
mov dword [esp], 0x44188000
or ebx, 4
push 0
push 0
push 2
push eax
mov byte [ebp - 4], 0x66
mov dword [ebp - 0x54], ebx
call fcn.0055ba00
jmp 0x586a33
xor eax, eax
lea ecx, [esi + 0x90]
mov dword [ebp - 4], 0x67
push eax
call fcn.0055b600
mov dword [ebp - 4], 0x5b
test bl, 4
je 0x586a7d
mov eax, dword [ebp - 0x5c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x586a7d
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x586a7d
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [esi + 0x90]
lea ebx, [esi + 0x90]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [eax]
push 0x6e4c0c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x28]
push 0x6e4b88
push eax
mov byte [ebp - 4], 0x68
call fcn.00515c10
mov ecx, eax
mov eax, dword [ebp - 0x38]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x69
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x586aec
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x586aec
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x5b
call fcn.004fa4b0
mov eax, dword [ebx]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x38], 2
push eax
push esi
push 0x587b10
call fcn.00581ee0
add esp, 0x10
lea ecx, [ebp - 0x1c]
push eax
call fcn.0055a160
mov ecx, dword [ebx]
push eax
add ecx, 0x70
call fcn.0055dac0
lea ecx, [ebp - 0x1c]
call fcn.004fa590
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x586b51
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esi + 0x98]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x6a
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x5b
call fcn.004fa130
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov edx, dword [esi + 0x98]
mov dword [ebp - 0x38], eax
test ebx, ebx
je 0x586b8e
lea ecx, [ebx + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [edx + 0x58]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x58], eax
mov eax, dword [edx + 0x5c]
mov dword [edx + 0x5c], ebx
mov dword [ebp - 0x44], eax
call fcn.005066e0
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x6b
test eax, eax
je 0x586bda
push ecx
mov dword [esp], 0x44098000
mov ecx, eax
push 0
push 0
push 0x6e4b64
call fcn.0055c2e0
jmp 0x586bdc
xor eax, eax
push eax
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0x5b
call fcn.0055b900
mov eax, dword [0x6e19b0]
push 0x60
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x120]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x58], eax
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x6c
test eax, eax
je 0x586c29
push 0x20
push dword [ebp - 0x58]
mov ecx, eax
push dword [ebp - 0x28]
call fcn.0052fa50
jmp 0x586c2b
xor eax, eax
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x5b
call fcn.004f67a0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
push 0x80
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 0
push eax
mov byte [ebp - 4], 0x6d
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00531e30
mov ecx, dword [esi + 0xb0]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [eax]
lea edx, [ebp - 0x84]
push 1
push edx
push 0x6e4b68
mov eax, dword [ecx]
mov byte [ebp - 4], 0x6e
call dword [eax + 0x18]
lea ecx, [ebp - 0x1c]
call fcn.004fa4b0
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x586cc1
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x6f
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x6d
call fcn.004fa130
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x38]
lea ecx, [ebp - 0x84]
call fcn.004fa210
lea ecx, [ebp - 0x7c]
call fcn.005066e0
mov eax, dword [ebp - 0x70]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x586d2e
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x586d2e
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov eax, dword [ebp - 0x74]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x586d57
add eax, 0xfffffff4
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x586d57
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
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.005ba1ab
mov esp, ebp
pop ebp
ret 4