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

Disassembly:
sub esp, 0x3c
push edi
mov edi, ecx
mov ecx, dword [0x653474]
call fcn.0041c970
test eax, eax
jne 0x49e92b
push esi
push eax
push 0x80
push 3
push eax
push 3
push bind
push str.snd_efjob_s.spac
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49e6d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
add esp, 0x3c
ret
push ebx
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push str.snd_efjob_s.spac
call fcn.00462c20
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x49e7ca
push 0
lea edx, [esp + 0x18]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
push esi
call ebx
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x2c
lea edx, [esp + 0x2c]
push edx
push esi
call ebx
test eax, eax
je 0x49e921
movzx edx, word [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
mov ax, 1
cmp ax, word [esp + 0x36]
mov ebp, ecx
sbb eax, eax
neg eax
push eax
movzx eax, word [esp + 0x46]
push edx
mov edx, dword [esp + 0x40]
push eax
movzx eax, word [esp + 0x1c]
push edx
push ecx
shl eax, 4
lea ecx, [eax + edi + 0x2818]
push ecx
mov ecx, edi
call fcn.0049cbe0
test eax, eax
jne 0x49e796
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49e7b5
movzx edx, word [esp + 0x10]
push 0x2c
push ebp
shl edx, 4
push esi
lea eax, [edx + edi + 0x2818]
push eax
mov ecx, edi
call fcn.0049cca0
test eax, eax
je 0x49e802
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x49e720
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
push 0
push 0x80
push 3
push 0
push 3
push bind
push str.snd_efjob_f.spac
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49e837
push eax
call ebp
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x3c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, word [esp + 0x10]
shl ecx, 4
mov eax, dword [ecx + edi + 0x2818]
test eax, eax
lea edi, [ecx + edi + 0x2818]
je 0x49e928
mov edi, eax
mov edx, dword [edi]
push edi
call dword [edx + 8]
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x3c
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push str.snd_efjob_f.spac
call fcn.00462c20
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x49e921
push 0
lea edx, [esp + 0x20]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
push esi
call ebx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x2c
lea edx, [esp + 0x2c]
push edx
push esi
call ebx
test eax, eax
je 0x49e921
movzx edx, word [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
mov ax, 1
cmp ax, word [esp + 0x36]
mov ebp, ecx
sbb eax, eax
neg eax
push eax
movzx eax, word [esp + 0x46]
push edx
mov edx, dword [esp + 0x40]
push eax
movzx eax, word [esp + 0x1c]
add eax, 0x282
push edx
shl eax, 4
push ecx
add eax, edi
push eax
mov ecx, edi
call fcn.0049cbe0
test eax, eax
jne 0x49e8ec
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49e90c
movzx ecx, word [esp + 0x10]
push 0x2c
add ecx, 0x282
push ebp
shl ecx, 4
add ecx, edi
push esi
push ecx
mov ecx, edi
call fcn.0049cca0
test eax, eax
je 0x49e930
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x49e876
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x3c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, word [esp + 0x10]
add edx, 0x282
shl edx, 4
mov eax, dword [edi + edx]
add edi, edx
test eax, eax
je 0x49e928
mov edi, eax
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x3c
ret