Function at 0x476f47
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x320], eax
mov eax, dword [ebp + 0x10]
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x297]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x298], bl
call fcn.005306b0
add esp, 0xc
push edi
lea eax, [ebp - 0x18f]
push ebx
push eax
mov byte [ebp - 0x190], bl
call fcn.005306b0
add esp, 0xc
push 0x7f
lea eax, [ebp - 0x87]
push ebx
push eax
mov byte [ebp - 0x88], bl
call fcn.005306b0
xor eax, eax
mov word [ebp - 0x334], bx
lea edi, [ebp - 0x332]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x348], bx
lea edi, [ebp - 0x346]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp esi, ebx
stosw word es:[edi], ax
jne 0x477005
push str.StoreId.dat
lea edi, [ebp - 0x298]
call fcn.00470f4a
jmp 0x477016
push esi
mov ecx, 0x104
lea eax, [ebp - 0x298]
call fcn.004ccc3f
pop ecx
lea edx, [ebp - 0x298]
call fcn.004ccc0d
test eax, eax
je 0x477037
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
call fcn.00531157
push eax
push str.StoreId.dat
push ebx
push ebx
call fcn.00493154
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x190]
push str._stempGet_s_d
push eax
call fcn.00531b2f
add esp, 0x14
lea eax, [ebp - 0x190]
call fcn.004314ff
push ebx
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x298]
call fcn.004315a3
test eax, eax
pop ecx
je 0x477026
push 0x10
lea eax, [ebp - 0x334]
push ebx
push eax
mov byte [ebp - 0x88], bl
call fcn.005306b0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x348]
push ebx
push eax
call fcn.005306b0
add esp, 0xc
push 0x2a56
push str..Network.c
mov edx, 0x54f4b8
lea ecx, [ebp - 0x190]
call fcn.00434df1
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x31c], eax
jne 0x4770f2
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x298]
push eax
push str.:6:GetStoreData___s___FAILED:_fopen___s____rb___FAILED_when_CopyFileSafe___succeeded_
call fcn.0042b70b
add esp, 0xc
jmp 0x477026
push 0x7f
lea eax, [ebp - 0x317]
push ebx
push eax
mov byte [ebp - 0x318], bl
call fcn.005306b0
add esp, 0xc
push dword [ebp - 0x31c]
mov edi, 0x80
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.005335c6
add esp, 0xc
push ebx
push 0xa
lea esi, [ebp - 0x88]
call fcn.004cd934
push dword [ebp - 0x31c]
lea eax, [ebp - 0x318]
push edi
push eax
call fcn.005335c6
add esp, 0x14
push dword [ebp - 0x31c]
lea eax, [ebp - 0x334]
push 1
push 0x10
push eax
call fcn.00530e93
mov ecx, dword [ebp - 0x31c]
add esp, 0x10
call fcn.00435239
mov edi, dword [ebp - 0x324]
cmp edi, ebx
je 0x477181
lea esi, [ebp - 0x334]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x338]
cmp eax, ebx
je 0x47719b
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004ccc3f
pop ecx
cmp dword [ebp - 0x320], ebx
je 0x4771ef
push dword [ebp - 0x320]
lea eax, [ebp - 0x190]
push eax
xor ecx, ecx
call fcn.0042e062
test eax, eax
pop ecx
pop ecx
jne 0x4771ef
lea eax, [ebp - 0x190]
push eax
push str.:7:GetStoreData___FAILED:_GetRevisionDate___s___FAILED_
call fcn.0042bd38
push 0x10
push ebx
push dword [ebp - 0x320]
call fcn.005306b0
add esp, 0x14
lea eax, [ebp - 0x190]
call fcn.004314ff
jmp 0x477026
push 1
sub esp, 0x10
lea esi, [ebp - 0x334]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f9794
add esp, 0x14
test eax, eax
jne 0x47727b
movzx eax, word [ebp - 0x328]
push eax
movzx eax, word [ebp - 0x32a]
push eax
movzx eax, word [ebp - 0x32c]
push eax
movzx eax, word [ebp - 0x334]
push eax
movzx eax, word [ebp - 0x32e]
push eax
movzx eax, word [ebp - 0x332]
push eax
lea eax, [ebp - 0x298]
push eax
push str.:8:GetStoreData___FAILED:_The_iNet_connect_time_stamp_loaded_from___s__is_invalid:__02d__02d__04d____02d:_02d._02d
call fcn.0042b70b
add esp, 0x20
cmp dword [ebp - 0x324], ebx
je 0x477269
push 0x10
push ebx
push dword [ebp - 0x324]
call fcn.005306b0
add esp, 0xc
lea eax, [ebp - 0x190]
call fcn.004314ff
mov eax, ebx
jmp 0x477028
xor ebx, ebx
inc ebx
jmp 0x477269