Function at 0x435cb0
Capabilities:
Check os version
Copy file
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x53a4c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x435f65
cmp dword [esp + 0x28], 5
jne 0x435f65
cmp dword [esp + 0x2c], 1
jne 0x435f65
cmp dword [esp + 0x34], 2
jne 0x435f65
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00436140
mov edx, dword [esp + 0x10]
push str.5.1.2600.2892
push edx
mov dword [esp + 0xcc], 0
call fcn.004ee0f0
add esp, 8
test eax, eax
je 0x435d61
mov eax, dword [esp + 0x10]
push str.5.1.2600.2180
push eax
call fcn.004ee0f0
add esp, 8
test eax, eax
jne 0x435f51
mov ecx, esi
call fcn.00436080
test eax, eax
je 0x435f51
mov ecx, dword [esp + 0xcc]
cmp ecx, eax
je 0x435f51
jb 0x435f51
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00435f90
lea edx, [esp + 0x14]
push str..flg
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xd0], 1
call fcn.0050d692
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x20]
call fcn.0050d3fd
mov eax, dword [esp + 0xcc]
test eax, eax
jbe 0x435dd8
cmp eax, 0x7ffffffe
jbe 0x435de3
mov dword [esp + 0xcc], 0x400
mov edx, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x435f40
cmp edi, 0xffffffff
je 0x435f40
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov esi, ebx
sub esi, 0x57a80
neg esi
sbb esi, esi
and esi, 0x280
add esi, 0x4f322
test ebx, ebx
je 0x435f39
lea eax, [esi + 4]
cmp ebx, eax
jbe 0x435f39
push 0
push 0
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x435f40
cmp ebp, 0xffffffff
je 0x435f40
push 0
push 0
push 0
push 6
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x435e8f
push ebp
jmp 0x435f3a
lea ecx, [esp + 0xcc]
push 4
lea edx, [edi + esi]
push ecx
push edx
call fcn.004ef8a0
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
xor esi, esi
push eax
push ecx
push ebx
push edi
mov dword [esp + 0xd4], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.imagehlp.dll_CheckSumMappedFile]
push edi
call dword [sym.imp.imagehlp.dll_ImageNtHeader]
cmp eax, esi
je 0x435eff
mov edx, dword [eax + 0x58]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jne 0x435eff
mov edx, dword [eax]
mov ecx, 0x58a9bc
cmp edx, dword [ecx]
jne 0x435eff
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc4], 1
mov dword [eax + 0x58], ecx
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 0
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0050d3fd
mov eax, 1
jmp 0x435f67
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 0
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0050d3fd
xor eax, eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 4