Function at 0x57fcd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63fe38
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6db1a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [0x6ea5e0]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x2c]
mov edx, dword [eax + edx*4]
mov eax, dword [0x6e4b08]
cmp eax, dword [edx + 4]
jg 0x580a2e
lea eax, [ebx + 0x38]
mov edi, 0x6e4aa8
mov ebx, eax
nop
mov esi, dword [ebx]
mov ecx, ebx
push edi
call fcn.0057ebf0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.0057ee10
add edi, 0x10
cmp edi, 0x6e4b08
jne 0x57fd30
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebx + 0x40]
call fcn.004fb710
mov dword [ebx + 0x4c], 2
push str.ResolutionDlg
push dword [esi]
call fcn.005c7bde
add esp, 8
test eax, eax
jne 0x580a12
push 0x48
mov dword [ebx + 0x48], 1
mov dword [ebx + 0x44], 0x3a98
call fcn.005b9a43
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0x23
test esi, esi
je 0x57fde0
push str.MsgBoxBase
lea ecx, [ebp - 0x18]
call fcn.004f90a0
push ecx
mov dword [esp], 0x44c80000
mov eax, 1
push 0
mov dword [ebp - 0x14], eax
mov ecx, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov byte [ebp - 4], 0x24
call fcn.0055c2e0
jmp 0x57fde2
xor eax, eax
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0x25
call fcn.005727e0
mov eax, dword [ebp - 0x14]
or edi, 0xffffffff
mov dword [ebp - 4], 0x27
test al, 1
je 0x57fe34
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x57fe34
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x57fe34
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov esi, dword [eax]
mov eax, dword [0x6ce014]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
or eax, 0x40
mov byte [ebp - 4], 0x29
push str.con_scr_verify.ap3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call dword [0x64c2e4]
push str.con_scr_verify.ap3
push eax
mov eax, dword [0x6e4a9c]
lea ecx, [ebp + 8]
push eax
push dword [eax - 8]
call fcn.004fd410
mov eax, dword [esi]
lea ecx, [ebp + 8]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
and eax, 0xffffffbf
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x57fec0
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x57fec0
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x2a
test esi, esi
je 0x57fef5
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x57fef5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x57fef5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x54]
mov esi, 1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x57ff13
add ecx, 4
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x2b
call dword [eax + 0x10]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x2c
mov dword [ebp + 8], edx
test edx, edx
je 0x57ff5b
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x57ff5b
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x57ff5b
mov eax, dword [ecx]
call dword [eax + 8]
push 0x60
mov byte [ebp - 4], 0x27
call fcn.005b9a43
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x57ff82
push 0x6e4aa0
mov ecx, eax
call fcn.0057f200
jmp 0x57ff84
xor eax, eax
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x27
call fcn.0057eaa0
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x54], 1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x57ffb4
add ecx, 4
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x2f
call dword [eax + 0x10]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x30
test esi, esi
je 0x57fff8
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x57fff8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x57fff8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push 0x84
mov byte [ebp - 4], 0x2e
call fcn.005b9a43
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0x31
test esi, esi
je 0x58004e
push str.MsgBoxOK
lea ecx, [ebp - 0x20]
call fcn.004f90a0
mov eax, dword [ebp - 0x14]
push ecx
mov dword [esp], 0x44c94000
or eax, 2
push 0
push 0
mov dword [ebp - 0x14], eax
mov ecx, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov byte [ebp - 4], 0x32
call fcn.0055ba00
jmp 0x580050
xor eax, eax
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0x33
call fcn.00570410
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0x35
test dl, 2
je 0x5800a3
mov eax, dword [ebp - 0x20]
and edx, 0xfffffffd
mov dword [ebp - 0x14], edx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5800a3
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5800a3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
mov edx, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov esi, dword [eax]
mov eax, dword [0x6ce014]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
or eax, 0x80
mov byte [ebp - 4], 0x37
push str.con_scr_verify_yes.ap3
mov dword [ebp - 0x10], eax
call dword [0x64c2e4]
push str.con_scr_verify_yes.ap3
push eax
mov eax, dword [0x6e4a9c]
lea ecx, [ebp + 8]
push eax
push dword [eax - 8]
call fcn.004fd410
mov eax, dword [esi]
lea ecx, [ebp + 8]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
and eax, 0xffffff7f
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x580133
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x580133
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x38
test esi, esi
je 0x580168
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x580168
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x580168
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push 0xc
mov byte [ebp - 4], 0x35
call fcn.005b9a43
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x58018f
mov dword [eax], vtable.function_callback_vm0_class_CMsgBoxView_.0
mov dword [eax + 4], 0x580d50
mov dword [eax + 8], ebx
jmp 0x580191
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055a160
mov ecx, dword [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x39
call fcn.00581600
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x3a
test esi, esi
je 0x5801dc
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5801dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5801dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x4c]
lea eax, [ebp + 8]
push 0
push eax
mov byte [ebp - 4], 0x35
call fcn.00549b20
add esp, 8
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0x3b
call fcn.004fb710
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x580229
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x580229
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x580245
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x3c
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x3d
test esi, esi
je 0x58028a
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x58028a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x58028a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push 0x84
mov byte [ebp - 4], 0x35
call fcn.005b9a43
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0x3e
test esi, esi
je 0x5802e0
push str.MsgBoxNO
lea ecx, [ebp - 0x28]
call fcn.004f90a0
mov eax, dword [ebp - 0x18]
push ecx
mov dword [esp], 0x44c94000
or eax, 4
push 0
push 0
mov dword [ebp - 0x18], eax
mov ecx, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push 0
push eax
mov byte [ebp - 4], 0x3f
call fcn.0055ba00
jmp 0x5802e2
xor eax, eax
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x40
call fcn.00570410
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0x42
test dl, 4
je 0x580335
mov eax, dword [ebp - 0x28]
and edx, 0xfffffffb
mov dword [ebp - 0x18], edx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x580335
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x580335
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
mov edx, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [ebp + 8], edx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov esi, dword [eax]
mov eax, dword [0x6ce014]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
or eax, 0x100
mov byte [ebp - 4], 0x44
push str.con_scr_verify_no.ap3
mov dword [ebp - 0x10], eax
call dword [0x64c2e4]
push str.con_scr_verify_no.ap3
push eax
mov eax, dword [0x6e4a9c]
lea ecx, [ebp - 0x14]
push eax
push dword [eax - 8]
call fcn.004fd410
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp + 8]
and eax, 0xfffffeff
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5803c5
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5803c5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 0x45
test esi, esi
je 0x5803fa
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5803fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5803fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push 0xc
mov byte [ebp - 4], 0x42
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x580421
mov dword [eax], vtable.function_callback_vm0_class_CMsgBoxView_.0
mov dword [eax + 4], 0x580d20
mov dword [eax + 8], ebx
jmp 0x580423
xor eax, eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.0055a160
mov ecx, dword [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x46
call fcn.00581600
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x47
test esi, esi
je 0x58046e
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x58046e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x58046e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push 2
push eax
mov byte [ebp - 4], 0x42
call fcn.00549b20
add esp, 8
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0x48
call fcn.004fb710
mov eax, dword [ebp - 0x20]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5804bb
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5804bb
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x40]
mov esi, 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x5804d9
add ecx, 4
mov eax, esi
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0x49
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x42
call fcn.004fa130
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x54], 0
jg 0x580505
xor eax, eax
lea edx, [eax + 1]
jmp 0x58050b
mov eax, esi
cdq
idiv dword [ecx + 0x54]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], edx
mov ecx, dword [ebp - 0x3c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x4a
test eax, eax
je 0x580571
push str.ResoString
lea ecx, [ebp - 0x20]
call fcn.004f90a0
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
or eax, 8
mov dword [esp], 0x44c94000
push dword [0x6ce3a4]
mov dword [ebp + 8], eax
push dword [0x6ce3a0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x4b
call fcn.0055c2e0
mov ecx, eax
jmp 0x580573
xor ecx, ecx
push ecx
lea ecx, [ebx + 0x50]
mov dword [ebp - 4], 0x4c
call fcn.0055b900
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0x42
test al, 8
je 0x5805c5
and eax, 0xfffffff7
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5805c5
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5805c5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
push 0x64d3b8
lea ecx, [ebp - 0x20]
call fcn.004f90a0
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 0x4d
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [eax]
lea ebx, [ebp - 0x20]
mov eax, dword [0x6e19b0]
push 0
push 1
mov edx, dword [ecx]
push 0x10
push 0x12
push ebx
push dword [eax + 0x100]
mov byte [ebp - 4], 0x4e
call dword [edx + 0x40]
lea ecx, [ebp - 0x1c]
call fcn.004fa4b0
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x42
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x58063e
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x58063e
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [eax]
push 0
mov byte [ebp - 4], 0x4f
call fcn.00542490
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x42
call fcn.004fa4b0
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [eax]
push 0
mov byte [ebp - 4], 0x50
call fcn.00542430
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x42
call fcn.004fa4b0
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [eax]
push 0xffffff
mov byte [ebp - 4], 0x51
call fcn.00542410
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x42
call fcn.004fa4b0
push 0x64ca56
lea ecx, [ebp - 0x20]
call fcn.004f90a0
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x52
mov eax, dword [ecx]
call dword [eax + 0x54]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x53
push ecx
mov ecx, dword [eax]
call fcn.005423b0
lea ecx, [ebp - 0x34]
call fcn.004fa4b0
mov eax, dword [ebp - 0x20]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x58070f
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x58070f
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x580728
add ecx, 4
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x54
call dword [eax + 0x10]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x42
call fcn.004fa130
push 0x48
call fcn.005b9a43
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0x55
test esi, esi
je 0x580798
push str.CountDown10
lea ecx, [ebp - 0x30]
call fcn.004f90a0
mov eax, dword [ebp + 8]
push ecx
mov dword [esp], 0x44c94000
or eax, 0x10
push dword [0x6ce3ac]
mov dword [ebp + 8], eax
mov ecx, esi
push dword [0x6ce3a8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x56
call fcn.0055c2e0
jmp 0x58079a
xor eax, eax
push eax
lea ecx, [ebx + 0x58]
mov dword [ebp - 4], 0x57
call fcn.0055b900
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0x42
test al, 0x10
je 0x5807c9
and eax, 0xffffffef
lea ecx, [ebp - 0x30]
mov dword [ebp + 8], eax
call fcn.004faf40
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov esi, dword [eax]
mov eax, dword [0x6ce014]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
or eax, 0x200
mov byte [ebp - 4], 0x59
push str.con_scr_count.ap3
mov dword [ebp - 0x10], eax
call dword [0x64c2e4]
push str.con_scr_count.ap3
push eax
mov eax, dword [0x6e4a9c]
lea ecx, [ebp - 0x14]
push eax
push dword [eax - 8]
call fcn.004fd410
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
and esi, 0xfffffdff
mov dword [ebp - 0x18], esi
lea ecx, [eax - 0xc]
mov dword [ebp - 0x10], esi
cmp ecx, dword [0x6ce010]
je 0x58085a
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x58085a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.004fa4b0
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x58087e
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x5a
call dword [eax + 0x10]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x42
call fcn.004fa130
push 0x48
call fcn.005b9a43
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x5b
test eax, eax
je 0x5808ea
push str.CountDown1
lea ecx, [ebp + 8]
call fcn.004f90a0
push ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp + 8]
mov dword [esp], 0x44c94000
or esi, 0x20
push dword [0x6ce3b4]
mov byte [ebp - 4], 0x5c
push dword [0x6ce3b0]
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 0x10], esi
call fcn.0055c2e0
jmp 0x5808ec
xor eax, eax
push eax
lea ecx, [ebx + 0x60]
mov dword [ebp - 4], 0x5d
call fcn.0055b900
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0x42
test al, 0x20
je 0x580918
and eax, 0xffffffdf
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], eax
call fcn.004faf40
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov esi, dword [eax]
mov eax, dword [0x6ce014]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
or eax, 0x400
mov byte [ebp - 4], 0x5f
push str.con_scr_count.ap3
mov dword [ebp - 0x10], eax
call dword [0x64c2e4]
push str.con_scr_count.ap3
push eax
mov eax, dword [0x6e4a9c]
lea ecx, [ebp + 8]
push eax
push dword [eax - 8]
call fcn.004fd410
mov eax, dword [esi]
lea ecx, [ebp + 8]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x580995
add eax, 0xfffffff4
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x580995
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.004fa4b0
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x5809b9
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x60
call dword [eax + 0x10]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x42
call fcn.004fa130
push dword [ebx + 0x44]
mov ecx, ebx
call fcn.0057fa40
lea ecx, [ebp - 0x44]
call fcn.005066e0
lea ecx, [ebp - 0x4c]
call fcn.005066e0
lea ecx, [ebp - 0x3c]
call fcn.0057f670
lea ecx, [ebp - 0x58]
call fcn.00506d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, ebx
call fcn.00580d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x6e4b08
call fcn.005ba09f
add esp, 4
cmp dword [0x6e4b08], 0xffffffff
jne 0x57fd25
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.con_scr_verify_no.ap3
mov dword [ebp - 4], 0
call fcn.004f90a0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.con_scr_verify_yes.ap3
mov byte [ebp - 4], 1
call fcn.004f90a0
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
push str.con_scr_verify.ap3
call fcn.004f90a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.0057f4d0
mov esi, eax
push str.ResolutionDlg
mov ecx, 0x6e4aa8
mov byte [ebp - 4], 3
call fcn.004f90a0
push esi
mov ecx, 0x6e4aac
mov byte [ebp - 4], 4
call fcn.0057f2d0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.0057f790
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.exit_verify_no.ap3
call fcn.004f90a0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.exit_verify_yes.ap3
mov byte [ebp - 4], 7
call fcn.004f90a0
push ecx
mov ecx, esp
mov byte [ebp - 4], 8
push str.exit_verify.ap3
call fcn.004f90a0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.0057f4d0
mov esi, eax
push str.EndDlg
mov ecx, 0x6e4ab8
mov byte [ebp - 4], 9
call fcn.004f90a0
push esi
mov ecx, 0x6e4abc
mov byte [ebp - 4], 0xa
call fcn.0057f2d0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.0057f790
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.title_verify_no.ap3
call fcn.004f90a0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.title_verify_yes.ap3
mov byte [ebp - 4], 0xd
call fcn.004f90a0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xe
push str.title_verify.ap3
call fcn.004f90a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.0057f4d0
mov esi, eax
push str.TitleRetDlg
mov ecx, 0x6e4ac8
mov byte [ebp - 4], 0xf
call fcn.004f90a0
push esi
mov ecx, 0x6e4acc
mov byte [ebp - 4], 0x10
call fcn.0057f2d0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.0057f790
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.backscene_verify_no.ap3
call fcn.004f90a0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.backscene_verify_yes.ap3
mov byte [ebp - 4], 0x13
call fcn.004f90a0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x14
push str.backscene_verify.ap3
call fcn.004f90a0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x12
call fcn.0057f4d0
mov esi, eax
push str.SceneRetDlg
mov ecx, 0x6e4ad8
mov byte [ebp - 4], 0x15
call fcn.004f90a0
push esi
mov ecx, 0x6e4adc
mov byte [ebp - 4], 0x16
call fcn.0057f2d0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x18
call fcn.0057f790
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.def_verify_no.ap3
call fcn.004f90a0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.def_verify_yes.ap3
mov byte [ebp - 4], 0x19
call fcn.004f90a0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1a
push str.def_verify.ap3
call fcn.004f90a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
call fcn.0057f4d0
mov esi, eax
push str.DefaultDlg
mov ecx, 0x6e4ae8
mov byte [ebp - 4], 0x1b
call fcn.004f90a0
push esi
mov ecx, 0x6e4aec
mov byte [ebp - 4], 0x1c
call fcn.0057f2d0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1e
call fcn.0057f790
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.backchoice_verify_no.ap3
call fcn.004f90a0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.backchoice_verify_yes.ap3
mov byte [ebp - 4], 0x1f
call fcn.004f90a0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x20
push str.backchoice_verify.ap3
call fcn.004f90a0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1e
call fcn.0057f4d0
mov esi, eax
push str.BackLoadDlg
mov ecx, 0x6e4af8
mov byte [ebp - 4], 0x21
call fcn.004f90a0
push esi
mov ecx, 0x6e4afc
mov byte [ebp - 4], 0x22
call fcn.0057f2d0
lea ecx, [ebp - 0x50]
call fcn.0057f790
push 0x649ed0
call fcn.005b9e7c
push 0x6e4b08
mov dword [ebp - 4], 0xffffffff
call fcn.005ba055
add esp, 8
jmp 0x57fd25