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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4395ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x610], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x60c], ax
lea eax, [ebp - 0x60a]
push eax
mov dword [ebp - 0x624], ecx
call fcn.0041a0a0
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0041a0a0
mov ecx, dword [0x43d110]
add esp, 0x18
add ecx, 0x1914
mov edx, ecx
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414b10
sub edx, esi
sar edx, 1
jne 0x414b37
push 0x104
lea eax, [ebp - 0x60c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x414b50
lea edx, [ebp - 0x60c]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x414b40
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x414e44
lea eax, [ebp - 0x614]
mov dword [ebp - 0x614], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.00415a62
mov edi, eax
add esp, 4
mov dword [ebp - 0x618], edi
test edi, edi
je 0x414e3d
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x614]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414e34
cmp esi, dword [ebp - 0x614]
jne 0x414e34
cmp dword [0x43a7ac], 0
jne 0x414cda
xor ecx, ecx
nop
movzx eax, word [ecx + str..key]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x406], ax
test ax, ax
jne 0x414bf0
lea edi, [ebp - 0x404]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x414c10
mov eax, dword [0x435518]
lea edx, [ebp - 0x60c]
mov dword [edi], eax
mov esi, edx
jmp 0x414c30
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x414c30
lea edi, [ebp - 0x404]
sub edx, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x414c46
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x404]
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x414c70
lea edx, [ebp - 0x404]
mov dword [edi], eax
add edx, 0xfffffffe
jmp 0x414c90
mov ax, word [edx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x414c90
mov eax, dword [str..key]
push dword [ebp - 0x614]
mov edi, dword [ebp - 0x618]
mov ecx, dword [ebp - 0x610]
mov dword [edx], eax
mov eax, dword [0x435448]
mov dword [edx + 4], eax
mov ax, word [0x43544c]
mov word [edx + 8], ax
lea eax, [ebp - 0x404]
push eax
mov edx, edi
call fcn.0040bac0
jmp 0x414de9
mov eax, dword [edi + esi - 8]
lea ecx, [edi + 4]
push dword [edi + esi - 4]
mov edx, eax
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x61c], ecx
call fcn.0040d360
add esp, 4
xor ecx, ecx
lea ecx, [ecx]
movzx eax, word [ecx + str..key]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x406], ax
test ax, ax
jne 0x414d00
lea edi, [ebp - 0x404]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x414d20
mov eax, dword [0x435518]
lea edx, [ebp - 0x60c]
mov dword [edi], eax
mov esi, edx
jmp 0x414d40
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x414d40
lea edi, [ebp - 0x404]
sub edx, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x414d56
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x404]
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x414d80
lea ecx, [ebp - 0x404]
mov dword [edi], eax
add ecx, 0xfffffffe
jmp 0x414da0
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x414da0
mov eax, dword [str..key]
push dword [ebp - 0x620]
mov edx, dword [ebp - 0x61c]
mov dword [ecx], eax
mov eax, dword [0x435448]
mov dword [ecx + 4], eax
mov ax, word [0x43544c]
mov word [ecx + 8], ax
lea eax, [ebp - 0x404]
mov ecx, dword [ebp - 0x610]
push eax
call fcn.0040bac0
mov edi, dword [ebp - 0x618]
mov dword [ebp - 0x610], eax
cmp eax, 0xffffffff
je 0x414e34
push edi
call fcn.00415bcd
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x624]
lea eax, [ebp - 0x610]
push eax
add ecx, 0xa30
call fcn.00414fa0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b03
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00415bcd
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415b03
mov esp, ebp
pop ebp
ret 4