Function at 0x470750
Capabilities:
Hide graphical window
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a30f
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x1a40], 0
je 0x4707bf
mov dword [edi + 0x1a38], 0
mov dword [edi + 0x1a40], 0
mov dword [edi + 0x1a3c], 0
mov dword [edi + 0x1a44], 1
mov dword [edi + 0x1a34], 0xffffffff
jmp 0x4717bf
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
xor eax, eax
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 2
cmp dword [0x5e4658], eax
je 0x471739
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.0047ad90
cmp dword [0x5dfb34], 0x10
lea ecx, [ebp - 0x70]
push dword [0x5dfb30]
mov edx, dword [ebp - 0x60]
mov eax, 0x5dfb20
cmovae eax, dword [0x5dfb20]
cmp dword [ebp - 0x5c], 0x10
push eax
cmovae ecx, dword [ebp - 0x70]
call fcn.00432770
add esp, 8
test eax, eax
jne 0x471739
xorps xmm0, xmm0
mov dword [ebp - 0x90], eax
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], al
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
push 0
call fcn.0047b040
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
cmovae esi, dword [ebp - 0xa0]
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4708e4
sub edx, ecx
cmp dword [ebp - 0x5c], 0x10
push edx
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x70]
push esi
call fcn.00432770
add esp, 8
test eax, eax
jne 0x471674
mov esi, dword [ebp + 0xc]
test esi, 0x40000000
je 0x470922
cmp dword [ebp + 8], 0x11
jne 0x4716c3
cmp dword [edi + 0xe0], 0
jne 0x4716c3
push 0
push 0x5be9dc
lea ecx, [edi + 0x44]
push 0xd
call fcn.005207c0
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x4a4], eax
mov ecx, dword [edx]
cmp ecx, edx
je 0x47095e
nop
cmp dword [ecx + 0x10], 7
je 0x4709ad
mov eax, dword [ecx]
mov ecx, eax
cmp eax, edx
jne 0x470950
mov dword [ebp - 0x4a8], 0
push 0x412ac0
push 0x412a90
push 0x14
push 0x18
lea eax, [ebp - 0x4a0]
push eax
call fcn.0052d8d8
mov dword [ebp - 0x2c0], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff3
mov byte [ebp - 4], 5
cmp eax, 0x6d
ja case.0x4709a6.14
movzx eax, byte [eax + 0x471824]
jmp dword [eax*4 + 0x4717dc]
mov dword [ebp - 0x4a8], 1
jmp 0x470968
cmp dword [0x5e4628], 0
je case.0x4709a6.14
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 6
cmp dword [edi + 0x6c], 0
je 0x470b56
push 0x412ac0
push 0x412a90
push 0x14
push 0x18
lea eax, [ebp - 0x2b8]
push eax
call fcn.0052d8d8
mov dword [ebp - 0xd8], 0
push 0
push 4
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0x6c]
push eax
push str.getPKeyInfo
call fcn.004a5510
test al, al
je 0x470b2b
cmp dword [ebp - 0xd8], 0
jg 0x470a43
xor edx, edx
jmp 0x470a55
mov edx, dword [ebp - 0x2a8]
xor eax, eax
cmp dword [ebp - 0x2b8], 4
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x470a60
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00412890
mov eax, dword [ebp - 0xd8]
xorps xmm0, xmm0
cmp eax, 1
jg 0x470a86
xorps xmm1, xmm1
jmp 0x470a9c
cmp dword [ebp - 0x2a0], 3
je 0x470a94
xorps xmm1, xmm1
jmp 0x470a9c
movsd xmm1, qword [ebp - 0x290]
cvtpd2ps xmm1, xmm1
movss dword [ebp - 0x4a4], xmm1
cmp eax, 2
jg 0x470ab2
xorps xmm1, xmm1
jmp 0x470ac8
cmp dword [ebp - 0x288], 3
je 0x470ac0
xorps xmm1, xmm1
jmp 0x470ac8
movsd xmm1, qword [ebp - 0x278]
cvtpd2ps xmm1, xmm1
movss dword [ebp - 0x4a8], xmm1
cmp eax, 3
jle 0x470aea
cmp dword [ebp - 0x270], 3
jne 0x470aea
movsd xmm0, qword [ebp - 0x260]
mulsd xmm0, qword [0x5c71d0]
call fcn.00580f50
mov esi, eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 8
call fcn.004a4c70
push 0x412ac0
push 0x14
push 0x18
lea eax, [ebp - 0x2b8]
push eax
call fcn.0052d3e1
mov byte [ebp - 4], 6
mov ecx, 1
mov eax, dword [ebp - 0x14]
jmp 0x470b7e
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 9
call fcn.004a4c70
push 0x412ac0
push 0x14
push 0x18
lea eax, [ebp - 0x2b8]
push eax
call fcn.0052d3e1
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x4a4]
xor ecx, ecx
mov esi, dword [ebp - 0x4a4]
movss dword [ebp - 0x4a8], xmm0
movss xmm0, dword [ebp - 0x4a4]
movss dword [ebp - 0x4a4], xmm0
test ecx, ecx
je 0x470c8a
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x58], cx
cmp eax, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x58]
call fcn.004cbd00
movss xmm2, dword [ebp - 0x4a8]
movss xmm1, dword [ebp - 0x4a4]
push esi
call fcn.0049bbe0
test eax, eax
je 0x470c7f
mov eax, dword [0x5e4668]
mov dword [ebp - 0x4a4], eax
test eax, eax
je 0x470c7f
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov ecx, dword [edi + 0x6c]
cmovae eax, dword [ebp - 0x58]
xor edx, edx
push eax
lea eax, [ebp - 0x40]
push str.systemse
push eax
call fcn.004407e0
mov ecx, dword [edi + 0x6c]
add esp, 0xc
mov edx, str.systemse
call fcn.0043ffc0
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
push 0
cmovae esi, dword [ebp - 0x58]
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 1
cmovae edx, dword [ebp - 0x40]
push 0
push 0
push 0
push 0
push 0
push 0
push 0xa
push eax
push ecx
mov ecx, dword [ebp - 0x4a4]
push esi
push edx
push str.systemse
push 1
push dword [edi + 0x6c]
call fcn.004eba00
lea ecx, [ebp - 0x40]
call fcn.00403990
lea ecx, [ebp - 0x58]
call fcn.00403990
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb case.0x4709a6.14
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x470cb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x470cb9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
mov ecx, edi
call fcn.0047c620
test eax, eax
jne case.0x4709a6.14
cmp dword [0x5e47bc], eax
mov ecx, edi
sete al
push eax
call fcn.0047b860
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [ebp - 0x4a4], 0
mov eax, dword [0x5e47bc]
je 0x470da6
test eax, eax
jne 0x470da6
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.004cbbe0
shr esi, 0x1e
lea eax, [ebp - 0x40]
and esi, 1
mov ecx, edi
push esi
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0047be60
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x471648
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470efa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x470efa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [0x5e47b0], 0
jne 0x470fbb
cmp dword [0x5e47b4], 0
jne 0x470fbb
push 0
test eax, eax
je 0x470ddd
mov ecx, edi
call fcn.0047b860
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
push 0x5be9f0
push 0
lea ecx, [edi + 0x44]
call fcn.005207c0
test eax, eax
je 0x470f94
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push 0
call fcn.0047b040
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [0x5e4658]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 0x10
push ecx
cmovae eax, dword [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004b1240
test eax, eax
je 0x470f14
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 0x10
push edx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004b1720
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x470eba
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470eb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470f84
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x471648
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470efa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470f84
push ecx
push edx
call fcn.0052d747
add esp, 8
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x470f48
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470f3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470f84
push ecx
push edx
call fcn.0052d747
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x470f94
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470f8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x470f8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
call fcn.004239c0
push 0xffffffffffffffff
push 0
push 0x5bd430
push 0
mov ecx, eax
call fcn.0043fb10
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
lea ecx, [ebp - 0x4a0]
mov dword [0x5e47b4], 0
mov dword [0x5e47b0], 0
call fcn.00412af0
jmp 0x4716c3
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
push 0x5e47b0
lea ecx, [edi + 0x70]
call fcn.004718a0
mov ecx, edi
mov dword [0x5e47b4], 1
call fcn.00473f30
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [ebp - 0x4a8], 0
jne case.0x4709a6.14
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
cmp dword [0x5e47e0], 0
jne case.0x4709a6.14
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne case.0x4709a6.14
push eax
mov ecx, edi
call fcn.0047d400
test eax, eax
jne case.0x4709a6.14
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x5bf3a0
mov edx, str.Setting_screen_open_failed.
mov esi, 0x411
cmp ax, si
cmovne ecx, edx
push ecx
push ecx
push 0xffffffffffffffff
push 1
mov ecx, edi
call fcn.004f5960
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [ebp - 0x4a8], 0
jne case.0x4709a6.14
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
cmp dword [0x5e47e0], 0
jne case.0x4709a6.14
cmp dword [0x5e47c4], 0
jne case.0x4709a6.14
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne case.0x4709a6.14
push 4
mov ecx, edi
call fcn.0047d400
test eax, eax
jne case.0x4709a6.14
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x5bf3fc
mov edx, str.Save_screen_open_failed.
jmp 0x47108a
cmp dword [ebp - 0x4a8], 0
jne case.0x4709a6.14
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
cmp dword [0x5e47e0], 0
jne case.0x4709a6.14
cmp dword [0x5e47c4], 0
jne case.0x4709a6.14
cmp dword [0x5e47c8], 0
je case.0x4709a6.14
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne case.0x4709a6.14
push 5
mov ecx, edi
call fcn.0047d400
test eax, eax
jne case.0x4709a6.14
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x5bf2fc
mov edx, str.Load_screen_open_failed.
jmp 0x47108a
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
push 0x5e47b0
lea ecx, [edi + 0x70]
call fcn.004718a0
xor eax, eax
mov ecx, edi
cmp dword [0x5e47b8], eax
sete al
mov dword [0x5e47b8], eax
call fcn.00473f30
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [0x5e47bc], 0
mov eax, dword [0x5e47b4]
jne 0x471268
test eax, eax
jne 0x471268
cmp dword [0x5e47b0], eax
jne 0x471279
push 0x5e47b0
lea ecx, [edi + 0x70]
call fcn.004718a0
mov ecx, edi
mov dword [0x5e47b0], 1
call fcn.00473f30
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [0x5e47b0], 0
jne 0x471279
test eax, eax
je case.0x4709a6.14
push 0x5e47b0
lea ecx, [edi + 0x70]
call fcn.004718a0
mov ecx, edi
mov dword [0x5e47b4], 0
mov dword [0x5e47b0], 0
call fcn.00473f30
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [ebp - 0x4a8], 0
jne case.0x4709a6.14
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
cmp dword [0x5e47e0], 0
jne case.0x4709a6.14
cmp dword [0x5e47c4], 0
jne case.0x4709a6.14
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne case.0x4709a6.14
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x47132a
push eax
push eax
push eax
push str.executeQuickSave
call fcn.004a5510
test al, al
jne case.0x4709a6.14
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esi, 0x411
mov ecx, 0x5bf358
cmp ax, si
mov edx, str.Quick_save_failed.
cmovne ecx, edx
push ecx
push ecx
push 0
jmp 0x471099
cmp dword [ebp - 0x4a8], 0
jne case.0x4709a6.14
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
cmp dword [0x5e47e0], 0
jne case.0x4709a6.14
cmp dword [0x5e47c4], 0
jne case.0x4709a6.14
cmp dword [0x5e47cc], 0
je case.0x4709a6.14
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne case.0x4709a6.14
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x4713d4
push eax
push eax
push eax
push str.executeQuickLoad
call fcn.004a5510
test al, al
jne case.0x4709a6.14
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esi, 0x411
mov ecx, 0x5bf5a0
cmp ax, si
mov edx, str.Quilck_load_failed.
cmovne ecx, edx
push ecx
push ecx
push 0
jmp 0x471099
cmp dword [ebp - 0x4a8], 0
jne case.0x4709a6.14
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
jne case.0x4709a6.14
cmp dword [0x5e47b4], 0
jne case.0x4709a6.14
cmp dword [0x5e47e0], 0
jne case.0x4709a6.14
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne case.0x4709a6.14
push 6
mov ecx, edi
call fcn.0047d400
test eax, eax
jne case.0x4709a6.14
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esi, 0x411
mov ecx, 0x5bf5e8
cmp ax, si
mov edx, str.Shortcut_screen_open_failed.
cmovne ecx, edx
push ecx
push ecx
push 0
jmp 0x471099
cmp dword [0x5e45d4], 2
jne case.0x4709a6.14
mov ecx, edi
call fcn.0047a9c0
xor edx, edx
lea ecx, [ebp - 0x4a0]
cmp dword [0x5e45d4], 2
mov eax, 0x5e4710
sete dl
cmp dword [0x5e4724], 8
cmovae eax, dword [0x5e4710]
sub esp, 8
push ecx
push ecx
mov ecx, dword [edi + 0x6c]
push edx
push str.LegacyGame.lua
push eax
call fcn.004a5690
test al, al
je 0x4714f6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esi, 0x411
mov edx, str.Reload_lua_script.
cmp ax, si
mov ecx, 0x5bf458
cmovne ecx, edx
push ecx
push ecx
push 0
push 1
mov ecx, edi
call fcn.004f5960
mov ecx, edi
call fcn.0047a790
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [0x5e45d4], 0
je case.0x4709a6.14
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x5e45f4]
call esi
test eax, eax
jne case.0x4709a6.14
push 8
push dword [0x5e45f4]
call esi
call fcn.00420f70
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [0x5e47c0], 0
je case.0x4709a6.14
cmp dword [0x5e47bc], 0
jne case.0x4709a6.14
cmp dword [0x5e47b0], 0
je 0x471596
mov ecx, dword [edi + 0x188]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x184]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je case.0x4709a6.14
cmp dword [0x5e47b4], 0
je 0x4715c1
mov ecx, dword [edi + 0x188]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x184]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je case.0x4709a6.14
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne case.0x4709a6.14
cmp dword [0x5e47d8], eax
je case.0x4709a6.14
mov ecx, edi
call fcn.0047d0d0
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [ebp - 0x4a4], 0
je case.0x4709a6.14
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
call fcn.004cbbe0
shr esi, 0x1e
lea eax, [ebp - 0x40]
and esi, 1
mov ecx, edi
push esi
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0047be60
lea ecx, [ebp - 0x40]
call fcn.00402760
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
cmp dword [edi + 0x194], 0
je case.0x4709a6.14
push 0
mov ecx, edi
call fcn.004804c0
lea ecx, [ebp - 0x4a0]
call fcn.00412af0
jmp 0x4716c3
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
call fcn.004cbbe0
mov eax, dword [ebp + 0xc]
mov ecx, edi
shr eax, 0x1e
and eax, 1
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0047be60
lea ecx, [ebp - 0x40]
call fcn.00402760
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x4716fd
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4716f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4717af
push ecx
push edx
call fcn.0052d747
add esp, 8
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x471739
mov edx, dword [ebp - 0xa0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x47172f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4717af
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x471772
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x471768
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4717af
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp ecx, 0x10
jb 0x4717bf
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4717b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4717b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 8