Function at 0x456080
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba746
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4ee318]
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 - 0x134], edi
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x24]
mov dword [ebp - 0x130], eax
mov eax, dword [edi + 0x28]
cmp esi, eax
je 0x4560e7
mov edi, eax
lea ebx, [ebx]
mov ecx, esi
call fcn.0043c070
add esi, 0x84
cmp esi, edi
jne 0x4560d0
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x34]
mov esi, dword [edi + 0x30]
mov dword [ebp - 0x12c], eax
cmp esi, eax
je 0x456117
mov edi, eax
nop
mov ecx, esi
call fcn.0043c070
add esi, 0x84
cmp esi, edi
jne 0x456100
mov edi, dword [ebp - 0x134]
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x3c]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
push dword [eax + 4]
call fcn.0043b250
mov eax, dword [edi + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x3c]
mov dword [eax], eax
mov eax, dword [edi + 0x3c]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x130]
mov dword [edi + 0x40], 0
cmp edi, eax
je 0x456159
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00405460
lea eax, [ebp - 0x128]
push eax
call fcn.00435b20
add esp, 4
push str.skinmulti_language.tsv
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.0043c190
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.0043c070
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0xa4]
call fcn.0043c7c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x138], eax
cmp eax, 0xffffffff
je 0x456234
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4562b9
cmp esi, 0x400000
ja 0x4562b9
push esi
mov dword [ebp - 0x130], 0
call fcn.00432e95
add esp, 4
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x130]
push 0
push ecx
push esi
push eax
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x130], esi
jne 0x45622c
push esi
mov esi, dword [ebp - 0x12c]
jmp 0x456264
mov esi, dword [ebp - 0x12c]
jmp 0x45626c
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
push eax
push str.multi_language.tsv
call fcn.00435d60
mov esi, eax
add esp, 8
test esi, esi
je 0x456275
mov eax, dword [ebp - 0x12c]
cmp eax, 0xa
jbe 0x456275
push eax
push esi
mov ecx, edi
call fcn.00455850
push esi
call fcn.0047f094
add esp, 4
mov esi, dword [ebp - 0x134]
mov edi, dword [edi + 0x1c]
mov esi, dword [esi + 0x18]
cmp esi, edi
je 0x4562b9
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x12c], eax
push eax
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_InvalidateRect]
add esi, 4
cmp esi, edi
jne 0x456285
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.0043c070
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.0047e7a3
mov esp, ebp
pop ebp
ret 4