Function at 0x44c670
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x20860
call fcn.005b6680
push ebx
push ebp
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
xor eax, eax
mov cl, byte [eax + str.skinlogo.jpg]
mov byte [esp + eax + 0x70], cl
inc eax
test cl, cl
jne 0x44c697
xor eax, eax
mov cl, byte [eax + str.skin_splash.jpg]
mov byte [esp + eax + 0x170], cl
inc eax
test cl, cl
jne 0x44c6a8
xor eax, eax
mov cl, byte [eax + str.skinlogo.gif]
mov byte [esp + eax + 0x270], cl
inc eax
test cl, cl
jne 0x44c6bc
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x31]
mov dword [esp + 0x20], eax
push 0x6cc5fc
mov dword [esp + 0x28], eax
mov byte [esp + 0x34], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.skinlsl
mov dword [esp + 0x20], ebx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x44c71a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20860
ret 0xc
push esi
push 1
lea ecx, [esp + 0x38]
push 0x3c
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x50]
push str.0x_08x_0x_08x_0x_08x
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x208a4]
add esp, 0x28
cmp edx, ebx
setne al
mov byte [ecx], al
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20874]
cmp ecx, ebx
setne dl
mov byte [eax], dl
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x20878]
cmp eax, ebx
setne cl
mov byte [edx], cl
mov ecx, 0x7fff
xor eax, eax
lea edi, [esp + 0x871]
mov byte [esp + 0x870], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + eax*4 + 0x18]
test ecx, ecx
je 0x44c896
mov edx, dword [esp + 0x14]
push 0x6c8d00
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x44c70b
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebp
call edi
lea eax, [esp + 0x34]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_fgetpos]
mov eax, dword [esp + 0x3c]
push 0
mov esi, eax
push 0
and esi, 0x1ffff
push ebp
neg esi
sbb esi, esi
neg esi
shr eax, 0x11
add esi, eax
call edi
add esp, 0x20
test esi, esi
jle 0x44c87e
mov ecx, 0x8000
xor eax, eax
lea edi, [esp + 0x870]
push ebp
rep stosd dword es:[edi], eax
push 0x20000
lea ecx, [esp + 0x878]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, eax
add esp, 0x10
and dl, 3
neg dl
sbb edx, edx
neg edx
shr eax, 2
add edx, eax
xor eax, eax
mov ecx, edx
test ecx, ecx
jle 0x44c87b
test al, 1
je 0x44c869
mov edx, dword [esp + eax*4 + 0x870]
add edx, eax
jmp 0x44c874
mov edi, dword [esp + eax*4 + 0x870]
mov edx, eax
sub edx, edi
add ebx, edx
inc eax
cmp eax, ecx
jl 0x44c85a
dec esi
jne 0x44c819
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [esp + eax*4 + 0x18], ebx
jne 0x44c70b
mov edx, dword [esp + 0x14]
inc eax
add edx, 0x100
cmp eax, 3
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x44c7b2
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20860
ret 0xc