Function at 0x484500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562b01
mov eax, dword fs:[0]
push eax
mov eax, 0x295c
call fcn.00513740
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, 0x5aee28
lea ecx, [ebp - 0x2888]
call fcn.00447e10
mov dword [ebp - 4], 0
mov edx, 0x5aee38
lea ecx, [ebp - 0x2870]
call fcn.00447e10
mov byte [ebp - 4], 1
mov edx, 0x5aee4c
lea ecx, [ebp - 0x2858]
call fcn.00447e10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2878], 0
jne 0x484597
cmp dword [ebp - 0x2860], 0
jne 0x484597
cmp dword [ebp - 0x2848], 0
jne 0x484597
mov esi, 1
jmp 0x484a5b
mov dword [ebp - fcn.00404380], vtable.CBaseFile.0
mov dword [ebp - 0x295c], 0
mov byte [ebp - 0x2960], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2954]
mov ecx, dword [esi + 0x64]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2954]
push 1
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
lea ecx, [ebp - 0x2964]
call fcn.00404380
test al, al
jne 0x4845ee
xor esi, esi
jmp 0x484a19
push 0x2800
lea eax, [ebp - 0x2810]
push 0
push eax
call fcn.0052d340
add esp, 0xc
cmp byte [ebp - 0x2960], 0
je 0x484639
mov eax, dword [ebp - 0x295c]
test eax, eax
je 0x484639
push eax
push 0x2800
lea eax, [ebp - 0x2810]
push 1
push eax
call fcn.0052ea9a
push dword [ebp - 0x295c]
call fcn.0052eb75
add esp, 0x14
cmp byte [ebp - 0x2810], 0
mov dword [ebp - 0x2830], 0
mov dword [ebp - 0x282c], 0
mov dword [ebp - 0x282c], 0xf
mov dword [ebp - 0x2830], 0
mov byte [ebp - 0x2840], 0
jne 0x484675
xor ecx, ecx
jmp 0x484689
lea ecx, [ebp - 0x2810]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484680
sub ecx, edx
push ecx
lea eax, [ebp - 0x2810]
push eax
lea ecx, [ebp - 0x2840]
call fcn.0040acd0
mov byte [ebp - 4], 5
xor eax, eax
mov dword [ebp - 0x2818], 0
mov dword [ebp - 0x2814], 0
mov dword [ebp - 0x2814], 7
mov dword [ebp - 0x2818], 0
mov word [ebp - 0x2828], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2840]
push 8
push eax
push 0x5aee58
call fcn.0040d6d0
mov esi, eax
mov byte [ebp - 0x2958], 0x22
push 1
lea eax, [ebp - 0x2958]
lea ecx, [ebp - 0x2840]
lea edi, [esi + 9]
push edi
push eax
call fcn.0040d6d0
sub eax, esi
lea ecx, [ebp - 0x2840]
sub eax, 9
push eax
push edi
lea eax, [ebp - 0x28a0]
push eax
call fcn.0040d660
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2968], esp
lea eax, [ebp - 0x28a0]
lea esi, [ebp - 0x2828]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040aba0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.0040dbe0
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x2888]
mov eax, esi
cmovae ecx, dword [ebp - 0x2888]
cmp dword [ebp - 0x2814], 8
push ecx
cmovae eax, dword [ebp - 0x2828]
push eax
call fcn.00533aae
add esp, 0x20
test eax, eax
je 0x4847a0
xor esi, esi
jmp 0x484960
push 0xa
push 0
push 0x5aee64
lea ecx, [ebp - 0x2840]
call fcn.0040d6d0
mov esi, eax
mov byte [ebp - 0x2958], 0x22
push 1
lea eax, [ebp - 0x2958]
lea ecx, [ebp - 0x2840]
lea edi, [esi + 0xb]
push edi
push eax
call fcn.0040d6d0
sub eax, esi
lea ecx, [ebp - 0x2840]
sub eax, 0xb
push eax
push edi
lea eax, [ebp - 0x28d0]
push eax
call fcn.0040d660
mov byte [ebp - 4], 9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2968], esp
lea eax, [ebp - 0x28d0]
lea esi, [ebp - 0x2828]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040aba0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.0040dbe0
cmp dword [ebp - 0x285c], 8
lea ecx, [ebp - 0x2870]
mov eax, esi
cmovae ecx, dword [ebp - 0x2870]
cmp dword [ebp - 0x2814], 8
push ecx
cmovae eax, dword [ebp - 0x2828]
push eax
call fcn.00533aae
add esp, 0x20
test eax, eax
je 0x48486c
xor esi, esi
jmp 0x484951
push ecx
push 0x5aee70
lea ecx, [ebp - 0x2840]
call fcn.0040c500
mov esi, eax
mov byte [ebp - 0x2958], 0x22
push 1
lea eax, [ebp - 0x2958]
lea ecx, [ebp - 0x2840]
lea edi, [esi + 7]
push edi
push eax
call fcn.0040d6d0
sub eax, esi
lea ecx, [ebp - 0x2840]
sub eax, 7
push eax
push edi
lea eax, [ebp - 0x28b8]
push eax
call fcn.0040d660
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2968], esp
lea eax, [ebp - 0x28b8]
lea esi, [ebp - 0x2828]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040aba0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0040dbe0
cmp dword [ebp - 0x2844], 8
lea ecx, [ebp - 0x2858]
mov eax, esi
cmovae ecx, dword [ebp - 0x2858]
cmp dword [ebp - 0x2814], 8
push ecx
cmovae eax, dword [ebp - 0x2828]
push eax
call fcn.00533aae
add esp, 0x20
test eax, eax
je 0x484932
xor esi, esi
jmp 0x484942
lea ecx, [ebp - 0x2964]
call fcn.00404520
mov esi, 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28b8]
call fcn.00409410
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28d0]
call fcn.00409410
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x288c]
cmp eax, 0x10
jb 0x484982
inc eax
lea ecx, [ebp - 0x28a0]
push eax
push dword [ebp - 0x28a0]
call fcn.00409490
mov dword [ebp - 0x288c], 0xf
mov dword [ebp - 0x2890], 0
mov byte [ebp - 0x28a0], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2814]
cmp eax, 8
jb 0x4849bf
inc eax
lea ecx, [ebp - 0x2828]
push eax
push dword [ebp - 0x2828]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x2814], 7
mov dword [ebp - 0x2818], 0
mov word [ebp - 0x2828], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x282c]
cmp eax, 0x10
jb 0x4849fe
inc eax
lea ecx, [ebp - 0x2840]
push eax
push dword [ebp - 0x2840]
call fcn.00409490
mov dword [ebp - 0x282c], 0xf
mov dword [ebp - 0x2830], 0
mov byte [ebp - 0x2840], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2954]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x295c]
mov dword [ebp - fcn.00404380], vtable.CBaseFile.0
test eax, eax
je 0x484a54
push eax
call fcn.0052e84e
add esp, 4
test eax, eax
jne 0x484a5b
mov dword [ebp - 0x295c], eax
mov byte [ebp - 0x2960], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2844]
cmp eax, 8
jb 0x484a7d
inc eax
lea ecx, [ebp - 0x2858]
push eax
push dword [ebp - 0x2858]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x2844], 7
mov dword [ebp - 0x2848], 0
mov word [ebp - 0x2858], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x285c]
cmp eax, 8
jb 0x484abb
inc eax
lea ecx, [ebp - 0x2870]
push eax
push dword [ebp - 0x2870]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x285c], 7
mov dword [ebp - 0x2860], 0
mov word [ebp - 0x2870], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2874]
cmp eax, 8
jb 0x484afd
inc eax
lea ecx, [ebp - 0x2888]
push eax
push dword [ebp - 0x2888]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x2874], 7
mov word [ebp - 0x2888], ax
mov eax, esi
mov dword [ebp - 0x2878], 0
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.005120a1
mov esp, ebp
pop ebp
ret