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

Disassembly:
push ebp
mov ebp, esp
push str.f:_sourcelcc_startepawm_user.c
push 0x1790000
push str.RecolveLinkFilename
mov dword [0x44100c], ebp
sub esp, 0x410
mov ecx, 0x104
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x402708
push ebx
push esi
push edi
mov byte [ebp - 8], 1
mov byte [ebp - 8], 4
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 8], 6
mov edi, dword [ebp - 0x10]
cmp byte [edi], 0x22
jne 0x40275e
jmp 0x402747
mov byte [ebp - 8], 8
mov edi, dword [ebp - 0x10]
mov esi, edi
add esi, 1
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x10]
mov bl, byte [esi]
mov byte [edi], bl
mov byte [ebp - 8], 7
mov edi, dword [ebp - 0x10]
cmp byte [edi + 1], 0x22
jne 0x402731
mov byte [ebp - 8], 9
mov edi, dword [ebp - 0x10]
mov byte [edi], 0
mov byte [ebp - 8], 0xc
push 0x2e
push dword [ebp + 8]
call sub.CRTDLL.DLL_strrchr
add esp, 8
mov dword [0x44100c], ebp
mov edi, eax
mov dword [ebp - 0x10], edi
cmp edi, 0
je 0x402a6f
push str..lnk
push dword [ebp - 0x10]
call sub.CRTDLL.DLL__stricmp
add esp, 8
mov dword [0x44100c], ebp
cmp eax, 0
jne 0x402a6f
inc dword [ebp - 8]
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call sub.KERNEL32.dll_CreateFileA
mov dword [0x44100c], ebp
mov dword [ebp - 0x414], eax
cmp eax, 0xffffffff
je 0x402a6b
inc dword [ebp - 8]
push 0
push dword [ebp - 0x414]
call sub.KERNEL32.dll_GetFileSize
mov dword [0x44100c], ebp
mov dword [ebp - 0x418], eax
cmp eax, 0xffffffff
je 0x402a56
cmp dword [ebp - 0x418], 0
je 0x402a56
inc dword [ebp - 8]
push 0
lea edi, [ebp - 0x41c]
push edi
push 0x4c
lea edi, [ebp - 0x410]
push edi
push dword [ebp - 0x414]
call sub.KERNEL32.dll_ReadFile
mov dword [0x44100c], ebp
cmp eax, 0
je 0x402a52
cmp dword [ebp - 0x41c], 0x4c
jne 0x402a52
inc dword [ebp - 8]
cmp byte [ebp - 0x410], 0x4c
jne 0x402a4e
cmp byte [ebp - 0x40f], 0
jne 0x402a4e
cmp byte [ebp - 0x40e], 0
jne 0x402a4e
cmp byte [ebp - 0x40d], 0
jne 0x402a4e
cmp byte [ebp - 0x40c], 1
jne 0x402a4e
cmp byte [ebp - 0x40b], 0x14
jne 0x402a4e
cmp byte [ebp - 0x40a], 2
jne 0x402a4e
cmp byte [ebp - 0x409], 0
jne 0x402a4e
cmp byte [ebp - 0x408], 0
jne 0x402a4e
cmp byte [ebp - 0x407], 0
jne 0x402a4e
cmp byte [ebp - 0x406], 0
jne 0x402a4e
cmp byte [ebp - 0x405], 0
jne 0x402a4e
movzx ebx, byte [ebp - 0x404]
cmp ebx, 0xc0
jne 0x402a4e
cmp byte [ebp - 0x403], 0
jne 0x402a4e
cmp byte [ebp - 0x402], 0
jne 0x402a4e
cmp byte [ebp - 0x401], 0
jne 0x402a4e
cmp byte [ebp - 0x400], 0
jne 0x402a4e
cmp byte [ebp - 0x3ff], 0
jne 0x402a4e
cmp byte [ebp - 0x3fe], 0
jne 0x402a4e
cmp byte [ebp - 0x3fd], 0x46
jne 0x402a4e
mov byte [ebp - 8], 0x13
test byte [ebp - 0x3fc], 1
je 0x4029ba
inc dword [ebp - 8]
push 0
lea edi, [ebp - 0x41c]
push edi
push 2
lea edi, [ebp - 0x410]
push edi
push dword [ebp - 0x414]
call sub.KERNEL32.dll_ReadFile
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0
lea edi, [ebp - 0x41c]
push edi
movzx edi, byte [ebp - 0x40f]
shl edi, 8
movzx ebx, byte [ebp - 0x410]
add edi, ebx
push edi
lea edi, [ebp - 0x410]
push edi
push dword [ebp - 0x414]
call sub.KERNEL32.dll_ReadFile
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x17
push 0
lea edi, [ebp - 0x41c]
push edi
push 0x14
lea edi, [ebp - 0x410]
push edi
push dword [ebp - 0x414]
call sub.KERNEL32.dll_ReadFile
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0
lea edi, [ebp - 0x41c]
push edi
movzx edi, byte [ebp - 0x3ff]
shl edi, 8
movzx ebx, byte [ebp - 0x400]
add edi, ebx
sub edi, 0x14
push edi
lea edi, [ebp - 0x410]
push edi
push dword [ebp - 0x414]
call sub.KERNEL32.dll_ReadFile
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0
lea edi, [ebp - 0x41c]
push edi
push 0xff
push dword [ebp + 8]
push dword [ebp - 0x414]
call sub.KERNEL32.dll_ReadFile
mov dword [0x44100c], ebp
inc dword [ebp - 8]
mov edi, dword [ebp + 8]
mov byte [edi + 0xff], 0
mov byte [ebp - 8], 0x1c
mov byte [ebp - 8], 0x1d
mov byte [ebp - 8], 0x1e
push dword [ebp - 0x414]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x20
mov byte [ebp - 8], 0x21
cmp dword [ebp - 0xc], 0x441228
je 0x402a86
push 0
call fcn.0042b684
add esp, 4
pop edi
pop esi
pop ebx
leave
ret