Function at 0x5a1680
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ceeed
mov eax, dword fs:[0]
push eax
sub esp, 0x5d8
mov eax, dword [0x623ec0]
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
mov dword [ebp - 0x544], edi
mov eax, dword [edi]
push str.UISelServerScene2.txt
call dword [eax + 0x3c]
lea eax, [ebp - 0x554]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x554], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [0x9c25d0]
mov dword [edi + 0x27d84], 3
push 0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov eax, dword [0x9c25a4]
xorps xmm0, xmm0
mov ecx, edi
mov dword [eax + 0x1358], 0
movups xmmword [edi + 0x26ef0], xmm0
movups xmmword [edi + 0x26f00], xmm0
movq qword [edi + 0x26f10], xmm0
movups xmmword [edi + 0x26f18], xmm0
movups xmmword [edi + 0x26f28], xmm0
movq qword [edi + 0x26f38], xmm0
call fcn.0059f1b0
mov ecx, dword [edi + 0x28]
push 0x1014e
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x26ec0], eax
push 0x10151
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov dword [edi + 0x26ed8], eax
mov ecx, dword [edi + 0x28]
push 0x10152
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov dword [edi + 0x26ee0], eax
mov ecx, dword [edi + 0x28]
push 0x10153
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov dword [edi + 0x26edc], eax
mov ecx, dword [edi + 0x28]
push 0x137
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov dword [edi + 0x26eb8], eax
mov ecx, dword [edi + 0x28]
push 0x138
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [edi + 0x26eb8]
mov dword [edi + 0x26ebc], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
xor eax, eax
cmp dword [0x1ff5a0c], eax
sete al
push eax
call edx
mov ecx, dword [edi + 0x26ebc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
xor eax, eax
cmp dword [0x1ff5a0c], eax
sete al
push eax
call edx
mov ecx, dword [edi + 0x28]
mov dword [0x7d9694], 0x85
push 0x1603
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x26ed0], eax
push 0x1604
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm1, dword [0x605030]
mov dword [edi + 0x26ed4], eax
mov eax, dword [edi + 0x26ed0]
test eax, eax
je 0x5a1836
movss xmm0, dword [eax + 0x50]
addss xmm0, xmm1
movss dword [eax + 0x50], xmm0
mov eax, dword [edi + 0x26ed4]
test eax, eax
je 0x5a1866
movss xmm0, dword [eax + 0x4c]
addss xmm0, dword [0x6050a4]
movss dword [eax + 0x4c], xmm0
mov eax, dword [edi + 0x26ed4]
movss xmm0, dword [eax + 0x4c]
addss xmm0, xmm1
movss dword [eax + 0x4c], xmm0
mov ecx, dword [edi + 0x28]
push 0x10154
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x26ec4], eax
push 0x10155
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x26ec8], eax
push 0x10156
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov dword [edi + 0x26ecc], eax
mov eax, dword [edi + 0x26ec4]
push 0x301
movss xmm0, dword [eax + 0x50]
addss xmm0, dword [0x605030]
movss dword [eax + 0x50], xmm0
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
sub esp, 8
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
mov ecx, dword [0x9c25a4]
mov ecx, dword [ecx + 0xac]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
mov ecx, eax
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x6050d8]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x4c]
movss dword [esp], xmm0
call edx
mov ecx, dword [0x9c25a4]
sub esp, 8
mov esi, dword [edi + 0x26ec0]
movss xmm2, dword [0x604d2c]
mov eax, dword [ecx + 0xac]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov eax, dword [ecx + 0xa8]
mov ecx, esi
cvtpd2ps xmm1, xmm0
movss xmm0, dword [esi + 0x58]
mulss xmm0, xmm2
mulss xmm1, xmm2
subss xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [esp + 4], xmm1
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [esi + 0x54]
mulss xmm1, xmm2
mulss xmm0, xmm2
subss xmm1, xmm0
movss dword [esp], xmm1
call edx
movss xmm3, dword [0x626b1c]
mov eax, dword [edi + 0x26ec0]
movaps xmm0, xmm3
mulss xmm0, dword [0x605120]
addss xmm0, dword [eax + 0x50]
movss dword [eax + 0x50], xmm0
mov eax, dword [0x9c25a4]
mov edx, dword [eax + 0xa8]
cmp edx, 0x640
jne 0x5a1a46
mov eax, dword [edi + 0x26eb8]
movaps xmm0, xmm3
movss xmm2, dword [0x626b18]
mulss xmm0, dword [0x6050bc]
movaps xmm1, xmm2
mulss xmm1, dword [0x605264]
mulss xmm2, dword [0x605228]
mulss xmm3, dword [0x605228]
movss dword [eax + 0x4c], xmm1
movss dword [eax + 0x50], xmm0
mov eax, dword [edi + 0x26ebc]
movss dword [eax + 0x4c], xmm1
movss dword [eax + 0x50], xmm0
mov eax, dword [edi + 0x26eb8]
movss dword [eax + 0x54], xmm2
movss dword [eax + 0x58], xmm3
mov eax, dword [edi + 0x26ebc]
movss dword [eax + 0x54], xmm2
movss dword [eax + 0x58], xmm3
jmp 0x5a1b17
xor esi, esi
cmp edx, 0x400
jne 0x5a1a57
mov esi, 0x14
jmp 0x5a1a65
cmp edx, 0x500
mov eax, 0x28
cmove esi, eax
mulss xmm3, dword [0x6050bc]
sub esp, 8
mov ecx, dword [edi + 0x26eb8]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
addss xmm3, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
movss dword [esp + 4], xmm3
addsd xmm0, qword [edx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x604d2c]
subss xmm0, dword [ecx + 0x54]
movss dword [esp], xmm0
call dword [eax + 0x70]
mov ecx, dword [edi + 0x26ebc]
sub esp, 8
movss xmm0, dword [0x626b1c]
mulss xmm0, dword [0x6050bc]
mov eax, dword [ecx]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov edx, dword [eax + 0x70]
mov eax, dword [0x9c25a4]
addss xmm0, xmm1
mov eax, dword [eax + 0xa8]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x604d2c]
movss dword [esp], xmm0
call edx
mov ecx, dword [edi + 0x28]
push 0x1014f
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x27d70], eax
push 0x10150
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov esi, dword [0x9c25ac]
mov dword [edi + 0x27d74], eax
push 0x388
push 0
lea eax, [esi + 8]
mov word [esi + 0x10e0], 0xffff
push eax
call fcn.00468b40
push 0x540
lea eax, [esi + 0x390]
push 0
push eax
call fcn.00468b40
push 0x410
lea eax, [esi + 0x8d0]
push 0
push eax
call fcn.00468b40
mov ecx, dword [0x18b1378]
add esp, 0x24
mov dword [esi + 0xbfc], 0xffffffff
test ecx, ecx
je 0x5a1bb4
cmp dword [ecx + 0xc], 0xffffffff
je 0x5a1bb4
cmp dword [ecx + 4], 0
je 0x5a1bb4
call fcn.005bdac0
mov esi, dword [0x9c25ac]
cmp dword [esi + 0x21a80], 1
jne 0x5a1beb
mov dword [esi + 0x21a80], 0
mov ecx, dword [edi + 0x110]
push 0
push 0
push 0x7dd9b0
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov ecx, dword [edi + 0x110]
push 1
mov eax, dword [ecx]
call dword [eax + 0x60]
push 0x400
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.00468b40
movaps xmm0, xmmword [0x6057e0]
add esp, 0xc
movups xmmword [ebp - 0x53c], xmm0
mov dword [ebp - 0x514], 0xffffffff
movups xmmword [ebp - 0x52c], xmm0
push 0
push 0
push 0
push 0
push 0x5fdb68
movq qword [ebp - 0x51c], xmm0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x5a1cc5
push 0
push 0x4000000
push 0
push 0
push 0x915fd0
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x5e4], eax
test eax, eax
jne 0x5a1c6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x5a1cbe
lea ecx, [ebp - 0x540]
mov dword [ebp - 0x540], 0
push ecx
push 0x400
lea ecx, [ebp - 0x510]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [ebp - 0x5e4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x540]
cmp eax, 0x400
jb 0x5a1cb6
mov eax, 0x3ff
mov dword [ebp - 0x540], eax
mov byte [ebp + eax - 0x510], 0
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x510]
push str._d_n_d_n_d_n_d_n_d_n_d_n_d_n_d_n_d_n_d_n_d_n
push eax
call fcn.00445a10
mov eax, 3
mov byte [edi + 0x27d78], 0
add esp, 0x34
mov dword [ebp - 0x540], eax
lea esi, [edi + 0x26ed8]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x5a1d5f
mov eax, dword [ecx]
push 0
call dword [eax + 0x60]
mov eax, dword [esi]
mov dword [eax + 0x94], 0
mov eax, dword [ebp - 0x540]
add esi, 4
sub eax, 1
mov dword [ebp - 0x540], eax
jne 0x5a1d40
mov ecx, dword [edi + 0x26ec0]
push 0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov eax, dword [edi + 0x26ec0]
push 0
mov dword [eax + 0x94], 0
mov eax, dword [0x9c25a4]
mov dword [eax + 0x38c], 0
mov eax, dword [0x9c25ac]
mov ecx, dword [eax + 0x21a74]
mov eax, dword [ecx]
call dword [eax + 0x50]
push 0x10000
lea eax, [edi + 0x118]
push 0
push eax
call fcn.00468b40
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00468b40
push 0x80
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00468b40
lea eax, [ebp - 0x90]
push str.envField1616.trn
push eax
call fcn.0045d4e0
lea eax, [ebp - 0x110]
push str.envField1616.dat
push eax
call fcn.0045d4e0
mov eax, dword [edi + 0x27d84]
add esp, 0x34
test eax, eax
je 0x5a1ed3
dec eax
cmp eax, 3
ja case.default.0x5a1e21
jmp dword [eax*4 + 0x5a25c0]
lea eax, [ebp - 0x90]
push str.envCharacter.trn
push eax
call fcn.0045d4e0
lea eax, [ebp - 0x110]
push str.envCharacter.dat
push eax
call fcn.0045d4e0
mov dword [0x626d50], 0x800
mov dword [0x626d54], 0x800
jmp 0x5a1f09
lea eax, [ebp - 0x90]
push str.envField0813.trn
push eax
call fcn.0045d4e0
lea eax, [ebp - 0x110]
push str.envField0813.dat
push eax
call fcn.0045d4e0
mov dword [0x626d50], 0x380
mov dword [0x626d54], 0x600
jmp 0x5a1f09
lea eax, [ebp - 0x90]
push str.envField2922.trn
push eax
call fcn.0045d4e0
lea eax, [ebp - 0x110]
push str.envField2922.dat
push eax
call fcn.0045d4e0
mov dword [0x626d50], 0xe00
mov dword [0x626d54], 0xa7c
jmp 0x5a1f09
lea eax, [ebp - 0x90]
push str.envField2723.trn
push eax
call fcn.0045d4e0
lea eax, [ebp - 0x110]
push str.envField2723.dat
push eax
call fcn.0045d4e0
mov dword [0x626d50], 0xd00
mov dword [0x626d54], 0xb00
add esp, 0x10
push 0x20a70
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x540], esi
mov dword [ebp - 4], 0
push 0x20a70
push 0
push esi
call fcn.00468b40
add esp, 0x10
mov ecx, esi
call fcn.005540f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
mov dword [edi + 0xec], eax
call fcn.00554570
test eax, eax
jne 0x5a1fd3
cmp dword [edi + 0x54], eax
je 0x5a1fcc
push 0x8c
push eax
lea eax, [ebp - 0x5e0]
push eax
call fcn.00468b40
mov ecx, dword [edi + 0x4c]
push 0xe
push 0
push 0
mov ax, word [ecx + 0x20]
mov word [ebp - 0x5da], ax
mov eax, 0x2bc
mov word [ebp - 0x5dc], ax
cvttss2si eax, dword [ecx + 0x2c]
push eax
cvttss2si eax, dword [ecx + 0x28]
push eax
push 0
push 0
push str._08d___Critical_Data_Err_Cl__d__d__d__d__d___d
lea eax, [ebp - 0x5d4]
push 0x80
push eax
call fcn.004459c0
add esp, 0x34
lea eax, [ebp - 0x5e0]
push 0x8c
push eax
call fcn.005bdb60
mov dword [edi + 0x54], 1
mov eax, dword [edi + 0xec]
lea ecx, [edi + 0x218]
xor edx, edx
mov dword [edi + 0x40], eax
mov dword [ebp - 0x540], edx
mov dword [ebp - 0x5e4], ecx
mov esi, dword [edi + 0x40]
add edx, 0xc0cc
add esi, edx
lea edi, [ecx - 0x100]
mov edx, dword [ebp - 0x544]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x40]
mov ecx, dword [ebp - 0x540]
mov edi, dword [ebp - 0x5e4]
add ecx, 0xc14c
add esi, ecx
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x40]
mov ecx, dword [ebp - 0x540]
mov edi, dword [ebp - 0x5e4]
add ecx, 0xc1cc
add esi, ecx
add edi, 0x100
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x40]
mov ecx, 0x20
mov edx, dword [ebp - 0x540]
add esi, 0xc24c
mov edi, dword [ebp - 0x5e4]
add esi, edx
add edi, 0x200
add edx, 0x200
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x5e4]
mov edi, dword [ebp - 0x544]
add ecx, 0x400
mov dword [ebp - 0x540], edx
mov dword [ebp - 0x5e4], ecx
cmp edx, 0x4000
jl 0x5a1ff0
mov ecx, dword [edi + 0x40]
push 0x404c
cvttss2si eax, dword [ecx + 0x20a28]
mov dword [0x626d50], eax
cvttss2si eax, dword [ecx + 0x20a2c]
mov dword [0x626d54], eax
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x540], esi
mov dword [ebp - 4], 1
push 0x404c
push 0
push esi
call fcn.00468b40
add esp, 0x10
mov ecx, esi
push dword [edi + 0x40]
call fcn.0058c4c0
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xf4], edx
mov ecx, dword [edi + 0xe8]
mov dword [edx + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [edx + 0xc]
test eax, eax
je 0x5a211f
mov dword [eax + 8], edx
mov ecx, dword [edi + 0xf4]
lea eax, [ebp - 0x110]
push eax
call fcn.0058c610
test eax, eax
je 0x5a2558
mov edx, dword [edi + 0xec]
mov ecx, dword [edi + 0xe8]
mov dword [edx + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [edx + 0xc]
test eax, eax
je 0x5a215b
mov dword [eax + 8], edx
cmp dword [edi + 0x27d84], 2
jne 0x5a216d
push 1
mov ecx, edi
call fcn.00590f20
push 0x16c
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x540], esi
mov dword [ebp - 4], 2
push 0x16c
push 0
push esi
call fcn.00468b40
add esp, 0x10
mov ecx, esi
call fcn.005bb6f0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [edi + 0x48], eax
mov edx, dword [eax]
call dword [edx + 0x38]
mov edx, dword [edi + 0x48]
mov ecx, dword [edi + 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [edx + 0xc]
test eax, eax
je 0x5a21ca
mov dword [eax + 8], edx
push 0x2290
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x540], esi
mov dword [ebp - 4], 3
push 0x2290
push 0
push esi
call fcn.00468b40
add esp, 0x10
mov ecx, esi
call fcn.005b9ad0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x44], eax
mov dword [eax + 4], edi
mov ecx, dword [edi + 0x10]
mov dword [eax + 0xc], ecx
mov dword [edi + 0x10], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x5a221a
mov dword [ecx + 8], eax
lea eax, [ebp - 0x554]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x554], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x44]
push 2
mov dword [0x7d9690], 2
call fcn.005b9eb0
push 0x2670
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x540], esi
mov dword [ebp - 4], 4
push 0x2670
push 0
push esi
call fcn.00468b40
movss xmm1, dword [0x604dc4]
add esp, 0x10
mov ecx, esi
push 1
call fcn.005bacf0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [edi + 0x2c]
mov dword [edi + 0x26f54], ecx
test edx, edx
je 0x5a22ab
mov dword [ecx + 4], edx
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xc], eax
mov dword [edx + 0x10], ecx
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x5a22ab
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x26f54]
xor ecx, ecx
cmp dword [0x7d9690], 2
push 0x2670
sete cl
mov dword [eax + 0x28], ecx
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x540], esi
mov dword [ebp - 4], 5
push 0x2670
push 0
push esi
call fcn.00468b40
movss xmm1, dword [0x604ea8]
add esp, 0x10
mov ecx, esi
push 1
call fcn.005bacf0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [edi + 0x2c]
mov dword [edi + 0x26f58], ecx
test edx, edx
je 0x5a2326
mov dword [ecx + 4], edx
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xc], eax
mov dword [edx + 0x10], ecx
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x5a2326
mov dword [eax + 8], ecx
push 0xc8
lea eax, [edi + 0x26f60]
push 0
push eax
call fcn.00468b40
mov ecx, dword [0x9c25ac]
add esp, 0xc
movss xmm0, dword [0x6052d4]
mov eax, dword [ecx + 0x21a74]
mov dword [eax + 0x78], 0x450408cd
movss dword [eax + 0x7c], xmm0
mov eax, dword [ecx + 0x21a74]
mov dword [eax + 0x28], 0x4096b852
mov eax, dword [ecx + 0x21a74]
mov ecx, dword [0x9c25cc]
mov dword [eax + 0x2c], 0x3e851eb8
test ecx, ecx
je 0x5a2428
push 0x66
call fcn.004a8da0
test eax, eax
je 0x5a2422
mov ecx, dword [0x9c25cc]
push 0x66
call fcn.004a8da0
xor edx, edx
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x5e4], edx
cmp dword [eax + 4], edx
je 0x5a2408
xor esi, esi
cmp dword [eax + 0x10], edx
jbe 0x5a2408
mov edi, eax
nop dword [eax]
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x5a23f8
mov dword [ebp - 0x540], 0
lea edx, [ebp - 0x540]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x24]
mov eax, dword [ebp - 0x540]
mov edx, dword [ebp - 0x5e4]
and eax, 1
or edx, eax
mov dword [ebp - 0x5e4], edx
inc esi
cmp esi, dword [edi + 0x10]
jb 0x5a23c0
mov edi, dword [ebp - 0x544]
test edx, edx
jne 0x5a2422
mov ecx, dword [0x9c25cc]
push 0x66
call fcn.004a8da0
sub esp, 0xc
push 1
push ecx
mov ecx, eax
call fcn.004a86c0
mov ecx, dword [0x9c25cc]
cmp dword [0x1ff5a0c], 0
mov esi, 1
jne 0x5a24af
mov ecx, edi
call fcn.0059f9c0
mov ecx, dword [0x9c25ac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
mov ecx, dword [0x9c25b4]
mov dword [eax + 0x8c], esi
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov dword [edi + 0x20120], eax
mov eax, dword [edi + 0x27d84]
test eax, eax
je 0x5a2496
dec eax
cmp eax, 3
ja case.default.0x5a2473
jmp dword [eax*4 + 0x5a25d0]
push str.UIDemoCamAction2
jmp 0x5a249b
push str.UIDemoCamAction3
jmp 0x5a249b
push str.UIDemoCamAction4
jmp 0x5a249b
push str.UIDemoCamAction5
jmp 0x5a249b
push str.UIDemoCamAction
mov ecx, edi
call fcn.00596500
mov ecx, dword [0x9c25cc]
mov word [edi + 0x2011c], si
test ecx, ecx
je 0x5a254c
push 0x65
call fcn.004a8da0
test eax, eax
je 0x5a254c
mov ecx, dword [0x9c25cc]
push 0x65
call fcn.004a8da0
mov edi, eax
xor edx, edx
mov dword [ebp - 0x540], edx
cmp dword [edi + 4], edx
je 0x5a2532
xor esi, esi
cmp dword [edi + 0x10], edx
jbe 0x5a2532
nop dword [eax]
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x5a2528
mov dword [ebp - 0x544], 0
lea edx, [ebp - 0x544]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x24]
mov eax, dword [ebp - 0x544]
mov edx, dword [ebp - 0x540]
and eax, 1
or edx, eax
mov dword [ebp - 0x540], edx
inc esi
cmp esi, dword [edi + 0x10]
jb 0x5a24f0
test edx, edx
jne 0x5a254c
mov ecx, dword [0x9c25cc]
push 0x65
call fcn.004a8da0
sub esp, 0xc
push 0
push ecx
mov ecx, eax
call fcn.004a86c0
call fcn.005a2770
mov eax, 1
jmp 0x5a25a2
push str.DataFile_Not_Found
call fcn.00586620
mov eax, dword [0x9c25c8]
add esp, 4
push 0
push str.File_Lost
push str.DataFile_NotFound.
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push str.Closed_the_game_by_DataFile4
call fcn.00586620
mov eax, dword [0x9c25c8]
add esp, 4
push 0
push 0
push 0x10
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
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.0046676f
mov esp, ebp
pop ebp
ret