Function at 0x4061c0
Capabilities:
Get file size
Get session user name
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x728
mov eax, dword [0x42b004]
xor eax, esp
mov dword [esp + 0x724], eax
cmp word [0x431be0], 0
mov eax, ecx
push esi
push edi
mov dword [esp + 0x18], eax
je 0x4065b8
push 0x3fc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x318]
mov esi, 0x431be0
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x406241
movzx eax, word [esi + ecx]
test ax, ax
je 0x406241
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x406223
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x104
lea eax, [esp + 0x318]
nop word [eax + eax]
cmp word [eax], 0
je 0x40626e
add eax, 2
sub ecx, 1
jne 0x406260
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x4062c6
lea ecx, [esp + 0x318]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x4062b9
mov edi, str.Notif.bin
mov eax, 0x7ffffffe
sub edi, ecx
nop dword [eax]
test eax, eax
je 0x4062b9
movzx esi, word [edi + ecx]
test si, si
je 0x4062b9
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x4062a0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push 0
push 0x80
push 3
push 0
push 7
push 0x80000000
lea eax, [esp + 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x4065b8
test esi, esi
je 0x4065b8
push 0x202
lea eax, [esp + 0x524]
push 0
push eax
call fcn.0040da60
add esp, 0xc
mov dword [esp + 0x60], 0x100
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x524]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x56e], ax
lea eax, [esp + 0x58]
push eax
push esi
movlpd qword [esp + 0x60], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4065b1
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
push 0
push 0x200
push edi
push esi
call fcn.004214e0
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp ecx, 0x200
jbe 0x406384
mov dword [esp + 0x14], 0x200
jmp 0x40638d
cmp ecx, 1
jb 0x4065ad
mov eax, 1
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
nop
shl eax, 9
sub esi, eax
lea eax, [esp + 0x68]
push 0
push eax
sbb edi, 0
push edi
push esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x406591
push 0
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
push 0x200
lea eax, [esp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406591
cmp dword [esp + 0x70], 0x314e5345
jne 0x406591
lea eax, [esp + 0x200]
lea ecx, [esp + 0x520]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40642e
test dx, dx
je 0x40642a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40642e
add ecx, 4
add eax, 4
test dx, dx
jne 0x406408
xor eax, eax
jmp 0x406433
sbb eax, eax
or eax, 1
test eax, eax
jne 0x406591
push 0x80
push eax
lea eax, [esp + 0x2a0]
push eax
call fcn.0040da60
add esp, 0xc
lea edx, [esp + 0x298]
lea ecx, [esp + 0x74]
call fcn.00402810
mov edi, dword [esp + 8]
lea eax, [esp + 0x270]
inc edi
mov dword [esp + 0x280], 0
push edi
push 0x427e00
xorps xmm0, xmm0
push 0xa
push eax
movaps xmmword [esp + 0x280], xmm0
call fcn.00401020
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0x3fc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x270]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x104d
push esi
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x298]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x104c
push esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], 1
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x80]
mov dword [esp + 0x24], 2
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x104c
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x100]
mov dword [esp + 0x24], 3
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x104c
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0xc]
mov dword [esp + 8], edi
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
ja 0x4065b1
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
jmp 0x4063a0
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x72c]
pop edi
pop esi
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret