Function at 0x41f7c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4322fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4c
mov eax, dword [0x443350]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xd34], ecx
xor eax, eax
xor ebx, ebx
mov word [ebp - 0xd2c], bx
mov ecx, 0xff
lea edi, [ebp - 0xd2a]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0xd2c]
push str._s_s
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
lea eax, [ebp - 0xd2c]
push 0x436758
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 0x18
cmp esi, ebx
mov dword [ebp - 0xd3c], esi
je 0x41f8fc
call fcn.00427560
push 0x10
mov dword [ebp - 0xd30], eax
mov edx, dword [eax]
push str.876B9304_359C_42E2
mov ecx, eax
call dword [edx + 4]
xor eax, eax
mov byte [ebp - 0x92c], bl
mov ecx, 0xff
lea edi, [ebp - 0x92b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x52c], bl
mov ecx, 0xff
lea edi, [ebp - 0x52b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push 0x400
stosb byte es:[edi], al
lea eax, [ebp - 0x92c]
push 1
push eax
mov dword [ebp - 0xd38], 0x400
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp ax, bx
jne 0x41f919
push ebx
call fcn.00418700
add esp, 4
test al, al
je 0x41f8e6
push str.GetLgsInfoFromLocalFile__::read__fail__n
push 0x6e
push str..LocalCacheFile.cpp
push ebx
call fcn.00418720
add esp, 0xc
push eax
call fcn.00418950
add esp, 8
lea ecx, [ebp - 0xd30]
push ecx
call fcn.00426ed0
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00426448
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xd30]
movzx eax, ax
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
mov edx, dword [ecx]
lea edi, [ebp - 0xd38]
push edi
sar eax, 4
shl eax, 4
lea edi, [ebp - 0x52c]
push edi
push eax
lea eax, [ebp - 0x92c]
push eax
push 1
mov dword [ebp + 0xc], ebx
call dword [edx + 0xc]
test eax, eax
je 0x41fada
push fcn.0040f530
push 0xa
push 0x1c
lea ecx, [ebp - 0x12c]
push ecx
mov dword [ebp + 8], ebx
call fcn.00401d30
movzx edx, word [ebp - 0xd38]
push ebx
push edx
mov eax, edi
push eax
lea ecx, [ebp - 0xd4c]
mov dword [ebp - 4], ebx
call fcn.0040f020
mov esi, dword [ebp - 0xd34]
lea ecx, [esi + 0x28]
push ecx
lea ecx, [ebp - 0xd4c]
mov byte [ebp - 4], 1
call fcn.0040f0a0
cmp dword [ebp + 0x10], ebx
lea ecx, [ebp - 0xd4c]
jne 0x41f9b5
add esi, 0x20
push esi
jmp 0x41f9c8
lea edx, [ebp - 0xd54]
mov dword [ebp - 0xd54], ebx
mov dword [ebp - 0xd50], ebx
push edx
call fcn.0040f150
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xd4c]
call fcn.0040f100
xor esi, esi
mov edi, edi
cmp esi, dword [ebp + 8]
jge 0x41fa00
mov edx, esi
imul edx, edx, 0x1c
lea ecx, [ebp - 0xd4c]
push ecx
lea ecx, [ebp + edx - 0x12c]
call fcn.0040f560
inc esi
jmp 0x41f9e0
lea ecx, [ebp - 0xd4c]
mov dword [ebp + 0xc], 1
mov byte [ebp - 4], bl
call fcn.00401010
jmp 0x41fa26
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], 0xffffffff
je 0x41fad4
mov edi, dword [ebp - 0xd34]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x41fa4c
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [edi + 0x14]
add edi, 0x10
cmp eax, ebx
je 0x41fa68
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x10], ebx
jle 0x41fad4
lea esi, [ebp - 0x122]
nop
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fa85
sub eax, edx
mov dword [ebp - 0xd58], eax
je 0x41fac3
cmp word [esi + 0x10], bx
je 0x41fac3
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
je 0x41fac3
cmp byte [esi - 1], bl
jne 0x41fab8
mov ecx, dword [ebp - 0xd34]
lea eax, [esi - 0xa]
push eax
jmp 0x41fabe
lea ecx, [esi - 0xa]
push ecx
mov ecx, edi
call fcn.0041f730
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
add esi, 0x1c
cmp eax, ecx
mov dword [ebp + 0x10], eax
jl 0x41fa80
mov esi, dword [ebp - 0xd3c]
lea edx, [ebp - 0xd30]
push edx
call fcn.00426ed0
push esi
mov dword [ebp - 0xd30], ebx
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [ebp + 0xc]
add esp, 8
jmp 0x41f8fe