Function at 0x4e7310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8dc5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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 - 0x1c], edi
mov ecx, dword [edi + 0x44]
push 0
call fcn.005b9eb0
cmp dword [edi + 0x26eb4], 0
lea esi, [edi + 0x26eb4]
mov dword [ebp - 0x44], esi
je 0x4e73af
mov edx, esi
mov edi, 0x32
mov esi, dword [0x9c25ac]
mov ecx, dword [edx]
test ecx, ecx
je 0x4e73a1
mov eax, dword [0x9c25b0]
mov byte [ecx + 0x14], 1
mov dword [esi + 0x21a7c], 1
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e739b
cmp dword [eax + 0x1c], ecx
jne 0x4e7394
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4e7388
mov dword [edx], 0
add edx, 4
sub edi, 1
jne 0x4e7368
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x1c]
push 0x960
lea eax, [edi + 0x26f7c]
push 0
push eax
call fcn.00468b40
push 0x5ec588
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push str.UIEndDemo.bin
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0x20]
add esp, 0x18
test eax, eax
je 0x4e7885
add edi, 0x26f84
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
nop dword [eax]
push eax
push 0x30
lea esi, [edi - 8]
mov dword [edi + 4], 0
push 1
push esi
call fcn.0047004e
add esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4e7874
mov ecx, dword [esi]
xorps xmm0, xmm0
movzx eax, word [esi]
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x40], xmm0
lea ecx, [ecx + ecx*8]
shl ecx, 4
movzx eax, word [ecx + 0x817ff0]
mov word [ebp - 0x64], ax
movzx eax, word [ecx + 0x817ff2]
mov word [ebp - 0x62], ax
mov eax, dword [edi - 4]
mov edi, dword [edi]
lea ecx, [eax + eax*8]
shl ecx, 4
lea esi, [edi + edi*8]
shl esi, 4
movzx eax, word [ecx + 0x817ff0]
mov word [ebp - 0x60], ax
movzx eax, word [ecx + 0x817ff2]
mov word [ebp - 0x5e], ax
movzx eax, word [esi + 0x817ff0]
mov edx, eax
mov word [ebp - 0x5c], ax
movzx eax, word [esi + 0x817ff2]
mov ecx, eax
mov word [ebp - 0x5a], ax
mov word [ebp - 0x58], dx
mov word [ebp - 0x54], dx
mov word [ebp - 0x50], dx
mov edx, dword [ebp - 0x24]
mov word [ebp - 0x56], cx
mov word [ebp - 0x52], cx
mov word [ebp - 0x4e], cx
mov eax, dword [edx + 8]
lea ecx, [eax + eax*8]
shl ecx, 4
movzx eax, word [ecx + 0x817ff0]
mov word [ebp - 0x4c], ax
movzx eax, word [ecx + 0x817ff2]
mov word [ebp - 0x4a], ax
mov eax, dword [edx + 0xc]
lea ecx, [eax + eax*8]
shl ecx, 4
movzx eax, word [ecx + 0x817ff0]
mov word [ebp - 0x48], ax
movzx eax, word [ecx + 0x817ff2]
mov cl, byte [esi + 0x81803e]
mov word [ebp - 0x46], ax
mov al, byte [edx + 0x10]
mov byte [ebp - 0x39], al
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x31], cl
mov byte [ebp - 0x32], cl
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x34], cl
mov byte [ebp - 0x35], cl
mov byte [ebp - 0x36], cl
cmp edi, dword [edx - 4]
jne 0x4e7520
mov byte [ebp - 0x3f], al
mov byte [ebp - 0x37], cl
cmp dword [ebp - 0x14], 0xffffffff
je 0x4e7874
push 0xb5c
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 0
push 0xb5c
push 0
push esi
call fcn.00468b40
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0057a1f0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x2c]
push str.person_d
mov dword [esi], eax
mov dword [eax + 0x62c], 1
mov eax, dword [esi]
mov dword [eax + 0x20], 0x2710
mov eax, dword [esi]
add eax, 0xfc
push eax
call fcn.00445aa0
mov edi, dword [ebp - 0x24]
add esp, 0xc
mov eax, dword [edi + 0x14]
cmp eax, 0x938
jl 0x4e75a5
cmp eax, 0x956
jl 0x4e75bb
cmp eax, 0xb90
jl 0x4e76e6
cmp eax, 0xbb8
jge 0x4e76e6
mov eax, dword [esi]
xorps xmm0, xmm0
mov dl, 0x12
mov byte [eax + 0xa44], 1
mov eax, dword [edi + 0x14]
sub eax, 0x7fd
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], eax
movzx eax, ax
mov ecx, eax
mov word [ebp - 0x18], ax
mov eax, dword [esi]
mov dword [ebp - 0x28], ecx
add ecx, 0xfffffec5
mov word [eax + 0x130], cx
lea ecx, [ebp - 0x18]
call fcn.0049aed0
mov ecx, eax
call fcn.004b44f0
mov ecx, dword [esi]
mov dword [ecx + 0xa48], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi]
lea edx, [eax + eax*8]
shl edx, 4
movzx eax, word [edx + 0x817ff0]
mov word [ecx + 0x132], ax
mov ecx, dword [esi]
movzx eax, word [ecx + 0x132]
mov word [ecx + 0x136], ax
mov ecx, dword [esi]
movzx eax, word [edx + 0x817ff2]
mov word [ecx + 0x134], ax
mov ecx, dword [esi]
movzx eax, word [ecx + 0x134]
mov word [ecx + 0x138], ax
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 0x141]
cmp eax, 4
ja 0x4e766f
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
add ecx, 0xfffffec0
jmp 0x4e7685
lea eax, [ecx - 0x146]
cmp eax, 4
mov eax, dword [esi]
ja 0x4e76a9
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffebb
mov word [eax + 0x13a], cx
mov eax, dword [esi]
mov byte [eax + 0x152], 0
mov eax, dword [esi]
mov byte [eax + 0x153], 0
mov eax, dword [esi]
mov byte [eax + 0x154], 0
jmp 0x4e76ca
xor ecx, ecx
mov word [eax + 0x13a], cx
mov eax, dword [esi]
mov byte [eax + 0x154], cl
mov eax, dword [esi]
mov byte [eax + 0x152], cl
mov eax, dword [esi]
mov byte [eax + 0x153], cl
mov eax, dword [esi]
movsx edx, word [eax + 0x132]
mov ecx, dword [eax + 0xa48]
call fcn.0049ae50
movss dword [eax + 0xa4c], xmm0
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [eax + 0x172], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [eax + 0x182], xmm0
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax + 0x192], xmm0
cmp dword [edi + 4], 0
jle 0x4e7757
mov eax, dword [esi]
mov byte [eax + 0xa5a], 1
mov eax, dword [edi + 4]
mov ecx, dword [esi]
lea eax, [eax + eax*8]
shl eax, 4
mov ax, word [eax + 0x817ff2]
mov word [ecx + 0xa5c], ax
mov ecx, dword [esi]
movzx eax, byte [edi + 0x10]
mov byte [ecx + 0xa5e], al
mov eax, dword [edi + 4]
mov ecx, dword [esi]
lea eax, [eax + eax*8]
shl eax, 4
movzx eax, byte [eax + 0x81803e]
mov byte [ecx + 0xa5f], al
mov eax, dword [esi]
push dword [ebp - 0x30]
mov byte [eax + 0x210], 1
mov ecx, dword [esi]
call fcn.0057aef0
mov ecx, dword [esi]
call fcn.0057b2b0
movzx eax, word [edi + 8]
mov ecx, dword [esi]
push eax
movzx eax, word [edi + 0xc]
push eax
call fcn.0057e110
movd xmm0, dword [edi + 0x20]
mov ecx, dword [esi]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x30], ecx
cmp dword [ecx + 0x1d4], 0
mulss xmm0, dword [0x605088]
divss xmm0, dword [0x605250]
jne 0x4e77ee
cmp dword [ecx + 0x218], 0x2c
jne 0x4e77b9
movss xmm0, dword [0x604fb8]
mov eax, dword [ecx]
sub esp, 0xc
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
mov dword [esp], 0
call dword [eax + 0x48]
mov eax, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x34]
movss dword [eax + 0x1f8], xmm0
movss dword [eax + 0x1dc], xmm0
movd xmm0, dword [edi + 0x1c]
sub esp, 0xc
mov ecx, dword [esi]
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movd xmm0, dword [edi + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0
movss dword [esp], xmm0
call fcn.0057f2f0
movd xmm0, dword [edi + 0x24]
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x1d8], xmm0
mov eax, dword [esi]
mov byte [eax + 0x214], 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi]
mov ecx, dword [eax + 0x34]
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 0x4e7854
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x2c]
add esi, 4
inc eax
mov dword [ebp - 0x28], esi
add edi, 0x30
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edi
cmp eax, 0x32
jge 0x4e7874
mov eax, dword [ebp - 0x20]
jmp 0x4e7400
push dword [ebp - 0x20]
call fcn.0046bf19
mov esi, dword [ebp - 0x44]
add esp, 4
mov edi, dword [ebp - 0x1c]
push 0x5ec588
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push str.UITimeTable.bin
push eax
call fcn.0046c5d4
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4e78dc
push 0x320
lea eax, [edi + 0x2aadc]
push 0
push eax
call fcn.00468b40
push dword [ebp - 0x1c]
lea eax, [edi + 0x278dc]
push 1
push 0x3200
push eax
call fcn.0047004e
push dword [ebp - 0x1c]
call fcn.0046bf19
add esp, 0x20
mov edi, 0x32
mov eax, dword [esi]
test eax, eax
je 0x4e78fe
mov dword [eax + 0x48], 1
mov ecx, dword [esi]
push 0
call fcn.0057f3d0
mov ecx, dword [esi]
call fcn.005815d0
add esi, 4
sub edi, 1
jne 0x4e78e1
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